diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-09 09:08:06 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-09 09:08:06 +0200 |
| commit | f9fc0c1e8288cceec65db185a9a908b63a7c3d49 (patch) | |
| tree | 3140485bca4c23541023244281f292c5d27018ff /tests | |
| parent | 5dd739d7641314ac624a2cd950aaede040467092 (diff) | |
| download | bidi-f9fc0c1e8288cceec65db185a9a908b63a7c3d49.tar.gz | |
Added SELECT and START buttons
Diffstat (limited to 'tests')
| -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() draw_text("Pad Right", 10, 100, 20, color.VIOLET) end + if button_down(button.SELECT) then + draw_text("Select", 10, 130, 20, color.VIOLET) + end + + if button_down(button.START) then + draw_text("Start", 10, 160, 20, color.VIOLET) + end + if button_down(button.A) then draw_text("A", 150, 10, 20, color.VIOLET) end |
