sxmo: inputhandler: map powerx3 from screenoff state

This commit is contained in:
Colin 2023-10-10 00:02:31 +00:00
parent d740dbe049
commit bc8cf58b5a

View File

@ -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