fix: have start and select keybinds match other emulators

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-09-20 03:26:06 -03:00
parent 5882678bc5
commit e1fe00ab64
1 changed files with 4 additions and 4 deletions

View File

@ -147,17 +147,17 @@ pub fn handle_keyboard_input(pad: &mut Joypad, input: &WinitInputHelper) {
state.dpad_right.update(false, irq); state.dpad_right.update(false, irq);
} }
if input.key_pressed(VirtualKeyCode::T) { if input.key_pressed(VirtualKeyCode::Return) {
state.start.update(true, irq); state.start.update(true, irq);
} }
if input.key_released(VirtualKeyCode::T) { if input.key_released(VirtualKeyCode::Return) {
state.start.update(false, irq); state.start.update(false, irq);
} }
if input.key_pressed(VirtualKeyCode::Y) { if input.key_pressed(VirtualKeyCode::RShift) {
state.select.update(true, irq); state.select.update(true, irq);
} }
if input.key_released(VirtualKeyCode::Y) { if input.key_released(VirtualKeyCode::RShift) {
state.select.update(false, irq); state.select.update(false, irq);
} }