Skip to content

Commit eb648da

Browse files
committed
PyBadge: Add select and start button support.
1 parent 75ec763 commit eb648da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_cursorcontrol/cursorcontrol_cursormanager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def _init_hardware(self) -> None:
9292
"btn_down": PYBADGE_BUTTON_DOWN,
9393
"btn_a": PYBADGE_BUTTON_A,
9494
"btn_b": PYBADGE_BUTTON_B,
95+
"btn_select": PYBADGE_BUTTON_SELECT,
96+
"btn_start": PYBADGE_BUTTON_START,
9597
}
9698
self._pad_states = 0
9799
elif hasattr(board, "JOYSTICK_X"):

0 commit comments

Comments
 (0)