sxmo: inputhandler: map powerx3 from screenoff state
This commit is contained in:
parent
d740dbe049
commit
bc8cf58b5a
|
@ -102,6 +102,10 @@ if [ "$STATE" = "screenoff" ]; then
|
|||
# power twice => toggle media player
|
||||
handle_with playerctl play-pause
|
||||
;;
|
||||
"powerbutton_three")
|
||||
# power once during deep sleep often gets misread as power three, so treat these same
|
||||
handle_with sxmo_state_switch.sh set unlock
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user