# - acquire wakelock for a specfied timeout
[EventAction]
-Name=PWKEY_SHORT
+Name=PWKEY_SHORT_EDGE
Enum=1000
Keycode=power
DetectionRangeMsec=0,2000
ActionBroadcast=yes
[EventAction]
-Name=PWKEY_CHECKPOINT_LONG
+Name=PWKEY_LONG_LEVEL
Enum=1001
Keycode=power
DetectionRangeMsec=2000,-1
ActionBroadcast=yes
[EventAction]
-Name=PWKEY_LONG
+Name=PWKEY_LONG_EDGE
Enum=1002
Keycode=power
DetectionRangeMsec=2000,7000
ActionChangeState=sleep,normal
[EventAction]
-Name=PWKEY_CHECKPOINT_LONGEST
+Name=PWKEY_LONGEST_LEVEL
Enum=1003
Keycode=power
DetectionRangeMsec=7000,-1
ActionBroadcast=yes
[EventAction]
-Name=PWKEY_LONGEST
+Name=PWKEY_LONGEST_EDGE
Enum=1004
Keycode=power
DetectionRangeMsec=7000,-1
ActionChangeState=normal,poweroff
[EventAction]
-Name=BTKEY_SHORT
+Name=BTKEY_SHORT_EDGE
Enum=1005
Keycode=bluetooth
DetectionRangeMsec=0,2000
WakeLockDurationSec=5
[EventAction]
-Name=BTKEY_CHECKPOINT_LONG
+Name=BTKEY_LONG_LEVEL
Enum=1006
Keycode=bluetooth
DetectionRangeMsec=2000,-1
ActionBroadcast=yes
[EventAction]
-Name=BTKEY_LONG
+Name=BTKEY_LONG_EDGE
Enum=1007
Keycode=bluetooth
DetectionRangeMsec=2000,7000