This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| count mouse movements | |
| first run `xinput -list` and note id of your mouse | |
| then run `python mouse.py {id}` and | |
| keep it running till you want to count mouse movements | |
| it will update a file in working directory with current stats | |
| every 100 movements. this file will be named as starting time | |
| of the script. | |
| """ | |
| import sys |