Also remove generic HP Haptics Touchpad CFD2 moved to Synaptics. Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com> Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1378> |
||
|---|---|---|
| .. | ||
| 10-generic-keyboard.quirks | ||
| 10-generic-mouse.quirks | ||
| 10-generic-trackball.quirks | ||
| 30-vendor-a4tech.quirks | ||
| 30-vendor-aiptek.quirks | ||
| 30-vendor-alps.quirks | ||
| 30-vendor-contour.quirks | ||
| 30-vendor-cypress.quirks | ||
| 30-vendor-elantech.quirks | ||
| 30-vendor-glorious.quirks | ||
| 30-vendor-huion.quirks | ||
| 30-vendor-ibm.quirks | ||
| 30-vendor-ite.quirks | ||
| 30-vendor-kensington.quirks | ||
| 30-vendor-logitech.quirks | ||
| 30-vendor-madcatz.quirks | ||
| 30-vendor-microsoft.quirks | ||
| 30-vendor-nulea.quirks | ||
| 30-vendor-oracle.quirks | ||
| 30-vendor-qemu.quirks | ||
| 30-vendor-razer.quirks | ||
| 30-vendor-synaptics.quirks | ||
| 30-vendor-trust.quirks | ||
| 30-vendor-uniwill.quirks | ||
| 30-vendor-vmware.quirks | ||
| 30-vendor-wacom.quirks | ||
| 50-system-acer.quirks | ||
| 50-system-apple.quirks | ||
| 50-system-asus.quirks | ||
| 50-system-chicony.quirks | ||
| 50-system-chuwi.quirks | ||
| 50-system-cyborg.quirks | ||
| 50-system-dell.quirks | ||
| 50-system-framework.quirks | ||
| 50-system-gigabyte.quirks | ||
| 50-system-google.quirks | ||
| 50-system-gpd.quirks | ||
| 50-system-graviton.quirks | ||
| 50-system-honor.quirks | ||
| 50-system-hp.quirks | ||
| 50-system-huawei.quirks | ||
| 50-system-icl.quirks | ||
| 50-system-lenovo.quirks | ||
| 50-system-lg.quirks | ||
| 50-system-minisforum.quirks | ||
| 50-system-pine64.quirks | ||
| 50-system-sony.quirks | ||
| 50-system-starlabs.quirks | ||
| 50-system-system76.quirks | ||
| 50-system-tongfang.quirks | ||
| 50-system-toshiba.quirks | ||
| 50-system-vaio.quirks | ||
| README.md | ||
libinput quirks file format
This directory contains hardware quirks used by libinput to work around bugs in the hardware, device behavior and to supply information not obtained through the kernel device.
THIS IS NOT STABLE API
The data format may change at any time. If your quirks file is not part of the libinput git tree, do not expect it to work after an update. Absolutely no guarantees are made for backwards-compatibility.
THIS IS NOT A CONFIGURATION API
Use the libinput_device_config_foo() functions for device configuration.
Quirks here are hardware quirks only.
Data file naming
Data files are read in versionsort order, read order determines how values override each other. Values read later override previously read values. The current structure is:
10-generic-foo.quirksfor generic settings,30-vendor-foo.quirksfor vendor-specific settings, and50-system-foo.quirksfor system vendors.
This is not a fixed naming scheme and may change at any time. It's an approximation only because some vendors are also system vendors, e.g. Microsoft makes devices and laptops.
Laptop-specific quirks should always go into the laptop vendor's file even where they apply to a component of a different vendor. For example, a quirk for a Synaptics touchpad specific to a Dell laptop should go into the Dell quirks file.
Sections, matches and values
A data file must contain at least one section, each section must have at
least one Match tag and at least one of either Attr or Model. Section
names are free-form and may contain spaces.
# This is a comment
[Some touchpad]
MatchBus=usb
# No quotes around strings
MatchName=*Synaptics Touchpad*
AttrSizeHint=50x50
ModelSynapticsTouchpad=1
[Apple touchpad]
MatchVendor=0x5AC
MatchProduct=0x123
ModelAppleTouchpad=1
Comments are lines starting with #.
All Model tags take a value of either 1 or 0.
All Attr tag values are specific to that attribute.
Parser errors
The following requirements must be met:
- No whitespace is allowed at the beginning of the line
- A Section must have at least one
Match*entry - A Section must not repeat
Match*entry - A Section must have at least one of
Model*orAttr*entries - A
Modeltag may only have the value1or0 - String properties must not be enclosed in quotes
- Hex numbers must use uppercase letters (e.g.
0x12AB)
Failure to meet these requirements will cause a parser error and the quirks files will not be used.
Debugging
When modifying a data file, use the libinput list-quirks tool to
verify the changes. The tool can be pointed at the data directory to
analyse, use --verbose to get more info. For example:
libinput list-quirks --data-dir /path/to/git/repo/quirks/ --verbose /dev/input/event0