* UITask: new UI_HAS_JOYSTICK
* MomentaryButton: new constructor 'multiclick' param * WIoTrackerL1: now just use joystick, joystick press for KEY_ENTER, no multi-click for snappier UI
This commit is contained in:
@@ -21,9 +21,10 @@ EnvironmentSensorManager sensors = EnvironmentSensorManager();
|
||||
|
||||
#ifdef DISPLAY_CLASS
|
||||
DISPLAY_CLASS display;
|
||||
MomentaryButton user_btn(PIN_USER_BTN, 1000, true);
|
||||
MomentaryButton joystick_left(JOYSTICK_LEFT, 1000, true);
|
||||
MomentaryButton joystick_right(JOYSTICK_RIGHT, 1000, true);
|
||||
MomentaryButton user_btn(PIN_USER_BTN, 1000, true, false, false);
|
||||
MomentaryButton joystick_left(JOYSTICK_LEFT, 1000, true, false, false);
|
||||
MomentaryButton joystick_right(JOYSTICK_RIGHT, 1000, true, false, false);
|
||||
MomentaryButton back_btn(PIN_BACK_BTN, 1000, true, false, false);
|
||||
#endif
|
||||
|
||||
bool radio_init() {
|
||||
|
||||
Reference in New Issue
Block a user