toca
A library for record/display keyboard and mouse actions in a period of time.
record: Continuously record mouse/keyboard behavior until a presetstop-keyis 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 the usage method in the examples folder.