Added the number pad keys, and some missing main keyboard ones
This commit is contained in:
parent
4e8abf93fb
commit
8e7ad6f4a3
2 changed files with 100 additions and 40 deletions
106
raylib/raylib.go
106
raylib/raylib.go
|
@ -219,50 +219,80 @@ const (
|
|||
KeyLeftShift = 340
|
||||
KeyLeftControl = 341
|
||||
KeyLeftAlt = 342
|
||||
KeyLeftSuper = 343
|
||||
KeyRightShift = 344
|
||||
KeyRightControl = 345
|
||||
KeyRightAlt = 346
|
||||
KeyGrave = 96
|
||||
KeySlash = 47
|
||||
KeyRightSuper = 347
|
||||
KeyKBMenu = 348
|
||||
KeyLeftBracket = 91
|
||||
KeyBackSlash = 92
|
||||
KeyRightBracket = 93
|
||||
KeyGrave = 96
|
||||
|
||||
// Keyboard Number Pad Keys
|
||||
KeyKPZero = 320
|
||||
KeyKPOne = 321
|
||||
KeyKPTwo = 322
|
||||
KeyKPThree = 323
|
||||
KeyKPFour = 324
|
||||
KeyKPFive = 325
|
||||
KeyKPSix = 326
|
||||
KeyKPSeven = 327
|
||||
KeyKPEight = 328
|
||||
KeyKPNine = 329
|
||||
KeyKPDecimal = 330
|
||||
KeyKPDivide = 331
|
||||
KeyKPMultiply = 332
|
||||
KeyKPSubtract = 333
|
||||
KeyKPAdd = 334
|
||||
KeyKPEnter = 335
|
||||
KeyKPEqual = 336
|
||||
|
||||
// Keyboard Alpha Numeric Keys
|
||||
KeyZero = 48
|
||||
KeyOne = 49
|
||||
KeyTwo = 50
|
||||
KeyThree = 51
|
||||
KeyFour = 52
|
||||
KeyFive = 53
|
||||
KeySix = 54
|
||||
KeySeven = 55
|
||||
KeyEight = 56
|
||||
KeyNine = 57
|
||||
KeyA = 65
|
||||
KeyB = 66
|
||||
KeyC = 67
|
||||
KeyD = 68
|
||||
KeyE = 69
|
||||
KeyF = 70
|
||||
KeyG = 71
|
||||
KeyH = 72
|
||||
KeyI = 73
|
||||
KeyJ = 74
|
||||
KeyK = 75
|
||||
KeyL = 76
|
||||
KeyM = 77
|
||||
KeyN = 78
|
||||
KeyO = 79
|
||||
KeyP = 80
|
||||
KeyQ = 81
|
||||
KeyR = 82
|
||||
KeyS = 83
|
||||
KeyT = 84
|
||||
KeyU = 85
|
||||
KeyV = 86
|
||||
KeyW = 87
|
||||
KeyX = 88
|
||||
KeyY = 89
|
||||
KeyZ = 90
|
||||
KeyApostrophe = 39
|
||||
KeyComma = 44
|
||||
KeyMinus = 45
|
||||
KeyPeriod = 46
|
||||
KeySlash = 47
|
||||
KeyZero = 48
|
||||
KeyOne = 49
|
||||
KeyTwo = 50
|
||||
KeyThree = 51
|
||||
KeyFour = 52
|
||||
KeyFive = 53
|
||||
KeySix = 54
|
||||
KeySeven = 55
|
||||
KeyEight = 56
|
||||
KeyNine = 57
|
||||
KeySemicolon = 59
|
||||
KeyEqual = 61
|
||||
KeyA = 65
|
||||
KeyB = 66
|
||||
KeyC = 67
|
||||
KeyD = 68
|
||||
KeyE = 69
|
||||
KeyF = 70
|
||||
KeyG = 71
|
||||
KeyH = 72
|
||||
KeyI = 73
|
||||
KeyJ = 74
|
||||
KeyK = 75
|
||||
KeyL = 76
|
||||
KeyM = 77
|
||||
KeyN = 78
|
||||
KeyO = 79
|
||||
KeyP = 80
|
||||
KeyQ = 81
|
||||
KeyR = 82
|
||||
KeyS = 83
|
||||
KeyT = 84
|
||||
KeyU = 85
|
||||
KeyV = 86
|
||||
KeyW = 87
|
||||
KeyX = 88
|
||||
KeyY = 89
|
||||
KeyZ = 90
|
||||
|
||||
// Android keys
|
||||
KeyBack = 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue