Changeset 40133 in vbox for trunk/src/VBox/Devices/Input
- Timestamp:
- Feb 14, 2012 9:54:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/PS2K.cpp
r40096 r40133 345 345 /* 51 */ {0x50, 0x72, 0x60, KF_GK, T_T }, /* Key 84: Down Arrow (Note 1) */ 346 346 /* 52 */ {0x48, 0x75, 0x63, KF_GK, T_T }, /* Key 83: Up Arrow (Note 1) */ 347 /* 53 */ {0x45, 0x77, 0x76, 0, T_M }, /* Key 90: Num Lock */347 /* 53 */ {0x45, 0x77, 0x76, KF_NL, T_M }, /* Key 90: Num Lock */ 348 348 /* 54 */ {0x35, 0x4A, 0x77, KF_NS, T_M }, /* Key 95: Keypad / (Note 1) */ 349 349 /* 55 */ {0x37, 0x7C, 0x7E, 0, T_M }, /* Key 100: Keypad * */ … … 917 917 { 918 918 if (pThis->u8Modifiers & MOD_LSHIFT) 919 strc py((char *)abCodes, "\xE0\xF0\x12");919 strcat((char *)abCodes, "\xE0\xF0\x12"); 920 920 if (pThis->u8Modifiers & MOD_RSHIFT) 921 strc py((char *)abCodes, "\xE0\xF0\x59");921 strcat((char *)abCodes, "\xE0\xF0\x59"); 922 922 } 923 923 } … … 969 969 else 970 970 { 971 if (pThis->u8Modifiers & MOD_RSHIFT) 972 strcat((char *)abCodes, "\xE0\x59"); 971 973 if (pThis->u8Modifiers & MOD_LSHIFT) 972 strcpy((char *)abCodes, "\xE0\x12"); 973 if (pThis->u8Modifiers & MOD_RSHIFT) 974 strcpy((char *)abCodes, "\xE0\x59"); 974 strcat((char *)abCodes, "\xE0\x12"); 975 975 } 976 976 }
Note:
See TracChangeset
for help on using the changeset viewer.