Skip to content

A simple tool that generates 3d plots of trackpad motion and pressure using libinput

Notifications You must be signed in to change notification settings

zfortier/trackpad_movement_pressure_visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Mouse Pressure Plotter

Used to visualize the movement and pressure of trackpad events captured using libinput record

Usage

first, record some output using libinput:

$ libinput record /dev/input/event15 > data

replace the device path with whatever your trackpad is assigned. Then input your test movements and stop recording with crtrl-c.

Now run the script:

./mouse_data_parser.py data

it should generate a 3d plot that shows the trajectory and pressure recorded for the trackpad during the test input.

Requirements

  • A sane linux installation
  • Python 3
  • libinput
  • numpy
  • pandas
  • sympy (not actually used but could allow for some interesting analysis)
  • matplotlib (pyplot)
  • mpl_toolkits (mplot3d)

About

A simple tool that generates 3d plots of trackpad motion and pressure using libinput

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages