summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2020-07-02 12:18:42 +0200
committerMarcel Hollerbach <marcel@osg.samsung.com>2020-07-21 15:26:34 +0200
commit4678fa60c2759e2ce99334abd4cbf471865825d6 (patch)
tree6d7993ec9feddf064ae8e06f0c5493053bab6f9b /meson_options.txt
parente6609541b1863e17f268c6b66ff42621e4dc1f06 (diff)
downloadenlightenment-4678fa60c2759e2ce99334abd4cbf471865825d6.tar.gz
Introduce gesture recognition
This is currently using libinputs gesture recognition. And offers a config screen to setup new gestures. 1. No default gesture bindings are setup 2. When libinput is not available the module is not going to be loaded, and nothing is recognited.+ 3. Only swipe gestures are recognized yet. 4. For now, you are required to be part of the input group, otherwise we cannot get the libinput events. (See Todo 1) 5. The visual representation is not really good. In terms of UI, it is visually showing a value coming from left to right, which is indicating a direction, which is not always the direction of the gesture, which is kind of bad. More improvements needed here. Some things that still can be done: 1. The whole libinput things should be handled by elput, either with the input group hack, or logind, or simply by root. The ideal idea would be that e_sys is creating the elput context, which also listens for new devices etc.. When all this is done, and it recognizes a new device, it can simply sent a message from e_sys to e, that there is some new device, with a opened fd. (However, this all needs to be locked up in a way that e_sys cannot be abused)
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 016dd81249..faedfeada8 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -297,3 +297,7 @@ option('conf-window-remembers',
type: 'boolean',
value: true,
description: 'enable conf-window-remembers module: (default=true)')
+option('gesture-recognition',
+ type: 'boolean',
+ value: true,
+ description: 'Enable gesture recognition using libinput, needed to get swipe bindings beeing detected.')