mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 10:13:34 +08:00
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
This commit is contained in:
parent
0d2eef9bcb
commit
2b0c59baa2
9
NEWS
9
NEWS
@ -1,5 +1,14 @@
|
||||
systemd System and Service Manager
|
||||
|
||||
CHANGES WITH 237 in spe:
|
||||
|
||||
* 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.
|
||||
|
||||
— Berlin, 2018-XX-XX
|
||||
|
||||
CHANGES WITH 236:
|
||||
|
||||
* The modprobe.d/ drop-in for the bonding.ko kernel module introduced
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user