]>
Commit | Line | Data |
---|---|---|
ffac3034 PH |
1 | # This file is part of systemd. |
2 | # | |
3 | # The lookup keys are composed in: | |
4 | # 60-input-id.rules | |
5 | # | |
6 | # Note: The format of the "input-id:" prefix match key is a | |
7 | # contract between the rules file and the hardware data, it might | |
8 | # change in later revisions to support more or better matches, it | |
9 | # is not necessarily expected to be a stable ABI. | |
10 | # | |
11 | # Match string formats: | |
12 | # id-input:modalias:<modalias> | |
13 | # | |
14 | # To add local entries, create a new file | |
15 | # /etc/udev/hwdb.d/61-input-id-local.hwdb | |
16 | # and add your rules there. To load the new rules execute (as root): | |
17 | # systemd-hwdb update | |
18 | # udevadm trigger /dev/input/eventXX | |
19 | # where /dev/input/eventXX is the device in question. If in | |
20 | # doubt, simply use /dev/input/event* to reload all input rules. | |
21 | # | |
22 | # If your changes are generally applicable, preferably send them as a pull | |
23 | # request to | |
24 | # https://github.com/systemd/systemd | |
25 | # or create a bug report on https://github.com/systemd/systemd/issues and | |
26 | # include your new rules, a description of the device, and the output of | |
27 | # udevadm info /dev/input/eventXX. | |
28 | # | |
29 | # This file must only be used where the input_id builtin assigns the wrong | |
30 | # properties or lacks the assignment of some properties. This is almost | |
31 | # always caused by a device not adhering to the standard of the device's | |
32 | # type. | |
33 | # | |
34 | # Allowed properties are: | |
35 | # ID_INPUT | |
36 | # ID_INPUT_ACCELEROMETER, ID_INPUT_MOUSE, | |
37 | # ID_INPUT_POINTINGSTICK, ID_INPUT_TOUCHSCREEN, ID_INPUT_TOUCHPAD, | |
38 | # ID_INPUT_TABLET, ID_INPUT_TABLET_PAD, ID_INPUT_JOYSTICK, ID_INPUT_KEY, | |
39 | # ID_INPUT_KEYBOARD, ID_INPUT_SWITCH, ID_INPUT_TRACKBALL | |
40 | # | |
41 | # ID_INPUT | |
42 | # * MUST be set when ANY of ID_INPUT_* is set | |
43 | # * MUST be unset when ALL of ID_INPUT_* are unset | |
44 | # | |
45 | # ID_INPUT_TABLET | |
46 | # * MUST be set when setting ID_INPUT_TABLET_PAD | |
47 | # | |
48 | # Allowed values are 1 and 0 to set or unset, repsectively. | |
49 | # | |
50 | # NOT allowed in this file are: | |
51 | # ID_INPUT_WIDTH_MM, ID_INPUT_HEIGHT_MM, ID_INPUT_TOUCHPAD_INTEGRATION | |
52 | # | |
53 | ||
54 | # Example: | |
55 | # id-input:modalias:input:b0003v1234pABCD* | |
56 | # ID_INPUT_TOUCHPAD=1 | |
57 | # ID_INPUT=1 | |
58 | ||
59 | # Sort by brand, model | |
0fbe78ac PH |
60 | |
61 | # UC-Logic TABLET 1060N Pad | |
62 | id-input:modalias:input:b0003v5543p0081* | |
63 | ID_INPUT_TABLET=1 | |
64 | ID_INPUT_TABLET_PAD=1 | |
06fc4324 PH |
65 | |
66 | # XP-PEN STAR 06 | |
67 | id-input:modalias:input:b0003v28bdp0078* | |
68 | ID_INPUT_TABLET=1 |