summarylogtreecommitdiffstats
path: root/acpi-eeepc-1201N-events.conf
diff options
context:
space:
mode:
authorAndré Fettouhi2015-10-31 19:22:05 +0100
committerAndré Fettouhi2015-10-31 19:22:05 +0100
commit4e2883b63c51873f7b913d93003f888179e0175f (patch)
tree1454836ec6f40467b8e7ffa7efd4961486f9c541 /acpi-eeepc-1201N-events.conf
downloadaur-acpi-eeepc-generic.tar.gz
Initial import
Diffstat (limited to 'acpi-eeepc-1201N-events.conf')
-rw-r--r--acpi-eeepc-1201N-events.conf51
1 files changed, 51 insertions, 0 deletions
diff --git a/acpi-eeepc-1201N-events.conf b/acpi-eeepc-1201N-events.conf
new file mode 100644
index 00000000000..1f5eab25f0b
--- /dev/null
+++ b/acpi-eeepc-1201N-events.conf
@@ -0,0 +1,51 @@
+# Copyright 2009 Nicolas Bigaouette
+# This file is part of acpi-eeepc-generic.
+# http://code.google.com/p/acpi-eeepc-generic/
+#
+# acpi-eeepc-generic is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# acpi-eeepc-generic is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
+
+
+# This laptop has one silver button (touchpad), witch give same code as Fn+F9
+
+# Fn+F? combination
+KEY_Fn_F1="00000080" # Sleep
+KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
+# Fn+F3 and Fn+F4 does not have functions
+KEY_Fn_F5="0000002*" # Brightness down
+KEY_Fn_F6="0000002*" # Brightness up
+KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
+KEY_Fn_F8="00000030" # XRandR
+KEY_Fn_F9="00000037" # Touchpad
+KEY_Fn_F10="00000013" # Mute
+KEY_Fn_F11="00000014" # Volume Down
+KEY_Fn_F12="00000015" # Volume Up
+KEY_Fn_Space="00000039" # Space Bar
+KEY_Fn_C="0000003c" # Resolution
+
+
+#################################################################
+### Match previous to functions
+
+EEEPC_SLEEP=$KEY_Fn_F1
+EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
+EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
+EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
+EEEPC_SCREEN_OFF=$KEY_Fn_F7
+EEEPC_XRANDR_TOGGLE=$KEY_Fn_F8
+EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F9
+EEEPC_VOL_MUTE=$KEY_Fn_F10
+EEEPC_VOL_DOWN=$KEY_Fn_F11
+EEEPC_VOL_UP=$KEY_Fn_F12
+EEEPC_SHE_TOGGLE=$KEY_Fn_Space
+EEEPC_RESOLUTION=$KEY_Fn_C