Skip to content

Commit

Permalink
fix(ROG Ally/X): Support latest ally patches.
Browse files Browse the repository at this point in the history
  • Loading branch information
pastaq committed Jul 31, 2024
1 parent 5a530ff commit ffcafa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/rog_ally/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl Driver {
let Some(driver) = parent.driver() else {
return Err("Failed to identify device driver".into());
};
if driver.to_str().unwrap() == "asus" {
if driver.to_str().unwrap() == "asus_rog_ally_cfg" {
set_attribute(device.clone(), "btn_m1/remap", "kb_f15")?;
set_attribute(device.clone(), "btn_m2/remap", "kb_f14")?;
set_attribute(device, "gamepad_mode", "1")?;
Expand Down

0 comments on commit ffcafa8

Please sign in to comment.