xinput doesn't recognize Logitech G600's side buttons as keyboard buttons but a mouse ones which leads to strange behavior
Submitted by kam..@..sik.in
Assigned to Xorg Project Team
As in summary - When I checked while it was working, G600's (http://gaming.logitech.com/pl-pl/product/g600-mmo-gaming-mouse) side buttons were seen as a keyboard from xinput, and then, they worked. Now they are recognized as mouse buttons and cursor instantly goes to left side of screen when I click any normal mouse button which makes it unusable until I disable secondary "pointer".
I am not sure on which version it started, but now I am on: local/xorg-server 1.18.0-3 (xorg) local/xorg-xinput 1.6.2-1 (xorg-apps xorg) and problem is still present.
⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ id=10 [slave pointer (2)] ⎜ ↳ id=12 [slave pointer (2)] ⎜ ↳ Logitech Gaming Mouse G600 id=13 [slave pointer (2)] ⎜ ↳ Logitech Gaming Mouse G600 id=14 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Power Button id=7 [slave keyboard (3)] ↳ id=8 [slave keyboard (3)] ↳ id=9 [slave keyboard (3)] ↳ id=11 [slave keyboard (3)]
there's a xorg.conf section template that fixes it by enforcing to see side buttons as keyboard ones. It's discussed here: https://bbs.archlinux.org/viewtopic.php?id=204830
It's possible that this is how xinput should see that mouse by default as it's not typical mouse and then it's not bug of course - but I am not sure what's expected behaviour of xinput when such device is present.