mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
driver-hidpp20: do not divert button when remapping
Temporary diversion has priority over remapping and should not be set at the same time.
This commit is contained in:
committed by
Benjamin Tissoires
parent
dab5d2c0b7
commit
a9f4049841
@@ -300,7 +300,7 @@ hidpp20drv_write_button_1b04(struct ratbag_button *button,
|
||||
if (!mapping)
|
||||
return -EINVAL;
|
||||
|
||||
control->reporting.divert = 1;
|
||||
control->reporting.divert = 0;
|
||||
control->reporting.remapped = mapping;
|
||||
control->reporting.updated = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user