Changeset 36335 in vbox for trunk/src/VBox
- Timestamp:
- Mar 21, 2011 9:58:58 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70667
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/Common/VBoxKeyboard/keyboard.c
r35842 r36335 610 610 * @param remapScancode array of tuples that remap the keycode (first 611 611 * part) to a scancode (second part) 612 * @note Xkb takes precedence over byType takes precedence over byLayout, 613 * for anyone who wants to log information about which method is in 614 * use. byLayout is the fallback, as it is likely to be partly usable 615 * even if it doesn't initialise correctly. 612 616 */ 613 617 unsigned X11DRV_InitKeyboard(Display *display, unsigned *byLayoutOK, -
trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/XKeyboard-new.cpp
r33540 r36335 220 220 LogRel(("\n")); 221 221 } 222 LogRel(("Using %s for keycode to scan code conversion\n", 223 gfByXkbOK ? "XKB" 224 : gfByTypeOK ? "known keycode mapping" 225 : "host keyboard layout detection")); 222 226 } 223 227 … … 228 232 { 229 233 // call the WINE event handler 230 return X11DRV_KeyEvent(event->xkey.display, event->xkey.keycode); 234 unsigned key = X11DRV_KeyEvent(event->xkey.display, event->xkey.keycode); 235 LogRel3(("VBoxKeyboard: converting keycode %d to scancode %s0x%x\n", 236 event->xkey.keycode, key > 0x100 ? "0xe0 " : "", key & 0xff)); 237 return key; 231 238 } 232 239
Note:
See TracChangeset
for help on using the changeset viewer.