Skip to content

Commit

Permalink
fix(ROG ALLY): Fix back buttons for ASUS ROG ALLY and ROG ALLY X (#177)
Browse files Browse the repository at this point in the history
Case sensitivity update (to all caps) for the button remapping seems to fix the issue.
  • Loading branch information
jlobue10 authored Aug 7, 2024
1 parent 17ce055 commit a36fb70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/rog_ally/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a36fb70

Please sign in to comment.