Skip to content

Commit a00d903

Browse files
committed
feat(input): update so that start/select also act as enter/escape for the gui
1 parent 5b5952b commit a00d903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/box-emu-hal/src/input.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ void keypad_read(bool *up, bool *down, bool *left, bool *right, bool *enter, boo
4848
*left = state.left;
4949
*right = state.right;
5050

51-
*enter = state.a;
52-
*escape = state.b;
51+
*enter = state.a || state.start;
52+
*escape = state.b || state.select;
5353
}
5454

5555
void update_touchpad_input() {

0 commit comments

Comments
 (0)