summaryrefslogtreecommitdiff
path: root/stdlib/button.lua
blob: e8b63181a4beb122cd6f31ae94c8b2fd83513807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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

button.SELECT    = 81  -- Key: Q
button.START     = 69  -- Key: E

return button