Changeset 18788 in vbox for trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
- Timestamp:
- Apr 6, 2009 4:34:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r18751 r18788 208 208 #ifdef VBOXSDL_WITH_X11 209 209 static Cursor gpDefaultOrigX11Cursor; 210 #ifdef RT_OS_LINUX 210 211 static BOOL guseEvdevKeymap = FALSE; 212 #endif 211 213 #endif 212 214 static SDL_Cursor *gpCustomCursor = NULL; … … 677 679 " --hostkey <key> {<key2>} <mod> Set the host key to the values obtained using --detecthostkey\n" 678 680 " --termacpi Send an ACPI power button event when closing the window\n" 679 #if defined(RT_OS_LINUX) || defined(RT_OS_DARWIN) /** @todo UNIXISH_TAP stuff out of main and up to Config.kmk! */681 #if defined(RT_OS_LINUX) 680 682 " --evdevkeymap Use evdev keycode map\n" 681 683 #endif … … 1450 1452 } 1451 1453 } 1452 #if def RT_OS_LINUX1454 #if defined(RT_OS_LINUX) && defined(VBOXSDL_WITH_X11) 1453 1455 else if ( !strcmp(argv[curArg], "--evdevkeymap") 1454 1456 || !strcmp(argv[curArg], "-evdevkeymap")) … … 3271 3273 keycode -= 8; 3272 3274 } 3275 #ifdef RT_OS_LINUX 3273 3276 else if (keycode < 158 && guseEvdevKeymap) 3274 3277 { … … 3276 3279 keycode = evdev_keycode_to_pc_keycode[keycode - 97]; 3277 3280 } 3281 #endif 3278 3282 else if (keycode < 158) 3279 3283 {
Note:
See TracChangeset
for help on using the changeset viewer.