From 5d47366ea9d1b3a37751f4bf853a573eba43e4fd Mon Sep 17 00:00:00 2001 From: me Date: Thu, 25 Dec 2025 00:10:54 +0200 Subject: [PATCH] buttons y and x --- src/runtime/runtime.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/runtime.rs b/src/runtime/runtime.rs index 018260a..d9eb8d7 100644 --- a/src/runtime/runtime.rs +++ b/src/runtime/runtime.rs @@ -127,6 +127,8 @@ pub fn fetch_events(state: &mut State) -> Input { input.gamepad1.buttons.a = is_key_down(KeyCode::Z); input.gamepad1.buttons.b = is_key_down(KeyCode::X); + input.gamepad1.buttons.y = is_key_down(KeyCode::S); + input.gamepad1.buttons.x = is_key_down(KeyCode::A); // dpad input.gamepad1.dpad.left = is_key_down(KeyCode::Left);