Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Key = {};
- Key["backspace"] = 8;
- Key["tab"] = 9;
- Key["enter"] = 13;
- Key["shift"] = 16;
- Key["ctrl"] = 17;
- Key["alt"] = 18;
- Key["pause"] = 19;
- Key["caps lock"] = 20
- Key["esc"] = 27;
- Key["spacebar"] = 32;
- Key["page up"] = 33;
- Key["page down"] = 34;
- Key["end"] = 35;
- Key["home"] = 36;
- Key["left arrow"] = 37;
- Key["up arrow"] = 38;
- Key["right arrow"] = 39;
- Key["down arrow"] = 40;
- Key["insert"] = 45;
- Key["delete"] = 46;
- Key["0"] = 48;
- Key["1"] = 49;
- Key["2"] = 50;
- Key["3"] = 51;
- Key["4"] = 52;
- Key["5"] = 53;
- Key["6"] = 54;
- Key["7"] = 55;
- Key["8"] = 56;
- Key["9"] = 57;
- Key["a"] = 65;
- Key["b"] = 66;
- Key["c"] = 67;
- Key["d"] = 68;
- Key["e"] = 69;
- Key["f"] = 70;
- Key["g"] = 71;
- Key["h"] = 72;
- Key["i"] = 73;
- Key["j"] = 74;
- Key["k"] = 75;
- Key["l"] = 76;
- Key["m"] = 77;
- Key["n"] = 78;
- Key["o"] = 79;
- Key["p"] = 80;
- Key["q"] = 81;
- Key["r"] = 82;
- Key["s"] = 83;
- Key["t"] = 84;
- Key["u"] = 85;
- Key["v"] = 86;
- Key["w"] = 87;
- Key["x"] = 88;
- Key["y"] = 89;
- Key["z"] = 90;
- Key["lwindows"] = 91; -- Left Windows Key
- Key["rwindows"] = 92; -- Right Windows Key
- Key["appkey"] = 93; -- Application key - located between the right Windows and Ctrl keys on most keyboards
- -- Numpad numbers start
- Key["1n"] = 97;
- Key["2n"] = 98;
- Key["3n"] = 99;
- Key["4n"] = 100;
- Key["5n"] = 101;
- Key["6n"] = 102;
- Key["7n"] = 103;
- Key["8n"] = 104;
- Key["9n"] = 105;
- Key["*n"] = 106;
- Key["+n"] = 107;
- Key["-n"] = 109;
- Key[".n"] = 110;
- Key["/n"] = 111;
- -- Numpad numbers end
- Key["f1"] = 112;
- Key["f2"] = 113;
- Key["f3"] = 114;
- Key["f4"] = 115;
- Key["f5"] = 116;
- Key["f6"] = 117;
- Key["f7"] = 118;
- Key["f8"] = 119;
- Key["f9"] = 120;
- Key["f10"] = 121;
- Key["f11"] = 122;
- Key["f12"] = 123;
- Key["numlock"] = 144;
- Key["scrolllock"] = 145;
- Key[";"] = 186;
- Key["="] = 187;
- Key[","] = 188;
- Key["-"] = 189;
- Key["."] = 190;
- Key["/"] = 191;
- Key["`"] = 192;
- Key["["] = 219;
- Key["\\"] = 220;
- Key["]" ] = 221;
- Key["'"] = 221;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement