We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3725c9c commit 2cb30d9Copy full SHA for 2cb30d9
examples/Controlling_Manually_Braccio/Controlling_Manually_Braccio.ino
@@ -248,6 +248,15 @@ void loop()
248
}
249
prev_joystick_pressed_enter = curr_joystick_pressed_enter;
250
251
+ /* SELECT */
252
+
253
+ static bool prev_joystick_pressed_select = false;
254
+ bool const curr_joystick_pressed_select = Braccio.isJoystickPressed_SELECT();
255
+ if (!prev_joystick_pressed_select && curr_joystick_pressed_select) {
256
+ app.update(Button::Enter);
257
+ }
258
+ prev_joystick_pressed_select = curr_joystick_pressed_select;
259
260
/* DOWN */
261
262
static bool prev_joystick_pressed_down = false;
0 commit comments