]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - hwdb/parse_hwdb.py
Add System76 touchpad toggle support
[thirdparty/systemd.git] / hwdb / parse_hwdb.py
index d84fba2221ade7a8ac3049a16a9224636ed18dca..da0bca5c5d16f75c53f0c5fe3ce37f8f76423942 100755 (executable)
@@ -126,6 +126,7 @@ def property_grammar():
              ('KEYBOARD_LED_NUMLOCK', Literal('0')),
              ('KEYBOARD_LED_CAPSLOCK', Literal('0')),
              ('ACCEL_MOUNT_MATRIX', mount_matrix),
+             ('ACCEL_LOCATION', Or(('display', 'base'))),
             )
     fixed_props = [Literal(name)('NAME') - Suppress('=') - val('VALUE')
                    for name, val in props]