From 8ffee85d2b33ba78127e67a42585ca4fde0fad39 Mon Sep 17 00:00:00 2001 From: gnaomo <38522864+gnaomo@users.noreply.github.com> Date: Fri, 11 Nov 2022 15:00:55 +0000 Subject: [PATCH] Adjusted button mapping for attack and special (#429) --- src/common/button_config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/button_config.rs b/src/common/button_config.rs index 126b2ed..3f6ff1c 100644 --- a/src/common/button_config.rs +++ b/src/common/button_config.rs @@ -7,8 +7,8 @@ use toml; lazy_static! { // Using the LuaConst names wasn't working for some reason... static ref BUTTON_MAPPING: HashMap<&'static str, i32> = HashMap::from([ - ("ATTACK", 1), // *CONTROL_PAD_BUTTON_ATTACK - ("SPECIAL", 2), // *CONTROL_PAD_BUTTON_SPECIAL + ("ATTACK", 0), // *CONTROL_PAD_BUTTON_ATTACK + ("SPECIAL", 1), // *CONTROL_PAD_BUTTON_SPECIAL ("SHIELD", 3), // *CONTROL_PAD_BUTTON_GUARD ("GRAB", 9), // *CONTROL_PAD_BUTTON_CATCH ("JUMP", 2), // *CONTROL_PAD_BUTTON_JUMP