diff options
author | Ozan Çağlayan <ozancag@gmail.com> | 2013-03-19 15:49:30 +0200 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2013-04-02 13:54:37 -0400 |
commit | dfdffb704101fe44a216c10bdf94e46443fdbcc6 (patch) | |
tree | 429967ecb813b6c290589e899aeab5303dc2bac3 /rules | |
parent | 3cc17c82a6f8ef1d95857788c13c4a8b9f76c6bf (diff) |
keymap: Remap microphone mute and touchpad toggle for Lenovo U300s
Separate out Ideapad U300s to its own line and add Microphone mute key.
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/95-keymap.rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/95-keymap.rules b/rules/95-keymap.rules index 2da6a27111..a48e19fc68 100644 --- a/rules/95-keymap.rules +++ b/rules/95-keymap.rules @@ -89,7 +89,9 @@ ENV{DMI_VENDOR}=="LENOVO*", ATTR{[dmi/id]product_version}=="ThinkPad X2* Tablet* ENV{DMI_VENDOR}=="LENOVO*", ATTR{[dmi/id]product_version}=="*IdeaPad*", RUN+="keymap $name lenovo-ideapad" ENV{DMI_VENDOR}=="LENOVO*", ATTR{[dmi/id]product_name}=="S10-*", RUN+="keymap $name lenovo-ideapad" ENV{DMI_VENDOR}=="LENOVO", ATTR{[dmi/id]product_version}=="*IdeaPad Y550*", RUN+="keymap $name 0x95 media 0xA3 play" -ENV{DMI_VENDOR}=="LENOVO", ATTR{[dmi/id]product_version}=="*Lenovo V480*|*IdeaPad U300s*", RUN+="keymap $name 0xf1 f21" +ENV{DMI_VENDOR}=="LENOVO", ATTR{[dmi/id]product_version}=="*Lenovo V480*", RUN+="keymap $name 0xf1 f21" +# 0xf1 is touchpad toggle, 0xCE is microphone mute in Lenovo U300s +ENV{DMI_VENDOR}=="LENOVO", ATTR{[dmi/id]product_version}=="*IdeaPad U300s*", RUN+="keymap $name 0xf1 f21 0xCE f20" ENV{DMI_VENDOR}=="Hewlett-Packard*", RUN+="keymap $name hewlett-packard" ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*[tT][aA][bB][lL][eE][tT]*", RUN+="keymap $name hewlett-packard-tablet" |