Commit Graph

6 Commits

Author SHA1 Message Date
Eli Ribble e65e442276 Add support for hotkey on capture.
We need this so that we can ensure to line up where our character is before we
get going.
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 4a0e7834b3 Flush stdout so our file gets written immediately 2024-07-30 19:44:32 -07:00
Eli Ribble ccc44b676c Show event content for keyboard. 2024-07-30 19:44:32 -07:00
Eli Ribble 54201de47b Add epoll implementation to capture keyboard and mouse.
Yay, double capture!
2024-07-30 19:44:32 -07:00
Eli Ribble ce83c74991 Add working beginnings of capture program.
Only does a single mouse at this point, but it's super fast and the resolution
is perfect.
2024-07-30 19:44:32 -07:00