#1054265 libinput-bin: Framework quirks file contains invalid/deprecated AttrEventCodeDisable key

Package:
libinput-bin
Source:
libinput-bin
Description:
input device management and event handling library - udev quirks
Submitter:
Brett Kosinski
Date:
2023-10-20 04:12:04 UTC
Severity:
normal
#1054265#5
Date:
2023-10-20 04:08:30 UTC
From:
To:
Dear Maintainer,

Initially I noticed that disable-while-typing was not working.

Running "libinput list-devices" caused an error to be flagged that the selected
quirks file, /usr/share/libinput/50-framework.quirks, could not be loaded
because of the presence of the invalid AttrEventCodeDisable key.

Upon inspecting the file, I confirmed the presence of the key.  When I
consulted the documentation for the package, I concluded the key had been
replaced by a new AttrEventCode key with a slightly different syntax.

To confirm, I manually corrected /usr/share/libinput/50-framework.quirks and
replaced:

AttrEventCodeDisable=BTN_RIGHT

with

AttrEventCode=-BTN_RIGHT

Upon making this change, libinput no longer emitted the indicated error.  After
rebooting I confirmed that disable-while-typing was now working correctly.