diff options
Diffstat (limited to 'tests/test.lua')
| -rw-r--r-- | tests/test.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test.lua b/tests/test.lua index 644b54b..f85b644 100644 --- a/tests/test.lua +++ b/tests/test.lua | |||
| @@ -63,6 +63,14 @@ function test_buttons() | |||
| 63 | draw_text("Pad Right", 10, 100, 20, color.VIOLET) | 63 | draw_text("Pad Right", 10, 100, 20, color.VIOLET) |
| 64 | end | 64 | end |
| 65 | 65 | ||
| 66 | if button_down(button.SELECT) then | ||
| 67 | draw_text("Select", 10, 130, 20, color.VIOLET) | ||
| 68 | end | ||
| 69 | |||
| 70 | if button_down(button.START) then | ||
| 71 | draw_text("Start", 10, 160, 20, color.VIOLET) | ||
| 72 | end | ||
| 73 | |||
| 66 | if button_down(button.A) then | 74 | if button_down(button.A) then |
| 67 | draw_text("A", 150, 10, 20, color.VIOLET) | 75 | draw_text("A", 150, 10, 20, color.VIOLET) |
| 68 | end | 76 | end |
