chiark / gitweb /
keymap: Add Samsung Series 3
author장동준 <dongjun78.jang@samsung.com>
Fri, 28 Jun 2013 08:51:28 +0000 (10:51 +0200)
committerMartin Pitt <martinpitt@gnome.org>
Fri, 28 Jun 2013 08:51:28 +0000 (10:51 +0200)
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
Makefile.am
keymaps-force-release/samsung-series-3 [new file with mode: 0644]
keymaps/samsung-series-3 [new file with mode: 0644]
src/udev/keymap/95-keyboard-force-release.rules
src/udev/keymap/95-keymap.rules

index 3ab1475..e0bcfaa 100644 (file)
@@ -2598,6 +2598,7 @@ dist_udevkeymap_DATA = \
        keymaps/oqo-model2 \
        keymaps/samsung-other \
        keymaps/samsung-series-9 \
+       keymaps/samsung-series-3 \
        keymaps/samsung-sq1us \
        keymaps/samsung-sx20s \
        keymaps/toshiba-satellite_a100 \
@@ -2612,6 +2613,7 @@ dist_udevkeymapforcerel_DATA = \
        keymaps-force-release/hp-other \
        keymaps-force-release/samsung-other \
        keymaps-force-release/samsung-series-9 \
+       keymaps-force-release/samsung-series-3 \
        keymaps-force-release/common-volume-keys
 
 src/udev/keymap/keys.txt: Makefile
diff --git a/keymaps-force-release/samsung-series-3 b/keymaps-force-release/samsung-series-3
new file mode 100644 (file)
index 0000000..bfa06e1
--- /dev/null
@@ -0,0 +1,2 @@
+0xCE   # Fn+F1  launch control setting
+0xD5   # Fn+F12 wifi on/off
diff --git a/keymaps/samsung-series-3 b/keymaps/samsung-series-3
new file mode 100644 (file)
index 0000000..52b2d64
--- /dev/null
@@ -0,0 +1,3 @@
+0xCE prog1     # Fn+F1  launch control setting
+0xB3 prog2     # Fn+F11 performance mode
+0xD5 wlan      # Fn+F12 wifi on/off
index a13403c..431a283 100644 (file)
@@ -20,6 +20,7 @@ ENV{DMI_VENDOR}="$attr{[dmi/id]sys_vendor}"
 
 ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", RUN+="keyboard-force-release.sh $devpath samsung-other"
 ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*90X3A*|*900X3*|*900X4*|*900XC3*", RUN+="keyboard-force-release.sh $devpath samsung-series-9"
+ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*300E5*|*300E4*|*300E7*|*270E5*|*270E4*", RUN+="keyboard-force-release.sh $devpath samsung-series-3"
 
 ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="Studio 1557|Studio 1558", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
 ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="*Latitude*|*Precision*", RUN+="keyboard-force-release.sh $devpath dell-touchpad"
index 18816f1..30c28a4 100644 (file)
@@ -163,6 +163,7 @@ ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="S
 ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*700Z*", RUN+="keymap $name 0xBA ejectcd 0x96 keyboardbrightnessup 0x97 keyboardbrightnessdown"
 ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*700T*", RUN+="keymap $name 0xAD leftmeta"
 ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*90X3A*|*900X3*|*900X4*|*900XC3*", RUN+="keymap $name samsung-series-9"
+ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*300E5*|*300E4*|*300E7*|*270E5*|*270E4*", RUN+="keymap $name samsung-series-3"
 
 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"