Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Keycodes version 1.0
- function main()
- trick.print("This program is meant to be run on startup only.")
- trick.res()
- end
- do
- keycodes = {
- 2 = "1",
- 3 = "2",
- 4 = "3",
- 5 = "4",
- 6 = "5",
- 7 = "6",
- 8 = "7",
- 9 = "8",
- 10 = "9",
- 11 = "0",
- 16 = "Q",
- 17 = "W",
- 18 = "E",
- 19 = "R",
- 20 = "T",
- 21 = "Y",
- 22 = "U",
- 23 = "I",
- 24 = "O",
- 25 = "P",
- 26 = "[",
- 27 = "]",
- 30 = "A",
- 31 = "S",
- 32 = "D",
- 33 = "F",
- 34 = "G",
- 35 = "H",
- 36 = "J",
- 37 = "K",
- 38 = "L",
- 43 = "\\",
- 44 = "Z",
- 45 = "X",
- 46 = "C",
- 47 = "V",
- 48 = "B",
- 49 = "N",
- 50 = "M",
- 57 = " "
- }
- end
- function trick.convert(key)
- return keycodes[key]
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement