]>
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 | # | |
62ad1c64 ZJS |
6 | # Note: The format of the "input-id:" prefix match key is a contract between |
7 | # the rules file and the hardware data, it might change in later revisions to | |
8 | # support more or better matches, it is not necessarily expected to be a stable | |
9 | # ABI. | |
ffac3034 PH |
10 | # |
11 | # Match string formats: | |
98873699 | 12 | # id-input:modalias:<modalias> |
ffac3034 PH |
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 | |
62ad1c64 ZJS |
30 | # properties or lacks the assignment of some properties. This is almost always |
31 | # caused by a device not adhering to the standard of the device's type. | |
ffac3034 PH |
32 | # |
33 | # Allowed properties are: | |
62ad1c64 ZJS |
34 | # ID_INPUT, ID_INPUT_ACCELEROMETER, ID_INPUT_MOUSE, ID_INPUT_POINTINGSTICK, |
35 | # ID_INPUT_TOUCHSCREEN, ID_INPUT_TOUCHPAD, ID_INPUT_TABLET, | |
36 | # ID_INPUT_TABLET_PAD, ID_INPUT_JOYSTICK, ID_INPUT_KEY, ID_INPUT_KEYBOARD, | |
37 | # ID_INPUT_SWITCH, ID_INPUT_TRACKBALL | |
ffac3034 PH |
38 | # |
39 | # ID_INPUT | |
40 | # * MUST be set when ANY of ID_INPUT_* is set | |
41 | # * MUST be unset when ALL of ID_INPUT_* are unset | |
42 | # | |
43 | # ID_INPUT_TABLET | |
44 | # * MUST be set when setting ID_INPUT_TABLET_PAD | |
45 | # | |
62ad1c64 | 46 | # Allowed values are 1 and 0 to set or unset, respectively. |
ffac3034 PH |
47 | # |
48 | # NOT allowed in this file are: | |
49 | # ID_INPUT_WIDTH_MM, ID_INPUT_HEIGHT_MM, ID_INPUT_TOUCHPAD_INTEGRATION | |
50 | # | |
51 | ||
52 | # Example: | |
3a7771c9 | 53 | # id-input:modalias:input:b0003v1234pABCD* |
ffac3034 PH |
54 | # ID_INPUT_TOUCHPAD=1 |
55 | # ID_INPUT=1 | |
56 | ||
57 | # Sort by brand, model | |
0fbe78ac PH |
58 | |
59 | # UC-Logic TABLET 1060N Pad | |
3a7771c9 | 60 | id-input:modalias:input:b0003v5543p0081* |
0fbe78ac PH |
61 | ID_INPUT_TABLET=1 |
62 | ID_INPUT_TABLET_PAD=1 | |
06fc4324 PH |
63 | |
64 | # XP-PEN STAR 06 | |
3a7771c9 | 65 | id-input:modalias:input:b0003v28bdp0078* |
06fc4324 | 66 | ID_INPUT_TABLET=1 |
988e4004 LR |
67 | |
68 | # Lite-On Tech IBM USB Travel Keyboard with Ultra Nav Mouse | |
3a7771c9 | 69 | id-input:modalias:input:b0003v04B3p301Ee0100-e0,1,2,4* |
988e4004 | 70 | ID_INPUT_POINTINGSTICK=1 |
259f0dfb BN |
71 | |
72 | # Logitech Ultrathin Touch Mouse | |
3a7771c9 | 73 | id-input:modalias:input:b0005v046DpB00De0700* |
259f0dfb | 74 | ID_INPUT_MOUSE=1 |