Skip to content

animasonus/MouseTracks

 
 

Repository files navigation

MouseTrack

Track and display mouse movements/clicks over time. Old movements will get faded so it can be left running indefinitely.

This was made with the intention of recording mouse movements over multiple resolutions then merging them together. It is used by loading (and forgetting about) start_tracking.py, and using generate_images.py to create the images. All the calculations are done in a background process, so that the tracking part will be able to run constantly without any CPU heavy calculations interfering with it.

If you have multiple monitors, they are merged into the same file. By default, the tracking area is limited to the application window, but with no application detected, it will fall back to tracking all monitors.

Current Features:

  • Track position, clicks and key presses over multiple resolutions and monitors
  • Generate colourful mouse tracks and a heatmap of clicks and key presses (for everything or just the latest session)
  • Fade old mouse tracks to keep recent tracks more visible
  • Record and adjust resolution based on the currently focused window
  • Automatically keep separate tracks for different applications (defined in "AppList.txt")
  • Perodically update AppList.txt from the internet, keeping and sorting all the old values, and adding any new ones
  • Edit settings with config.ini
  • Full Windows support
  • Some Linux support (WIP)
  • Some Mac support (WIP)

Example Output:

Colour Maps:
Chalk:
Citrus:
Demon:
Sunburst:
Ice:
Hazard:
Spiderman:
Sketch:
Lightning:
Razer:
BlackWidow:
Grape:
Neon:
Shroud:

Game Genres:
Twin Stick:
FPS:
RTS:
MOBA:

Requirements:

  • Numpy (required to generate images)
  • Pillow (required to generate images)
  • scipy (required to generate images) - included in code
  • psutil (required for application focus detection)
  • pywin32 (optional - more efficient Windows tracking)
  • AppKit (required for Mac tracking)
  • pyxhook (required for Linux tracking) - included in code

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Batchfile 0.1%