My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# 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="00000037" # Touchpad
KEY_Fn_F4="00000038" # Resolution
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="00000012" # Task Manager
KEY_Fn_F10="00000013" # Mute
KEY_Fn_F11="00000014" # Volume Down
KEY_Fn_F12="00000015" # Volume Up
KEY_Fn_Space="00000039" # Space Bar

# Other ACPI events
POWER_AC="00000050"
POWER_BAT="00000051"



# Match previous to functions
EEEPC_BLANK=$KEY_SILVER1
EEEPC_RESOLUTION=$KEY_SILVER2
EEEPC_USER1=$KEY_SILVER3
EEEPC_USER2=$KEY_SILVER4
EEEPC_USER3=$KEY_Fn_Space

EEEPC_SLEEP=$KEY_Fn_F1
EEEPC_WIFI_TOGGLE=${KEY_Fn_F2[0]}
EEEPC_WIFI_UP=NONE
EEEPC_WIFI_DOWN=NONE
EEEPC_TOUCHPAD_TOGGLE=$KEY_Fn_F3
EEEPC_RESOLUTION=$KEY_Fn_F4
EEEPC_BRIGHTNESS_UP=$KEY_Fn_F5
EEEPC_BRIGHTNESS_DOWN=$KEY_Fn_F6
EEEPC_SCREEN_OFF=$KEY_Fn_F7
EEEPC_XRANDR_TOGGLE=${KEY_Fn_F8[0]}
EEEPC_XRANDR_CLONE=NONE
EEEPC_XRANDR_VGA=NONE
EEEPC_XRANDR_LCD=NONE
EEEPC_TASKMAN=$KEY_Fn_F9
EEEPC_VOL_MUTE=$KEY_Fn_F10
EEEPC_VOL_DOWN=$KEY_Fn_F11
EEEPC_VOL_UP=$KEY_Fn_F12

Change log

r392 by nbigaouette on Mar 22, 2009   Diff
Change license to GPL 3 and added
copyright headers
Go to: 
Project members, sign in to write a code review

Older revisions

r363 by nbigaouette on Mar 15, 2009   Diff
Added 1000HE events. Also adapted the
configuration file and the handler to
support more keys
r353 by nbigaouette on Feb 22, 2009   Diff
Branch 0.9 created from trunk -r351
r217 by nbigaouette on Jan 22, 2009   Diff
Repo reorganisation
All revisions of this file

File info

Size: 2149 bytes, 69 lines
Powered by Google Project Hosting