A userland daemon for handling sleep mode gestures in Sailfish OS.
Enabled gestures are controlled via dconf @ /apps/onyxgestures/enabled-gestures
:
[apps/onyxgestures]
enabled-gestures=['double_tap', 'flashlight', 'music', 'camera', 'voicecall']
There is also a Sailfish OS settings plugin available for simple control of these values through the settings app.
If your device supports this feature, getting sleep mode gestures working in SFOS may need the following changes:
- Make touchscreen driver emit EV_MSC and MSC_GESTURE events instead of EV_KEY and KEY_* ones
- Create an MCE config to match the touchscreen driver emitted codes
- Fork and edit the sources as needed to match your device's
/proc/touchpanel/*
entries- If you have a different
${gesture}_enable
entry for different gestures => change the existing sources as you wish - If you have a single
gesture_enable
entry => revert the following commit
- If you have a different