VirtualBox

Ignore:
Timestamp:
Sep 11, 2007 11:29:11 AM (17 years ago)
Author:
vboxsync
Message:

Added comments explaining about the Linux/X11 keyboard handling in SDL/BFE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.cpp

    r4554 r4700  
    585585    keycode = ev->keysym.scancode;
    586586
    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...
    589     // workaround for SDL keyboard translation issues on X11
     587#if defined(RT_OS_LINUX)
     588    // workaround for SDL keyboard translation issues on Linux
     589    // keycodes > 0x100 are sent as 0xe0 keycode
     590    // Note that these are the keycodes used by XFree86/X.org
     591    // servers on a Linux host, and will almost certainly not
     592    // work on other hosts or on other servers on Linux hosts.
     593    // For a more general approach, see the Wine code in the GUI.
    590594    static const uint8_t x_keycode_to_pc_keycode[61] =
    591595    {
Note: See TracChangeset for help on using the changeset viewer.

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