#mouse #keyboard #record #mouse-event #simulation

toca

a library for record/display keyboard and mouse actions in a period of time

2 releases

0.1.1 Jul 8, 2022
0.1.0 Jul 8, 2022

#1629 in Hardware support

33 downloads per month

MIT license

72KB
1.5K SLoC

toca

repository | issue | mail

A library for record/display keyboard and mouse actions in a period of time.

  • record: Continuously record mouse/keyboard behavior until a preset stop-key is detected.
  • display: Plays a sequence of mouse/keyboard behavior events of the specified type and position(position is just for mouse event).

You can find all the usage in the examples folder.

CHANGELOG

  • v0.1.0
    • record mouse event.
    • display mouse event.
    • record keyboard event.
    • display keyboard event.
  • v0.1.1
    • support from_string to generator action from json.
    • support to_string to serialize action to json.

Dependencies

~1–31MB
~389K SLoC