gesture-app
Installation
You can simply use pip to install gesture-app
:
$ pip install gesture-app
Features
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.
How to use
This app currently detects 1 gesture i.e high-five. We can configure trigger diferent keyboard inputs to this gesture.
commands
register
gesture-app register
Use this to register yourself as a user and save your custom keyboard actions
start
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
addaction
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"
showaction
To display all the actions that are currently present in config use the following
gesture-app showactions
showgesture
You can use this to get gesture names that are currently present.
gesture-app showgestures
mapActionWithGesture
-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"
TroubleShooting
If there are any issues, please write to us at
meghajindal1997@gmail.com
vempaliakhil96@gmail.com
License
This project is licensed under the Apache License,
see the LICENSE file for details.