1 # Copyright 2009 Nicolas Bigaouette
2 # This file is part of acpi-eeepc-generic.
3 # http://code.google.com/p/acpi-eeepc-generic/
5 # acpi-eeepc-generic is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # acpi-eeepc-generic is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
20 KEY_SILVER1="00000039" # Single silver hotkey
23 KEY_Fn_F1="00000080" # Sleep
24 KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
25 KEY_Fn_F5="0000002*" # Brightness down
26 KEY_Fn_F6="0000002*" # Brightness up
27 KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
28 KEY_Fn_F8=("00000030" "00000031" "00000032") # XRandR
29 KEY_Fn_F9="00000012" # Task Manager
30 KEY_Fn_F10="00000013" # Mute
31 KEY_Fn_F11="00000014" # Volume Down
32 KEY_Fn_F12="00000015" # Volume Up
35 #################################################################
36 ### Match previous to functions
37 EEEPC_BLANK=$KEY_SILVER1
38 EEEPC_RESOLUTION=$KEY_SILVER2
39 EEEPC_USER1=$KEY_SILVER3
40 EEEPC_USER2=$KEY_SILVER4
42 EEEPC_SLEEP=$KEY_Fn_F1
43 EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
44 EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
45 EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
46 EEEPC_SCREEN_OFF=$KEY_Fn_F7
47 EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
48 EEEPC_TASKMAN=$KEY_Fn_F9
49 EEEPC_VOL_MUTE=$KEY_Fn_F10
50 EEEPC_VOL_DOWN=$KEY_Fn_F11
51 EEEPC_VOL_UP=$KEY_Fn_F12