recave <events datafile> [ <time resolution> ]
The events datafile is the file to write the events to. See the playave help file for a description of the format.
The time resolution is the number of milliseconds between checking the mouse position. Keyboard and mouse button events are recorded immediately, but the mouse position is only probed every once in a while given by the time resolution. The mouse position is only recorded if it has changed. The default time resolution is 20 milliseconds.
When run, recave will wait for a trigger to start recording. The default trigger is the toggling of the capslock key. It will record until the capslock is again toggled, and exit.
Feel free to edit the produced events datafile, for example to remove any unneeded events at the end or start of the file.