Skip to content

Commit e694609

Browse files
fri3d-2024: use A for ENTER key and joystick for navigation
Instead of Y for previous and A for next, the joystick is much more intuitive.
1 parent ff8045b commit e694609

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal_filesystem/boot_fri3d-2024.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ def keypad_read_cb(indev, data):
177177
if btn_x.value() == 0:
178178
current_key = lv.KEY.ESC
179179
elif btn_y.value() == 0:
180-
current_key = lv.KEY.PREV
180+
current_key = ord("Y")
181181
elif btn_a.value() == 0:
182-
current_key = lv.KEY.NEXT
183-
elif btn_b.value() == 0:
184182
current_key = lv.KEY.ENTER
183+
elif btn_b.value() == 0:
184+
current_key = ord("B")
185185
elif btn_menu.value() == 0:
186186
current_key = lv.KEY.HOME
187187
elif btn_start.value() == 0:

0 commit comments

Comments
 (0)