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
|
# power twice => toggle media player
|
||||||
handle_with playerctl play-pause
|
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
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user