From: Martin Pitt Date: Mon, 15 Feb 2010 12:15:25 +0000 (+0100) Subject: keymap: Add Toshiba Satellite M30X X-Git-Tag: 174~613 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ca91a04e8b727a079a973fdd9bc2b093e8315a5;p=systemd keymap: Add Toshiba Satellite M30X Thanks to Alessio Gaeta! https://launchpad.net/bugs/510019 --- diff --git a/Makefile.am b/Makefile.am index 1b4e2eac..db23f16e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -537,6 +537,7 @@ dist_udevkeymap_DATA = \ extras/keymap/keymaps/samsung-sx20s \ extras/keymap/keymaps/toshiba-satellite_a100 \ extras/keymap/keymaps/toshiba-satellite_a110 \ + extras/keymap/keymaps/toshiba-satellite_m30x \ extras/keymap/keymaps/zepto-znote udevkeymapforcereldir = $(libexecdir)/keymaps/force-release diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules index fcd42aae..65b0d6eb 100644 --- a/extras/keymap/95-keymap.rules +++ b/extras/keymap/95-keymap.rules @@ -115,6 +115,7 @@ ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="S ENV{DMI_VENDOR}=="TOSHIBA", ATTR{[dmi/id]product_name}=="SATELLITE A100", RUN+="keymap $name toshiba-satellite_a100" ENV{DMI_VENDOR}=="TOSHIBA", ATTR{[dmi/id]product_name}=="Satellite A110", RUN+="keymap $name toshiba-satellite_a110" +ENV{DMI_VENDOR}=="TOSHIBA", ATTR{[dmi/id]product_name}=="Satellite M30X", RUN+="keymap $name toshiba-satellite_m30x" ENV{DMI_VENDOR}=="OQO Inc.*", ATTR{[dmi/id]product_name}=="OQO Model 2*", RUN+="keymap $name oqo-model2" diff --git a/extras/keymap/keymaps/toshiba-satellite_m30x b/extras/keymap/keymaps/toshiba-satellite_m30x new file mode 100644 index 00000000..cf6d912b --- /dev/null +++ b/extras/keymap/keymaps/toshiba-satellite_m30x @@ -0,0 +1,7 @@ +0xef brightnessdown +0xd9 brightnessup +0xee screenlock +0x93 media +0x9e prog1 #touchpad_enable +0x9f prog2 #touchpad_disable +