1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | /* * Key Code values */ export enum KeyCodes { alt = 18, arrowDown = 40, arrowLeft = 37, arrowRight = 39, arrowUp = 38, back = 8, backSlash = 220, break = 19, capsLock = 20, closeBracket = 221, colon = 186, colon2 = 59, // Opera and Firefox comma = 188, ctrl = 17, delete = 46, end = 35, enter = 13, equals = 187, equals2 = 61, // Opera equals3 = 107, // Firefox escape = 27, forwardSlash = 191, function1 = 112, function10 = 121, function11 = 122, function12 = 123, function2 = 113, function3 = 114, function4 = 115, function5 = 116, function6 = 117, function7 = 118, function8 = 119, function9 = 120, home = 36, insert = 45, menu = 93, minus = 189, minus2 = 109, // Opera and Firefox numLock = 144, numPad0 = 96, numPad1 = 97, numPad2 = 98, numPad3 = 99, numPad4 = 100, numPad5 = 101, numPad6 = 102, numPad7 = 103, numPad8 = 104, numPad9 = 105, numPadDivide = 111, numPadDot = 110, numPadMinus = 109, numPadMultiply = 106, numPadPlus = 107, openBracket = 219, pageDown = 34, pageUp = 33, period = 190, print = 44, quote = 222, scrollLock = 145, shift = 16, space = 32, tab = 9, tilde = 192, windowsLeft = 91, windowsOpera = 219, // Opera windowsRight = 92, } |