@@ -622,6 +622,13 @@ evdev:name:MSFT0001:02 04F3:304B Touchpad:dmi:*svnLENOVO:*pvrLenovoLegionY9000X2
|
||||
EVDEV_ABS_35=::31
|
||||
EVDEV_ABS_36=::30
|
||||
|
||||
# Lenovo g580
|
||||
evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnLENOVO:*pvrLenovoG580**
|
||||
EVDEV_ABS_00=-170:2950:24
|
||||
EVDEV_ABS_01=-591:700:25
|
||||
EVDEV_ABS_35=-170:2950:24
|
||||
EVDEV_ABS_36=-591:700:25
|
||||
|
||||
#########################################
|
||||
# Microsoft
|
||||
#########################################
|
||||
|
||||
@@ -202,7 +202,7 @@ def property_grammar():
|
||||
]
|
||||
abs_props = [Regex(r'EVDEV_ABS_[0-9a-f]{2}')('NAME')
|
||||
- Suppress('=') -
|
||||
Word(nums + ':')('VALUE')
|
||||
Word('-' + nums + ':')('VALUE')
|
||||
]
|
||||
|
||||
grammar = Or(fixed_props + kbd_props + abs_props) + EOL
|
||||
|
||||
Reference in New Issue
Block a user