Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main()
- trick.print("This program is meant to be run on startup only.")
- trick.res()
- end
- do
- _G.keycodes = {
- [2] = "1",
- [3] = "2",
- [4] = "3",
- [5] = "4",
- [6] = "5",
- [7] = "6",
- [8] = "7",
- [9] = "8",
- [10] = "9",
- [11] = "0",
- [12] = "-",
- [13] = "=",
- [15] = " ",
- [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",
- [39] = ";",
- [40] = "'",
- [41] = "`",
- [43] = "\\",
- [44] = "Z",
- [45] = "X",
- [46] = "C",
- [47] = "V",
- [48] = "B",
- [49] = "N",
- [50] = "M",
- [51] = ",",
- [52] = ".",
- [53] = "/",
- [54] = "",
- [55] = "*",
- [57] = " "
- }
- end
- function trick.convert(key)
- return keycodes[key]
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement