VirtualBox

忽略:
時間撮記:
2013-7-22 下午03:35:32 (11 年 以前)
作者:
vboxsync
訊息:

PS2K: Do not lose SysReq key.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Input/PS2K.cpp

    r44973 r47313  
    420420    /* 98 */ {UNAS, UNAS, UNAS,     0, T_U }, /* Key Unk: Keyboard Lang 9 */
    421421    /* 99 */ {UNAS, UNAS, UNAS,     0, T_U }, /* Key Unk: Keyboard Alternate Erase */
    422     /* 9A */ {UNAS, UNAS, UNAS,     0, T_U }, /* Key Unk: Keyboard SysReq/Attention */
     422    /* 9A */ {UNAS, UNAS, UNAS,     0, T_U }, /* Key Unk: Keyboard SysReq/Attention (Note 3) */
    423423    /* 9B */ {UNAS, UNAS, UNAS,     0, T_U }, /* Key Unk: Keyboard Cancel */
    424424    /* 9C */ {UNAS, UNAS, UNAS,     0, T_U }, /* Key Unk: Keyboard Clear */
     
    433433};
    434434
     435/*
     436 * Note 1: The behavior of these keys depends on the state of modifier keys
     437 * at the time the key was pressed.
     438 *
     439 * Note 2: The key label depends on the national version of the keyboard.
     440 *
     441 * Note 3: Certain keys which have their own PS/2 scancodes do not exist on
     442 * USB keyboards; the SysReq key is an example. The SysReq key scancode needs
     443 * to be translated to the Print Screen HID usage code. The HID usage to PS/2
     444 * scancode conversion then generates the correct sequence depending on the
     445 * keyboard state.
     446 */
     447
    435448/* USB to PS/2 conversion table for modifier keys. */
    436449static const   key_def   aPS2ModKeys[] = {
     
    472485    0x3f, 0x40, 0x41, 0x42, 0x43, 0x53, 0x47, 0x5f, /* 40-47 */
    473486    0x60, 0x61, 0x56, 0x5c, 0x5d, 0x5e, 0x57, 0x59, /* 48-4F */
    474     0x5a, 0x5b, 0x62, 0x63, 0x00, 0x00, 0x64, 0x44, /* 50-57 */
     487    0x5a, 0x5b, 0x62, 0x63, 0x46, 0x00, 0x64, 0x44, /* 50-57 */
    475488    0x45, 0x67, 0x00, 0x00, 0x8c, 0x00, 0x00, 0x00, /* 58-5F */
    476489    0x00, 0x00, 0x00, 0x00, 0x68, 0x69, 0x6a, 0x6b, /* 60-67 */
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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