From 3890e477051d72f390c6bdf52996099fe6c94ebe Mon Sep 17 00:00:00 2001 From: jlobue10 Date: Tue, 6 Aug 2024 18:49:47 -0700 Subject: [PATCH] Fix back buttons for ASUS ROG ALLY and ROG ALLY X Case sensitivity update (to all caps) for the button remapping seems to fix the issue. --- src/drivers/rog_ally/driver.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/rog_ally/driver.rs b/src/drivers/rog_ally/driver.rs index 9769880..41a2e54 100644 --- a/src/drivers/rog_ally/driver.rs +++ b/src/drivers/rog_ally/driver.rs @@ -38,8 +38,8 @@ impl Driver { "02" => { // Ally and Ally X, map back buttons and ensure it is in gamepad mode. log::debug!("Setting buttons and gamepad mode."); - set_attribute(device.clone(), "btn_m1/remap", "kb_f15")?; - set_attribute(device.clone(), "btn_m2/remap", "kb_f14")?; + set_attribute(device.clone(), "btn_m1/remap", "KB_F15")?; + set_attribute(device.clone(), "btn_m2/remap", "KB_F14")?; set_attribute(device, "gamepad_mode", "1")?; //TODO: Figure out why this fails and manually running the same thing //doesn't.