VirtualBox

Changeset 36335 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 21, 2011 9:58:58 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70667
Message:

FE/Common/VBoxKeyboard: some release logging

Location:
trunk/src/VBox/Frontends
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/Common/VBoxKeyboard/keyboard.c

    r35842 r36335  
    610610 * @param   remapScancode    array of tuples that remap the keycode (first
    611611 *                           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.
    612616 */
    613617unsigned X11DRV_InitKeyboard(Display *display, unsigned *byLayoutOK,
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/XKeyboard-new.cpp

    r33540 r36335  
    220220        LogRel(("\n"));
    221221    }
     222    LogRel(("Using %s for keycode to scan code conversion\n",
     223              gfByXkbOK ? "XKB"
     224            : gfByTypeOK ? "known keycode mapping"
     225            : "host keyboard layout detection"));
    222226}
    223227
     
    228232{
    229233    // 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;
    231238}
    232239
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