diff options
Diffstat (limited to 'stdlib/button.lua')
| -rw-r--r-- | stdlib/button.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/stdlib/button.lua b/stdlib/button.lua new file mode 100644 index 0000000..7a656e0 --- /dev/null +++ b/stdlib/button.lua @@ -0,0 +1,13 @@ +local button = {} + +button.PAD_UP = 87 -- Key: W +button.PAD_DOWN = 83 -- Key: S +button.PAD_LEFT = 65 -- Key: A +button.PAD_RIGHT = 68 -- Key: D + +button.A = 76 -- Key: L +button.B = 80 -- Key: P +button.X = 75 -- Key: K +button.Y = 79 -- Key: O + +return button |
