Skip to content

Commit

Permalink
hwdb: don't mark a Mouse device as tablet or pad
Browse files Browse the repository at this point in the history
Same what we already do for a "foo Keyboard" device let's also not
mark a "foo Mouse" device as a tablet or tablet pad.
  • Loading branch information
whot committed Jun 2, 2024
1 parent babe7a0 commit af8012a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/libwacom-update-db.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def _tablet_entry(self, tablet):
# Keyboard device name.
if int(vid, 16) != 0x56A:
entries["* Keyboard"] = ["ID_INPUT_TABLET=0", "ID_INPUT_TABLET_PAD=0"]
entries["* Mouse"] = ["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 af8012a

Please sign in to comment.