Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Note could not find the key for # and probably some other keys, probably needs double checking before use aswell
- #cs
- 01 Left mouse button
- 02 Right mouse button
- 03 Control-break processing
- 04 Middle mouse button (three-button mouse)
- 05 X1 mouse button
- 06 X2 mouse button
- 08 BACKSPACE key
- 09 TAB key
- 0C CLEAR key
- 0D ENTER key
- 10 SHIFT key
- 11 CTRL key
- 12 ALT key
- 13 PAUSE key
- 14 CAPS LOCK key
- 1B ESC key
- 20 SPACEBAR
- 21 PAGE UP key
- 22 PAGE DOWN key
- 23 END key
- 24 HOME key
- 25 LEFT ARROW key
- 26 UP ARROW key
- 27 RIGHT ARROW key
- 28 DOWN ARROW key
- 29 SELECT key
- 2A PRINT key
- 2B EXECUTE key
- 2C PRINT SCREEN key
- 2D INS key
- 2E DEL key
- 30 0 key
- 31 1 key
- 32 2 key
- 33 3 key
- 34 4 key
- 35 5 key
- 36 6 key
- 37 7 key
- 38 8 key
- 39 9 key
- 41 A key
- 42 B key
- 43 C key
- 44 D key
- 45 E key
- 46 F key
- 47 G key
- 48 H key
- 49 I key
- 4A J key
- 4B K key
- 4C L key
- 4D M key
- 4E N key
- 4F O key
- 50 P key
- 51 Q key
- 52 R key
- 53 S key
- 54 T key
- 55 U key
- 56 V key
- 57 W key
- 58 X key
- 59 Y key
- 5A Z key
- 5B Left Windows key
- 5C Right Windows key
- 5D PopUp Menu Key - Applications key on a Microsoft Natural Keyboard
- 60 Numeric keypad 0 key
- 61 Numeric keypad 1 key
- 62 Numeric keypad 2 key
- 63 Numeric keypad 3 key
- 64 Numeric keypad 4 key
- 65 Numeric keypad 5 key
- 66 Numeric keypad 6 key
- 67 Numeric keypad 7 key
- 68 Numeric keypad 8 key
- 69 Numeric keypad 9 key
- 6A Multiply key
- 6B Add key
- 6C Separator key
- 6D Subtract key
- 6E Decimal key
- 6F Divide key
- 70 F1 key
- 71 F2 key
- 72 F3 key
- 73 F4 key
- 74 F5 key
- 75 F6 key
- 76 F7 key
- 77 F8 key
- 78 F9 key
- 79 F10 key
- 7A F11 key
- 7B F12 key
- 7C-7F F13 key - F16 key
- 80H-87H F17 key - F24 key
- 90 NUM LOCK key
- 91 SCROLL LOCK key
- A0 Left SHIFT key
- A1 Right SHIFT key
- A2 Left CONTROL key
- A3 Right CONTROL key
- A4 Left MENU key
- A5 Right MENU key
- BA ;
- BB =
- BC ,
- BD -
- BE .
- BF /
- C0 `
- DB [
- DC \
- DD ]
- #ce
- ;Note cannot find ' and # keys!
- Local $keys[][] = [ _
- ["01", "<LMOUSE>"], _
- ["02", "<RMOUSE>"], _
- ["03","CTRL-BREAK"], _
- ["04", "<MMOUSE>"], _
- ["05", "<X1MOUSE>"], _
- ["06", "<X2MOUSE>"], _
- ["08", "<BACKSPACE>"], _
- ["09", "<TAB>"], _
- ["0C", "<CLEAR>"], _
- ["0D", "<ENTER>"], _
- ["10", "<SHIFT>"], _
- ["11", "<CTRL>"], _
- ["12", "<ALT>"], _
- ["13", "<PAUSE>"], _
- ["14", "<CAPSLOCK>"], _
- ["1B", "<ESC>"], _
- ["20", "<SPACEBAR>"], _
- ["21", "<PAGEUP>"], _
- ["22", "<PAGEDOWN>"], _
- ["23", "<END>"], _
- ["24", "<HOME>"], _
- ["25", "<LEFT>"], _
- ["26", "<UP>"], _
- ["27", "<RIGHT>"], _
- ["28", "<DOWN>"], _
- ["29", "<SELECT>"], _
- ["2A", "<PRINT>"], _
- ["2B", "<EXECUTE>"], _
- ["2C", "<PRINTSCREEN>"], _
- ["2D", "<INS>"], _
- ["2E", "<DEL>"], _
- ["30", "0"], _
- ["31", "1"], _
- ["32", "2"], _
- ["33", "3"], _
- ["34", "4"], _
- ["35", "5"], _
- ["36", "6"], _
- ["37", "7"], _
- ["38", "8"], _
- ["39", "9"], _
- ["41", "a"], _
- ["42", "b"], _
- ["43", "c"], _
- ["44", "d"], _
- ["45", "e"], _
- ["46", "f"], _
- ["47", "g"], _
- ["48", "h"], _
- ["49", "i"], _
- ["4A", "j"], _
- ["4B", "k"], _
- ["4C", "l"], _
- ["4D", "m"], _
- ["4E", "n"], _
- ["4F", "o"], _
- ["50", "p"], _
- ["51", "q"], _
- ["52", "r"], _
- ["53", "s"], _
- ["54", "t"], _
- ["55", "u"], _
- ["56", "v"], _
- ["57", "w"], _
- ["58", "x"], _
- ["59", "y"], _
- ["5A", "z"], _
- ["5B", "<LWIN>"], _
- ["5C", "<RWIN>"], _
- ["5D", "<PMENU>"], _
- ["60", "<NUM0>"], _
- ["61", "<NUM1>"], _
- ["62", "<NUM2>"], _
- ["63", "<NUM3>"], _
- ["64", "<NUM4>"], _
- ["65", "<NUM5>"], _
- ["66", "<NUM6>"], _
- ["67", "<NUM7>"], _
- ["68", "<NUM8>"], _
- ["69", "<NUM9>"], _
- ["6A", "<MULTIPLY>"], _
- ["6B", "<ADD>"], _
- ["6C", "<SEP>"], _
- ["6D", "<SUBTRACK>"], _
- ["6E", "<DECIMAL>"], _
- ["6F", "<DIVIDE>"], _
- ["70", "<F1>"], _
- ["71", "<F2>"], _
- ["72", "<F3>"], _
- ["73", "<F4>"], _
- ["74", "<F5>"], _
- ["75", "<F6>"], _
- ["76", "<F7>"], _
- ["77", "<F8>"], _
- ["78", "<F9>"], _
- ["79", "<F10>"], _
- ["7A", "<F11>"], _
- ["7B", "<F12>"], _
- ["7C", "<F13>"], _
- ["7D", "<F14>"], _
- ["7E", "<F15>"], _
- ["7F", "<F16>"], _
- ["80H", "<F17>"], _
- ["81H", "<F18>"], _
- ["82H", "<F19>"], _
- ["83H", "<F20>"], _
- ["84H", "<F21>"], _
- ["85H", "<F22>"], _
- ["86H", "<F23>"], _
- ["87H", "<F24>"], _
- ["90", "<NUMLOCK>"], _
- ["91", "<SCROLLLOCK>"], _
- ["A0", "<LSHIFT>"], _
- ["A1", "<RSHIFT>"], _
- ["A2", "<LCTRL>"], _
- ["A3", "<RCTRL>"], _
- ["A4", "<LMENU>"], _
- ["A5", "<RMENU>"], _
- ["BA", ";"], _
- ["BB", "="], _
- ["BC", ","], _
- ["BD", "-"], _
- ["BE", "."], _
- ["BF", "/"], _
- ["C0", "`"], _
- ["DB", "["], _
- ["DC", "\"], _
- ["DD", "]"] _
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement