Skip to content

Commit e43838b

Browse files
committed
Allow triggering dialog buttons by pressing the space key
1 parent 38c20d7 commit e43838b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gui/dialog.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ Dialog::process_input(const Controller& controller)
172172

173173
if (controller.pressed(Control::ACTION) ||
174174
controller.pressed(Control::JUMP) ||
175-
controller.pressed(Control::MENU_SELECT))
175+
controller.pressed(Control::MENU_SELECT) ||
176+
controller.pressed(Control::MENU_SELECT_SPACE))
176177
{
177178
on_button_click(m_selected_button);
178179
}

0 commit comments

Comments
 (0)