mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 17:08:07 +02:00
udev: add trackpoint range for Lenovo X280
https://bugs.freedesktop.org/show_bug.cgi?id=105485
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 9d7f48b66a)
This commit is contained in:
parent
6c7adee8b0
commit
1ea91b212b
2 changed files with 5 additions and 0 deletions
|
|
@ -214,6 +214,10 @@ libinput:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO:*:pvrThinkPadX1Carbon3rd
|
||||||
libinput:keyboard:input:b0003v17EFp6047*
|
libinput:keyboard:input:b0003v17EFp6047*
|
||||||
LIBINPUT_ATTR_KEYBOARD_INTEGRATION=external
|
LIBINPUT_ATTR_KEYBOARD_INTEGRATION=external
|
||||||
|
|
||||||
|
# Lenovo X280
|
||||||
|
libinput:name:*ALPS TrackPoint*:svnLENOVO:*:pvrThinkPadX280:*
|
||||||
|
LIBINPUT_ATTR_TRACKPOINT_RANGE=70
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# Logitech
|
# Logitech
|
||||||
##########################################
|
##########################################
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,7 @@ def property_grammar():
|
||||||
('LIBINPUT_ATTR_LID_SWITCH_RELIABILITY',
|
('LIBINPUT_ATTR_LID_SWITCH_RELIABILITY',
|
||||||
Or(('reliable', 'write_open'))),
|
Or(('reliable', 'write_open'))),
|
||||||
('LIBINPUT_ATTR_KEYBOARD_INTEGRATION', Or(('internal', 'external'))),
|
('LIBINPUT_ATTR_KEYBOARD_INTEGRATION', Or(('internal', 'external'))),
|
||||||
|
('LIBINPUT_ATTR_TRACKPOINT_RANGE', INTEGER('Y')),
|
||||||
)
|
)
|
||||||
value_props = [Literal(name)('NAME') - Suppress('=') - val('VALUE') for
|
value_props = [Literal(name)('NAME') - Suppress('=') - val('VALUE') for
|
||||||
name, val in vprops]
|
name, val in vprops]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue