illiliti/libudev-zero

Devices without BTN_STYLUS/BTN_TOOL_PEN somehow being treated as tablets.

illiliti opened this issue · 1 comments

/dev/input/event10 is touchpad but due to bug is being treated as tablet

Xorg log:
http://0x0.st/-BKh.log

evemu-describe:
http://0x0.st/-BPL.log

udev internal properties:
http://0x0.st/-BPu.txt

possible buggy code:

else if (find_bit(key_bits, key_cnt, BTN_STYLUS) || find_bit(key_bits, key_cnt, BTN_TOOL_PEN)) {

Waiting on response of issue reporter to confirm that bug is fixed by referenced commit.

EDIT:
I would definitely prefer to make a pull request instead of directly pushing untested(but works for me) commit into master. What's done is done...