1 # [EventAction] - define event and corresponding action
3 # - define mnemonic for the event, and it is only used for logging
5 # - define an integer that represents the event. deviced uses this
6 # integer in broadcasting dbus signal.
8 # - define keycode to filter key event
9 # DetectionRangeMsec=integer,integer
10 # - define time window in milisecond for filtering key event. -1 means no limit.
11 # TriggerType=level/edge
14 # - Broadcast upon occuring an event, default no.
15 # ActionChangeState=current,next
16 # - define state transition action for the event.
17 # WakeLockDurationSec=
18 # - acquire wakelock for a specfied timeout
24 DetectionRangeMsec=0,2000
33 DetectionRangeMsec=2000,7000
41 DetectionRangeMsec=0,2000
49 DetectionRangeMsec=2000,7000
51 ActionChangeState=normal,sleep
52 ActionChangeState=sleep,normal
58 DetectionRangeMsec=7000,-1
60 ConditionVconf=memory/sysman/charger_status,int,0
61 ActionChangeState=normal,poweroff
63 # This doesn't trigger any action.
64 # It is just for logging that bluetooth key has been pressed for 2000ms
66 Name=BTKEY_CHECKPOINT_LONG
69 DetectionRangeMsec=2000,-1
72 # This doesn't trigger any action.
73 # It is just for logging that powerkey has been pressed for 2000ms
75 Name=PWKEY_CHECKPOINT_LONG
78 DetectionRangeMsec=2000,-1
81 # Powerkey has been pressed for 7000ms
82 # It is just for logging that powerkey has been pressed for 7000ms
84 Name=PWKEY_CHECKPOINT_LONGEST
87 DetectionRangeMsec=7000,-1