hwdb: let's no abbreivate HORIZONTAL as HORIZ (#3994)
authorLennart Poettering <lennart@poettering.net>
Fri, 19 Aug 2016 13:31:36 +0000 (15:31 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Aug 2016 13:31:36 +0000 (15:31 +0200)
I think I am developing OCD... Let's fix this before this actually gets used in
the wild.

A follow-up for #3986 (5fc9e4abb41e7f58f6c308f54881c596713fba75).

hwdb/70-mouse.hwdb
hwdb/parse_hwdb.py

index 70a7fb9..56e36af 100644 (file)
@@ -47,7 +47,7 @@
 #    ID_INPUT_TRACKBALL
 #    MOUSE_DPI
 #    MOUSE_WHEEL_CLICK_ANGLE
-#    MOUSE_WHEEL_CLICK_ANGLE_HORIZ
+#    MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL
 #
 #########################################
 #         ID_INPUT_TRACKBALL            #
 # Most mice have a 15 degree click stop (24 clicks per full rotation).
 #
 #########################################
-#       MOUSE_WHEEL_CLICK_ANGLE_HORIZ   #
+#   MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL  #
 #########################################
 #
 # Identical to MOUSE_WHEEL_CLICK_ANGLE but for the horizontal scroll wheel.
@@ -360,7 +360,7 @@ mouse:usb:v046dp101a:name:Logitech Performance MX:
 mouse:usb:v046dp4041:name:Logitech MX Master:
  MOUSE_DPI=1000@166
  MOUSE_WHEEL_CLICK_ANGLE=15
- MOUSE_WHEEL_CLICK_ANGLE_HORIZ=26
+ MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL=26
 
 # Logitech MK260 Wireless Combo Receiver aka M-R0011
 mouse:usb:v046dpc52e:name:Logitech USB Receiver:
index fc23a5d..f555622 100755 (executable)
@@ -82,7 +82,7 @@ def property_grammar():
     setting = Optional('*')('DEFAULT') + INTEGER('DPI') + Suppress('@') + INTEGER('HZ')
     props = (('MOUSE_DPI', Group(OneOrMore(setting('SETTINGS*')))),
              ('MOUSE_WHEEL_CLICK_ANGLE', INTEGER),
-             ('MOUSE_WHEEL_CLICK_ANGLE_HORIZ', INTEGER),
+             ('MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL', INTEGER),
              ('ID_INPUT_TRACKBALL', Literal('1')),
              ('POINTINGSTICK_SENSITIVITY', INTEGER),
              ('POINTINGSTICK_CONST_ACCEL', REAL),