]> git.ipfire.org Git - thirdparty/systemd.git/blame - hwdb/60-evdev.hwdb
udev: builtin-keyboard: add support for EVDEV_ABS_*
[thirdparty/systemd.git] / hwdb / 60-evdev.hwdb
CommitLineData
51c0c286
PH
1# This file is part of systemd.
2#
3# The lookup keys are composed in:
4# 60-evdev.rules
5#
6# Note: The format of the "evdev:" 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# evdev:<modalias>
13# evdev:name:<device name>:dmi:<dmi string>
14#
15# To add local entries, create a new file
16# /etc/udev/hwdb.d/61-evdev-local.hwdb
17# and add your rules there. To load the new rules execute (as root):
18# udevadm hwdb --update
19# udevadm trigger /dev/input/eventXX
20# where /dev/input/eventXX is the device in question. If in
21# doubt, simply use /dev/input/event* to reload all input rules.
22#
23# If your changes are generally applicable, open a bug report on
24# http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
25# and include your new rules, a description of the device, and the
26# output of
27# udevadm info /dev/input/eventXX
28# (or /dev/input/event*).
29#
30# Allowed properties are:
31# EVDEV_ABS_<axis>=<min>:<max>:<res>:<fuzz>:<flat>
32#
33# where <axis> is the hexadecimal EV_ABS code as listed in linux/input.h
34# and min, max, res, fuzz, flat are the decimal values to the respective
35# fields of the struct input_absinfo as listed in linux/input.h.
36# If a field is missing the field will be left as-is. Not all fields need to
37# be present. e.g. ::45 sets the resolution to 45 units/mm.