1# This file is part of systemd.
2#
3# The lookup keys are composed in:
4#   60-input-id.rules
5#
6# Match string formats:
7# id-input:modalias:<modalias>
8#
9# To add local entries, create a new file
10#   /etc/udev/hwdb.d/61-input-id-local.hwdb
11# and add your rules there. To load the new rules execute (as root):
12#   systemd-hwdb update
13#   udevadm trigger /dev/input/eventXX
14# where /dev/input/eventXX is the device in question. If in
15# doubt, simply use /dev/input/event* to reload all input rules.
16#
17# If your changes are generally applicable, preferably send them as a pull
18# request to
19#   https://github.com/systemd/systemd
20# or create a bug report on https://github.com/systemd/systemd/issues and
21# include your new rules, a description of the device, and the output of
22#   udevadm info /dev/input/eventXX.
23#
24# This file must only be used where the input_id builtin assigns the wrong
25# properties or lacks the assignment of some properties. This is almost always
26# caused by a device not adhering to the standard of the device's type.
27#
28# Allowed properties are:
29#    ID_INPUT, ID_INPUT_ACCELEROMETER, ID_INPUT_MOUSE, ID_INPUT_POINTINGSTICK,
30#    ID_INPUT_TOUCHSCREEN, ID_INPUT_TOUCHPAD, ID_INPUT_TABLET,
31#    ID_INPUT_TABLET_PAD, ID_INPUT_JOYSTICK, ID_INPUT_KEY, ID_INPUT_KEYBOARD,
32#    ID_INPUT_SWITCH, ID_INPUT_TRACKBALL
33#
34#    ID_INPUT
35#       * MUST be set when ANY of ID_INPUT_* is set
36#       * MUST be unset when ALL of ID_INPUT_*  are unset
37#
38#    ID_INPUT_TABLET
39#       * MUST be set when setting ID_INPUT_TABLET_PAD
40#
41# Allowed values are 1 and 0 to set or unset, respectively.
42#
43# NOT allowed in this file are:
44#    ID_INPUT_WIDTH_MM, ID_INPUT_HEIGHT_MM, ID_INPUT_TOUCHPAD_INTEGRATION
45#
46
47# Example:
48# id-input:modalias:input:b0003v1234pABCD*
49#  ID_INPUT_TOUCHPAD=1
50#  ID_INPUT=1
51
52# Sort by brand, model
53
54# XP-PEN STAR 06
55id-input:modalias:input:b0003v28bdp0078*
56 ID_INPUT_TABLET=1
57
58# Lite-On Tech IBM USB Travel Keyboard with Ultra Nav Mouse
59id-input:modalias:input:b0003v04B3p301Ee0100-e0,1,2,4*
60 ID_INPUT_POINTINGSTICK=1
61
62# Logitech Ultrathin Touch Mouse
63id-input:modalias:input:b0005v046DpB00De0700*
64 ID_INPUT_MOUSE=1
65
66# Logitech MX Keys
67id-input:modalias:input:b0003v046Dp408Ae0111*
68 ID_INPUT_MOUSE=0
69
70# Logitech Craft Keyboard
71id-input:modalias:input:b0003v046Dp4066e0111*
72 ID_INPUT_MOUSE=0
73
74# CH Products Pro Pedals
75id-input:modalias:input:b0003v068Ep00F2e0100*
76 ID_INPUT_ACCELEROMETER=0
77 ID_INPUT_JOYSTICK=1
78