Skip to content
master
Go to file
Code
This branch is 11 commits ahead of kimmoli:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
rpm
 
 
src
 
 
 
 
 
 

README.md

gesture-daemon

A userland daemon for handling sleep mode gestures in Sailfish OS.

Configuration

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.

Adaptation

If your device supports this feature, getting sleep mode gestures working in SFOS may need the following changes:

  1. Make touchscreen driver emit EV_MSC and MSC_GESTURE events instead of EV_KEY and KEY_* ones
  2. Create an MCE config to match the touchscreen driver emitted codes
  3. Fork and edit the sources as needed to match your device's /proc/touchpanel/* entries
    1. If you have a different ${gesture}_enable entry for different gestures => change the existing sources as you wish
    2. If you have a single gesture_enable entry => revert the following commit

About

A userland daemon for handling sleep mode gestures in Sailfish OS

Resources

Packages

No packages published
You can’t perform that action at this time.