1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

keymap: Add Sony VGN

https://launchpad.net/bugs/939868
This commit is contained in:
Martin Pitt 2012-08-15 08:46:03 +02:00
parent d046b20b11
commit 405053fafa
2 changed files with 6 additions and 1 deletions

4
keymaps/module-sony-vpc Normal file
View File

@ -0,0 +1,4 @@
# 0x05 touchpad_toggle # fn_f1 -> KEY_TOUCHPAD_TOGGLE
0x05 f21 # fn_f1 -> KEY_F21 (The actual touchpad toggle)
0x0d zoomout # fn_f9
0x0e zoomin # fn_f10

View File

@ -59,8 +59,9 @@ ENV{DMI_VENDOR}=="MICRO-STAR*|Micro-Star*", KERNELS=="input*", ATTRS{name}=="MSI
# Older Vaios have some different keys
ENV{DMI_VENDOR}=="Sony*", ATTR{[dmi/id]product_name}=="*PCG-C1*|*PCG-K25*|*PCG-F1*|*PCG-F2*|*PCG-F3*|*PCG-F4*|*PCG-F5*|*PCG-F6*|*PCG-FX*|*PCG-FRV*|*PCG-GR*|*PCG-TR*|*PCG-NV*|*PCG-Z*|*VGN-S360*", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony-old"
# Some Sony VGN models have yet another one
# Some Sony VGN/VPC models have yet another one
ENV{DMI_VENDOR}=="Sony*", ATTR{[dmi/id]product_name}=="VGN-AR71*|VGN-FW*|VGN-Z21*", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony-vgn"
ENV{DMI_VENDOR}=="Sony*", ATTR{[dmi/id]product_name}=="VPC*", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name /etc/udev/keymaps/module-sony-vpc"
#