mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-30 02:18:16 +02:00
Add pressure attributes to make libinput measure touchpad-pressure
behave right.
Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
(cherry picked from commit 526130fe8d)
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1470>
103 lines
3.9 KiB
Text
103 lines
3.9 KiB
Text
# Do not edit this file, it will be overwritten on update
|
|
|
|
[HP Chromebook 14]
|
|
MatchName=*Cypress APA Trackpad *cyapa*
|
|
MatchDMIModalias=dmi:*:svnHewlett-Packard:pnFalco:*
|
|
AttrPressureRange=12:8
|
|
|
|
# Claims to have double/tripletap but doesn't actually send it
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=98538
|
|
[HP Compaq 6910p]
|
|
MatchName=*SynPS/2 Synaptics TouchPad
|
|
MatchDMIModalias=dmi:*:svnHewlett-Packard:pnHPCompaq6910p*:*
|
|
AttrEventCode=-BTN_TOOL_DOUBLETAP;-BTN_TOOL_TRIPLETAP;
|
|
|
|
# Claims to have double/tripletap but doesn't actually send it
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1351285 and
|
|
[HP Compaq 8510w]
|
|
MatchName=*SynPS/2 Synaptics TouchPad
|
|
MatchDMIModalias=dmi:*:svnHewlett-Packard:pnHPCompaq8510w*:*
|
|
AttrEventCode=-BTN_TOOL_DOUBLETAP;-BTN_TOOL_TRIPLETAP;
|
|
|
|
[HP Elite x2 1013 G3 Tablet Mode Switch]
|
|
MatchName=*Intel Virtual Button*
|
|
MatchDMIModalias=dmi:*:svnHP:pnHPElitex21013G3:*
|
|
ModelTabletModeSwitchUnreliable=1
|
|
|
|
# The HP OmniBook Ultra Flip 14 toggles tablet mode at a little less than 180
|
|
# degrees and hardware switches off inputs at a little more than 180 degrees.
|
|
# We don't suspend ourselves to allow using them in flat position. It is
|
|
# possible that HP fixes this in the future (i.e. so tablet mode toggles
|
|
# after 180 degrees) so check before removing these rules.
|
|
# This rule is for the keyboard and...
|
|
[HP OmniBook Ultra Flip Laptop 14-fh0xxx and 14t-fh000 Keyboard]
|
|
MatchBus=ps2
|
|
MatchUdevType=keyboard
|
|
MatchDMIModalias=dmi:*:svnHP:*:rn8CDE:*
|
|
ModelTabletModeNoSuspend=1
|
|
|
|
# ...this rule is for the touchpad.
|
|
[HP OmniBook Ultra Flip Laptop 14-fh0xxx and 14t-fh000 Touchpad]
|
|
MatchBus=i2c
|
|
MatchUdevType=touchpad
|
|
MatchDMIModalias=dmi:*:svnHP:*:rn8CDE:*
|
|
ModelTabletModeNoSuspend=1
|
|
AttrPressureRange=15:5
|
|
AttrThumbPressureThreshold=80
|
|
AttrPalmPressureThreshold=125
|
|
|
|
[HP Pavilion dm4]
|
|
MatchName=*SynPS/2 Synaptics TouchPad
|
|
MatchDMIModalias=dmi:*:svnHewlett-Packard:pnHPPaviliondm4NotebookPC:*
|
|
ModelHPPavilionDM4Touchpad=1
|
|
|
|
[HP Spectre x360 Convertible 15-bl000]
|
|
MatchName=AT Translated Set 2 keyboard
|
|
MatchDMIModalias=dmi:*:svnHP:pnHPSpectrex360Convertible15-bl0XX:*
|
|
ModelTabletModeNoSuspend=1
|
|
|
|
[HP Spectre x360 Convertible 15-bl1xx]
|
|
MatchUdevType=touchpad
|
|
MatchName=*SynPS/2 Synaptics TouchPad
|
|
MatchDMIModalias=dmi:*:svnHP:pnHPSpectrex360Convertible15-bl1XX:*
|
|
AttrPressureRange=55:40
|
|
AttrThumbPressureThreshold=90
|
|
AttrPalmPressureThreshold=100
|
|
|
|
[HP Spectre x360 Convertible 15-ch0xx]
|
|
MatchUdevType=touchpad
|
|
MatchName=*SynPS/2 Synaptics TouchPad
|
|
MatchDMIModalias=dmi:*:svnHP:pnHPSpectrex360Convertible15-ch0xx:*
|
|
AttrThumbPressureThreshold=90
|
|
AttrPalmPressureThreshold=100
|
|
|
|
# The HP stream x360's embedded-controller filters out events form its builtin
|
|
# keyboard when in tablet-mode itself; and it has a volume up/down on the side.
|
|
# Do not suspend the keyboard when in tablet-mode so that the volume up/down
|
|
# button keeps working when in tablet-mode.
|
|
[HP Spectre x360 Convertible 15-ch0xx Tablet Mode Switch]
|
|
MatchName=AT Translated Set 2 keyboard
|
|
MatchDMIModalias=dmi:*:svnHP:pnHPSpectrex360Convertible15-ch0xx:*
|
|
ModelTabletModeNoSuspend=1
|
|
|
|
# Touchpad is a clickpad but INPUT_PROP_BUTTONPAD is not set, see
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=97147
|
|
[HP Stream 11]
|
|
MatchName=SYN1EDE:00 06CB:7442*
|
|
MatchDMIModalias=dmi:*:svnHewlett-Packard:pnHPStreamNotebookPC11:*
|
|
AttrInputProp=+INPUT_PROP_BUTTONPAD
|
|
|
|
# The HP stream x360's embedded-controller filters out events form its builtin
|
|
# keyboard when in tablet-mode itself; and it has a capacitive home-button
|
|
# (windows logo) underneath its display which also sends PS/2 key-events.
|
|
# Do not suspend the keyboard when in tablet-mode so that the home button
|
|
# keeps working when in tablet-mode.
|
|
[HP Stream x360 11]
|
|
MatchName=AT Translated Set 2 keyboard
|
|
MatchDMIModalias=dmi:*:svnHewlett-Packard:pnHPStreamx360ConvertiblePC11:*
|
|
ModelTabletModeNoSuspend=1
|
|
|
|
[HP ZBook Studio G3]
|
|
MatchName=AlpsPS/2 ALPS GlidePoint
|
|
MatchDMIModalias=dmi:*:svnHP:pnHPZBookStudioG3:*
|
|
ModelHPZBookStudioG3=1
|