VirtualBox

儲存庫 vbox 的更動 4554


忽略:
時間撮記:
2007-9-5 下午11:58:24 (17 年 以前)
作者:
vboxsync
訊息:

The X11 key translation doesn't work on solaris, using the fallback method for now.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.cpp

    r4071 r4554  
    410410}
    411411
    412 #if defined(RT_OS_DARWIN)
     412#if defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS)
    413413/**
    414414 * Fallback keycode conversion using SDL symbols.
     
    585585    keycode = ev->keysym.scancode;
    586586
    587 #ifdef VBOXBFE_WITH_X11 /// @todo verify that these are X11 issues and not unique linux issues.
     587#if defined(VBOXBFE_WITH_X11) && !defined(RT_OS_SOLARIS) /// @todo verify that these are X11 issues and not unique linux issues.
     588                                                         // -> doesn't seem to work on solaris...
    588589    // workaround for SDL keyboard translation issues on X11
    589590    static const uint8_t x_keycode_to_pc_keycode[61] =
     
    844845#endif
    845846
     847#elif defined(RT_OS_SOLARIS)
     848    /*
     849     * For now, just use the fallback code.
     850     */
     851    keycode = Keyevent2KeycodeFallback(ev);
    846852#endif
    847853    return keycode;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette