Skip to content

Conversation

@whot
Copy link
Contributor

@whot whot commented Mar 20, 2018

If a device exposes more than 16 mouse buttons, we run into the BTN_JOYSTICK
range, also labelling it as joystick. And since 774ff9b this results in only
ID_INPUT_JOYSTICK but no ID_INPUT_MOUSE.

Fixes #8460

If a device exposes more than 16 mouse buttons, we run into the BTN_JOYSTICK
range, also labelling it as joystick. And since 774ff9b this results in only
ID_INPUT_JOYSTICK but no ID_INPUT_MOUSE.

Fixes systemd#8460
@whot
Copy link
Contributor Author

whot commented Mar 20, 2018

@rcpoison please test, thanks

@whot whot added the udev label Mar 20, 2018
@poettering
Copy link
Member

lgtm, fwiw

@keszybz
Copy link
Member

keszybz commented Mar 23, 2018

OP reported that the patch works at least partially (#8460 (comment)). Let's merge, since this improves the situation, and consider any follow up fixes in separate PRs.

@keszybz keszybz merged commit 0cd6767 into systemd:master Mar 23, 2018
dtzWill pushed a commit to dtzWill/systemd that referenced this pull request Mar 25, 2018
If a device exposes more than 16 mouse buttons, we run into the BTN_JOYSTICK
range, also labelling it as joystick. And since 774ff9b this results in only
ID_INPUT_JOYSTICK but no ID_INPUT_MOUSE.

Fixes systemd#8460

(cherry picked from commit 0cd6767)
dtzWill pushed a commit to dtzWill/systemd that referenced this pull request Mar 29, 2018
If a device exposes more than 16 mouse buttons, we run into the BTN_JOYSTICK
range, also labelling it as joystick. And since 774ff9b this results in only
ID_INPUT_JOYSTICK but no ID_INPUT_MOUSE.

Fixes systemd#8460

(cherry picked from commit 0cd6767)
shlevy pushed a commit to NixOS/systemd that referenced this pull request Mar 31, 2018
If a device exposes more than 16 mouse buttons, we run into the BTN_JOYSTICK
range, also labelling it as joystick. And since 774ff9b this results in only
ID_INPUT_JOYSTICK but no ID_INPUT_MOUSE.

Fixes systemd#8460

(cherry picked from commit 0cd6767)
See also NixOS/nixpkgs#37744
xnox pushed a commit to xnox/systemd that referenced this pull request May 31, 2018
If a device exposes more than 16 mouse buttons, we run into the BTN_JOYSTICK
range, also labelling it as joystick. And since 774ff9b this results in only
ID_INPUT_JOYSTICK but no ID_INPUT_MOUSE.

Fixes systemd#8460

(cherry picked from commit 0cd6767)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants