diff options
Diffstat (limited to 'hwdb.d')
-rwxr-xr-x | hwdb.d/parse_hwdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdb.d/parse_hwdb.py b/hwdb.d/parse_hwdb.py index c0dde75650..5a1ae5a6a0 100755 --- a/hwdb.d/parse_hwdb.py +++ b/hwdb.d/parse_hwdb.py @@ -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 |