summarylogtreecommitdiffstats
path: root/acpi-eeepc-904HD-events.conf
diff options
context:
space:
mode:
Diffstat (limited to 'acpi-eeepc-904HD-events.conf')
-rw-r--r--acpi-eeepc-904HD-events.conf56
1 files changed, 56 insertions, 0 deletions
diff --git a/acpi-eeepc-904HD-events.conf b/acpi-eeepc-904HD-events.conf
new file mode 100644
index 00000000000..68679dbf5dd
--- /dev/null
+++ b/acpi-eeepc-904HD-events.conf
@@ -0,0 +1,56 @@
+# 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/>.
+
+
+# Silver buttons
+KEY_SILVER1="0000001a" # Blank
+KEY_SILVER2="0000001b" # Change resolution
+KEY_SILVER3="0000001c" # User 1
+KEY_SILVER4="0000001d" # User 2
+
+# Fn+F? combination
+KEY_Fn_F1="00000080" # Sleep
+KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
+KEY_Fn_F3="0000002*" # Brightness down
+KEY_Fn_F4="0000002*" # Brightness up
+KEY_Fn_F5=("00000030" "00000031" "00000032") # XRandR
+KEY_Fn_F6="00000012" # Task Manager
+KEY_Fn_F7="00000016" # Mute
+KEY_Fn_F8="00000014" # Volume Down
+KEY_Fn_F9="00000015" # Volume Up
+
+
+#################################################################
+### Match previous to functions
+EEEPC_BLANK=$KEY_SILVER1
+EEEPC_RESOLUTION=$KEY_SILVER2
+EEEPC_USER1=$KEY_SILVER3
+EEEPC_USER2=$KEY_SILVER4
+
+EEEPC_SLEEP=$KEY_Fn_F1
+EEEPC_WIFI_UP=${KEY_Fn_F2[0]}
+EEEPC_WIFI_DOWN=${KEY_Fn_F2[1]}
+EEEPC_BRIGHTNESS_UP=$KEY_Fn_F4
+EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F3
+EEEPC_XRANDR_TOGGLE_0=${KEY_Fn_F5[0]}
+EEEPC_XRANDR_TOGGLE_1=${KEY_Fn_F5[1]}
+EEEPC_XRANDR_TOGGLE_2=${KEY_Fn_F5[2]}
+EEEPC_TASKMAN=$KEY_Fn_F6
+EEEPC_VOL_MUTE=$KEY_Fn_F7
+EEEPC_VOL_DOWN=$KEY_Fn_F8
+EEEPC_VOL_UP=$KEY_Fn_F9
+