diff --git a/src/atKeynames.js b/src/atKeynames.js index 110e9e95f350f7e3e6a51164cc1d5a582f287a2b..767e78b3b86d2c62da54b071f55013d26df9d6c5 100644 --- a/src/atKeynames.js +++ b/src/atKeynames.js @@ -174,7 +174,7 @@ var KeyNames = { KEY_KP_3 :/* 3 PgDown 0x51 */ 81, KEY_KP_0 :/* 0 Insert 0x52 */ 82, KEY_KP_Decimal :/* . (Decimal) Delete 0x53 */ 83, - KEY_SysReqest :/* SysReqest 0x54 */ 84, + KEY_SysRequest :/* SysRequest 0x54 */ 84, /* NOTUSED 0x55 */ KEY_Less :/* < (Less) >(Greater) 0x56 */ 86, KEY_F11 :/* F11 0x57 */ 87, diff --git a/src/utils.js b/src/utils.js index 1874e97f9e2ebaca9110d0bc882bfda5513d7757..f12edf9d71aa81a87b685db01254867119cf33ab 100644 --- a/src/utils.js +++ b/src/utils.js @@ -157,6 +157,7 @@ common_scanmap[16] = KeyNames.KEY_ShiftL; common_scanmap[17] = KeyNames.KEY_LCtrl; common_scanmap[18] = KeyNames.KEY_Alt; common_scanmap[20] = KeyNames.KEY_CapsLock; +common_scanmap[44] = KeyNames.KEY_SysReqest; common_scanmap[144] = KeyNames.KEY_NumLock; common_scanmap[112] = KeyNames.KEY_F1; common_scanmap[113] = KeyNames.KEY_F2; @@ -186,7 +187,6 @@ common_scanmap[40] = 0xE050; // Down common_scanmap[34] = 0xE051; // PgDown common_scanmap[45] = 0xE052; // Insert common_scanmap[46] = 0xE053; // Delete -common_scanmap[44] = 0x2A37; // Print /* These are not common between ALL browsers but are between Firefox and DOM3 */ common_scanmap['1'.charCodeAt(0)] = KeyNames.KEY_1;