You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
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.
This commit is contained in:
@@ -177,11 +177,11 @@ def keypad_read_cb(indev, data):
|
||||
if btn_x.value() == 0:
|
||||
current_key = lv.KEY.ESC
|
||||
elif btn_y.value() == 0:
|
||||
current_key = lv.KEY.PREV
|
||||
current_key = ord("Y")
|
||||
elif btn_a.value() == 0:
|
||||
current_key = lv.KEY.NEXT
|
||||
elif btn_b.value() == 0:
|
||||
current_key = lv.KEY.ENTER
|
||||
elif btn_b.value() == 0:
|
||||
current_key = ord("B")
|
||||
elif btn_menu.value() == 0:
|
||||
current_key = lv.KEY.HOME
|
||||
elif btn_start.value() == 0:
|
||||
|
||||
Reference in New Issue
Block a user