summaryrefslogtreecommitdiffstats
path: root/hwdb/60-keyboard.hwdb
diff options
context:
space:
mode:
authorMartin Pitt <martin@piware.de>2018-01-22 21:17:08 +0100
committerLennart Poettering <lennart@poettering.net>2018-01-23 10:30:49 +0100
commit2b0c59baa23c04475579def2ab3c7945eaf67b4f (patch)
tree965cca2fe1ce11e4d740d679753ccc77af88dc68 /hwdb/60-keyboard.hwdb
parenthwdb: Add Microsoft Sculpt Comfort Mouse data (#7946) (diff)
downloadsystemd-2b0c59baa23c04475579def2ab3c7945eaf67b4f.tar.xz
systemd-2b0c59baa23c04475579def2ab3c7945eaf67b4f.zip
hwdb: map zoomin/out keys to up/down
Some keyboards come with a zoom see-saw or rocker which until now got mapped to the Linux "zoomin/out" keys in hwdb. However, these keycodes are not recognized by any major desktop. They now produce Up/Down key events so that they can be used for scrolling. The internet is full of instructions how to "unbreak" these keys, e. g. https://askubuntu.com/questions/471802/make-the-zoom-slider-of-microsoft-natural-ergonomic-keyboard-4000-and-7000-scrol https://unix.stackexchange.com/questions/322075/how-to-get-ms-natural-ergonomic-4000-slider-work-on-linux-mint So let's make it official. But keep their physical meaning in comments in case desktops start to do something useful with them at some point. Thanks to Finn Christiansen for the original patch! Replaces #6953
Diffstat (limited to 'hwdb/60-keyboard.hwdb')
-rw-r--r--hwdb/60-keyboard.hwdb28
1 files changed, 14 insertions, 14 deletions
diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb
index 16223772ec..da486cfde2 100644
--- a/hwdb/60-keyboard.hwdb
+++ b/hwdb/60-keyboard.hwdb
@@ -768,14 +768,14 @@ evdev:input:b0003v046DpC308*
# Cordless Desktop S510
evdev:input:b0003v046DpC50C*
- KEYBOARD_KEY_d4=zoomin
- KEYBOARD_KEY_cc=zoomout
+ KEYBOARD_KEY_d4=up # zoomin
+ KEYBOARD_KEY_cc=down # zoomout
# Wave cordless
evdev:input:b0003v046DpC317*
KEYBOARD_KEY_9001c=scale # expo
- KEYBOARD_KEY_9001f=zoomout
- KEYBOARD_KEY_90020=zoomin
+ KEYBOARD_KEY_9001f=down # zoomout
+ KEYBOARD_KEY_90020=up # zoomin
KEYBOARD_KEY_9003d=prog1 # gadget
KEYBOARD_KEY_90005=camera
KEYBOARD_KEY_90018=media
@@ -792,8 +792,8 @@ evdev:input:b0003v046DpC317*
# Wave cordless
evdev:input:b0003v046DpC517*
- KEYBOARD_KEY_c101f=zoomout
- KEYBOARD_KEY_c1020=zoomin
+ KEYBOARD_KEY_c101f=down # zoomout
+ KEYBOARD_KEY_c1020=up # zoomin
KEYBOARD_KEY_c1005=camera
KEYBOARD_KEY_c0183=media
KEYBOARD_KEY_c1041=wordprocessor
@@ -818,8 +818,8 @@ evdev:input:b0003v046DpC52[9B]*
KEYBOARD_KEY_0c018a=mail
KEYBOARD_KEY_0c0221=search
KEYBOARD_KEY_0c00b8=ejectcd
- KEYBOARD_KEY_0c022d=zoomin
- KEYBOARD_KEY_0c022e=zoomout
+ KEYBOARD_KEY_0c022d=up # zoomin
+ KEYBOARD_KEY_0c022e=down # zoomout
# Logitech Presenter R400
evdev:input:b0003v046DpC52D*
@@ -894,8 +894,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMEDIONNB:pnA555*:pvr*
# Microsoft Natural Ergonomic Keyboard 4000
evdev:input:b0003v045Ep00DB*
- KEYBOARD_KEY_c022d=zoomin
- KEYBOARD_KEY_c022e=zoomout
+ KEYBOARD_KEY_c022d=up # zoomin
+ KEYBOARD_KEY_c022e=down # zoomout
###########################################################
# Micro Star
@@ -1187,8 +1187,8 @@ evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-Z21*:pvr*
KEYBOARD_KEY_00=brightnessdown # Fn+F5
KEYBOARD_KEY_10=brightnessup # Fn+F6
KEYBOARD_KEY_11=switchvideomode # Fn+F7
- KEYBOARD_KEY_12=zoomout
- KEYBOARD_KEY_14=zoomin
+ KEYBOARD_KEY_12=down # zoomout
+ KEYBOARD_KEY_14=up # zoomin
KEYBOARD_KEY_15=suspend # Fn+F12
KEYBOARD_KEY_17=prog1
KEYBOARD_KEY_20=media
@@ -1198,8 +1198,8 @@ evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW250*:pvr*
evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVPC*:pvr*
KEYBOARD_KEY_05=f21 # Fn+F1 -> KEY_F21 (The actual touchpad toggle)
- KEYBOARD_KEY_0d=zoomout # Fn+F9
- KEYBOARD_KEY_0e=zoomin # Fn+F10
+ KEYBOARD_KEY_0d=down # Fn+F9 zoomout
+ KEYBOARD_KEY_0e=up # Fn+F10 zoomin
###########################################################
# Toshiba