You can simply use pip to install gesture-app
:
$ pip install gesture-app
Currently we can use the high-five gesture to trigger any keyboard command, by default it is set to
cmd+shift+3
for Mac. Windows users might need to reconfigure this. Please refer API documentation
on how to use the various commands.
This app currently detects 1 gesture i.e high-five. We can configure trigger diferent keyboard inputs to this gesture.
gesture-app register
Use this to register yourself as a user and save your custom keyboard actions
This commands starts the app with the present configuration, if no changes in app configurations have been made then default configuration is used.
gesture-app start
You can add keyboard actions like so. Note: These are not mapped to trigger when gesture is recognized, they are just saved
in config file for later use.
-a
: Name of the action
-s
: keyboard command
gesture-app addaction -a "copy text" -s "cmd+shift+3"
To display all the actions that are currently present in config use the following
gesture-app showactions
You can use this to get gesture names that are currently present.
gesture-app showgestures
-a
: Name of the action
-g
:Name of gesture
Please note that the action name should already be
registered using the addaction
command.
gesture-app mapActionWithGesture -a "copy text" -g "high_five"
If there are any issues, please write to us at
[email protected]
[email protected]
This project is licensed under the Apache License, see the LICENSE file for details.