Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
node_modules/python-shell | 2 years ago | |
LICENSE | 2 years ago | |
MMM-flick-gestures.js | 2 years ago | |
README.md | 2 years ago | |
__init__.py | 2 years ago | |
monitor.py | 2 years ago | |
node_helper.js | 2 years ago | |
package-lock.json | 2 years ago | |
package.json | 2 years ago |
This module enables you to use the Flick Tracking and Gesture board with your Magic Mirror.
See: https://www.seeedstudio.com/Flick-Large-Standalone-3D-Tracking-and-Gesture-Breakout-p-2952.html
This module will emit 2 events - PAGE_DECREMENT when swiped left and PAGE_INCREMENT when swiped right.
Coming..
To use this module, add it to the modules array in the ‘config/config.js’ file:
modules: [
{
module: 'MMM-flick-gestures'
},
]
Flicklib python library installed
MGC3130 controller board
pip install flicklib
cd ~/MagicMirror/modules
git clone https://github.com/jancalve/MMM-flick-gestures
cd MMM-flick-gestures
npm install
This module expects to be installed in /home/pi/MagicMirror/modules/MMM-flick-gestures
If your path is different, you’ll have to update myPythonScriptPath in node_helper.js to reflect
your MagicMirror path.
(If anyone has any idea how to make this more user-friendly, do make a pull request!)
Support north/south/airwheel/tap gestures
Configurable gesture to event mapping
This module is essentially a NodeJS wrapper of the Flick Board demo scripts written in python.
See https://github.com/PiSupply/Flick/blob/master/bin/flick-demo