Skip to content

Instantly share code, notes, and snippets.

@a1ea321
a1ea321 / footmouse.py
Created July 16, 2018 12:05
footbased mouse
from sensor import Sensor
from pymouse import PyMouse
s = Sensor()
m = PyMouse()
# init sensor
while not s.get_single_sample(): pass