Commit Graph

4 Commits

Author SHA1 Message Date
Eli Ribble a3579fd339 Add support for playing back keyboard messages.
Also fix a timing bug where I was waiting 1 second too long
any time the nansec clock rolled over.
2024-07-30 19:44:32 -07:00
Eli Ribble 829432d443 Make mouse playback work.
This only includes left mouse button clicks, not right mouse button
clicks or scrollwheels.
2024-07-30 19:44:32 -07:00
Eli Ribble 61843f23c3 Add sleep logic in playback.
This also removes the "." between the seconds and nanos so that we don't mistake it
for a float, which it isn't.
2024-07-30 19:44:32 -07:00
Eli Ribble 6ed5162e8e Add playback implementation in C.
It doesn't do anything but read lines yet.
2024-07-30 19:44:32 -07:00