Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Keys API
- term.clear()
- term.setCursorPos(1,1)
- print("---Dee's Keys API Loaded---")
- --F Row
- esc = 1
- f1 = 59
- f2 = 60
- f3 = 61
- f4 = 62
- f5 = 63
- f6 = 64
- f7 = 65
- f8 = 66
- f9 = 67
- f10 = 68
- f11 = 88
- f12 = 89
- -------------------------------
- ------Main Keyboard Group------
- -------------------------------
- --NumRow
- one = 2
- two = 3
- three = 4
- four = 5
- five = 6
- six = 7
- seven = 8
- eight = 9
- nine = 10
- zero = 11
- I = 2 ----- 1
- II = 3 ---- 2
- III = 4 --- 3
- IV = 5 ---- 4
- V = 6 ----- 5
- VI = 7 ---- 6
- VII = 8 --- 7
- VIII = 9 -- 8
- IX = 10 --- 9
- X = 11 ---- 0
- --Assist Keys in the NumRow
- minus = 12
- equals = 13
- backspace = 14
- --Letters--
- q = 16
- w = 17
- e = 18
- r = 19
- t = 20
- y = 21
- u = 22
- i = 23
- o = 24
- p = 25
- a = 30
- s = 31
- d = 32
- f = 33
- g = 34
- h = 35
- j = 36
- k = 37
- l = 38
- z = 44
- x = 45
- c = 46
- v = 47
- b = 48
- n = 49
- m = 50
- --Assist Keys in the Main Keyboard Group
- enter = 28
- space = 57
- lShift = 42
- rShift = 54
- lCtrl = 29
- rCtrl = 157
- lAlt = 56
- rAlt = 184
- lSuper = 219
- RSuper = 220
- lBrckt = 26
- rBrckt = 27
- tab = 15
- comma = 51
- period = 52
- grave = 41
- backslash = 43
- semiColon = 39
- apostrophe = 40
- slash = 53
- menu = 221
- capsLock = 58
- -------------------------------
- --------Functions Group--------
- -------------------------------
- --Main Keys in the Functions Group
- prntScrn = 183
- scollLk = 70
- pause = 197
- insert = 210
- home = 199
- pageUp = 201
- delete = 211
- pageDown = 209
- End = 207
- --Arrow Keys
- up = 200
- down = 208
- left = 203
- right = 205
- -------------------------------
- ------------Num Pad------------
- -------------------------------
- numLock = 69
- --Numbers
- numPad0 = 82
- numPad1 = 79
- numPad2 = 80
- numPad3 = 81
- numPad4 = 75
- numPad5 = 76
- numPad6 = 77
- numPad7 = 71
- numPad8 = 72
- numPad9 = 73
- --Math Operators
- numPadAdd = 78
- numPadSub = 74
- numMult = 55
- numPadDiv = 181
- numPadDeci = 83
Advertisement
Add Comment
Please, Sign In to add comment