Skip to content

Commit

Permalink
[powerkey] Vibrate when locking device via double powerkey press. Fix…
Browse files Browse the repository at this point in the history
…es JB#24488

Vibrate powerkey action is available.

Use it when making double press from display on to provide tactile
feedback when device lock is going to get applied in addition to
just turning the display off.
  • Loading branch information
spiiroin committed Sep 10, 2015
1 parent 1b539e5 commit d03288c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powerkey.h
Expand Up @@ -117,7 +117,7 @@ typedef enum
#define DEFAULT_POWERKEY_ACTIONS_SINGLE_ON "blank,tklock"

/** Default actions for double press while display is on */
#define DEFAULT_POWERKEY_ACTIONS_DOUBLE_ON "blank,tklock,devlock"
#define DEFAULT_POWERKEY_ACTIONS_DOUBLE_ON "blank,tklock,devlock,vibrate"

/** Default actions for long press while display is on */
#define DEFAULT_POWERKEY_ACTIONS_LONG_ON "shutdown"
Expand Down

0 comments on commit d03288c

Please sign in to comment.