Leap Motion based Python script that has various gestures and can work as a substitute for the mouse.
The project consists of a single ~150 line script that can be configured for any screen and has the following gestures:
- Cursor control using the right index finger
- Touch to select
- Swipe to scroll
- Pinch to close applications
Python Version: 2.7.15
Leap Motion SDK version: 3.2.1
External Libraries Used: pynput
Video Link: https://youtu.be/M7c9KHRiRY0
Note: Make sure the screen you are using isn't a secondary screen.
- Place the Leap Motion at the bottom center of your screen
- Start the python script and pinch your fingers at the top-left corner, top-right corner and the bottom middle corner in that order.
- You are now ready to go!