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/>.
25 KEY_Fn_F1="00000080" # Sleep
26 KEY_Fn_F2=("00000010" "00000011") # Wifi toggle
27 KEY_Fn_F3="00000037" # Touchpad
28 KEY_Fn_F4="00000038" # Resolution
29 KEY_Fn_F5="0000002*" # Brightness down
30 KEY_Fn_F6="0000002*" # Brightness up
31 KEY_Fn_F7="00000016" # Cross Screen Icon (Blank)
32 KEY_Fn_F8="00000030" # XRandR
33 KEY_Fn_F9="00000012" # Task Manager
34 KEY_Fn_F10="00000013" # Mute
35 KEY_Fn_F11="00000014" # Volume Down
36 KEY_Fn_F12="00000015" # Volume Up
37 KEY_Fn_Space="00000039" # Space Bar
40 #################################################################
41 ### Match previous to functions
42 EEEPC_SHE_TOGGLE=$KEY_Fn_Space
44 EEEPC_SLEEP=$KEY_Fn_F1
45 EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
46 EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
47 EEEPC_ROTATE=$KEY_Fn_F4
48 EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
49 EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
50 EEEPC_SCREEN_OFF=$KEY_Fn_F7
51 EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
52 EEEPC_TASKMAN=$KEY_Fn_F9
53 EEEPC_VOL_MUTE=$KEY_Fn_F10
54 EEEPC_VOL_DOWN=$KEY_Fn_F11
55 EEEPC_VOL_UP=$KEY_Fn_F12