Closed dslul closed 5 years ago
Not a bug from the tool, it is the expected behavior. But the documentation should be fixed.
The duplicated buttons are for the shifted mode (G-shift). In the doc, I forgot the ModeSwitch special action (it is referenced in the switched_dpi
setting doc, but it should be ResolutionSwitch there).
000000d0: 0002 0000 0000 28df 0008 51d3 0008 59d3 ......(...Q...Y. 000000e0: 0008 0500 0003 0000 0000 3cdf 0008 67d3 ..........<...g.
The g402 uses profile format 1, right? The data after 000000d0 is ignored because I don't what it is. I don't even know how long the profile actually is, yours looks like 240-byte long but I wrote 224 in a comment. If you find out, please tell me.
Fixed in 14eb1dbc69d15e6b6ff1da7cb0e6b9afba7de660
I also renamed the special action to GShift to avoid confusion, Logitech uses "Mode Switch" for switching powersave modes on wireless devices. I don't know the value for the later.
Hi, I noticed that the library prints out the button mappings twice (g402). Here is the output:
./hidpp-persistent-profiles /dev/hidraw3 read
I don't know if this issue is related to the profile, since there seems to be duplicate information also there: