Skip to content

Commit

Permalink
hwdb: Keyboard devices are not ID_INPUT_TABLET_PAD
Browse files Browse the repository at this point in the history
This should remove a number of false detections for keyboard devices
that aren't actually tablet pads (at least not the way we expect them to
be).
  • Loading branch information
whot committed Jun 2, 2024
1 parent 6026b34 commit babe7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/libwacom-update-db.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _tablet_entry(self, tablet):
# Let's add a generic exclusion rule for anything we know of with a
# Keyboard device name.
if int(vid, 16) != 0x56A:
entries["* Keyboard"] = ["ID_INPUT_TABLET=0"]
entries["* Keyboard"] = ["ID_INPUT_TABLET=0", "ID_INPUT_TABLET_PAD=0"]

lines = [f"# {tablet.name}"]
for name, props in entries.items():
Expand Down

0 comments on commit babe7a0

Please sign in to comment.