Commit graph

15 commits

Author SHA1 Message Date
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
6ed5162e8e Add playback implementation in C.
It doesn't do anything but read lines yet.
2024-07-30 19:44:32 -07:00
4a0e7834b3 Flush stdout so our file gets written immediately 2024-07-30 19:44:32 -07:00
165623fa20 Add basic Makefile and output directory 2024-07-30 19:44:32 -07:00
ccc44b676c Show event content for keyboard. 2024-07-30 19:44:32 -07:00
54201de47b Add epoll implementation to capture keyboard and mouse.
Yay, double capture!
2024-07-30 19:44:32 -07:00
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
692772f809 Add working C program to get tiny mouse movements.
Turns out that the Python mouse library is losing the fine-grained mouse
position data, which we really need.
2024-07-30 19:44:32 -07:00
02f04b78a6 Show mouse raw input from mouse library.
I'm missing a bunch of precision which is no good for capture.
2024-07-30 19:44:32 -07:00
71553e0648 Add my uinput test program.
I used this to debug the interations with the kernel module in
the Python code and determine which structs or constants had changed.
2024-07-30 19:44:32 -07:00
76f9b495e2 Add a short program to dump key information. 2024-07-30 19:44:32 -07:00
17bcf23de2 Add initial gitignore 2024-07-30 19:44:32 -07:00
342926610b Add initial working implementation of capture and playback.
This only works on my system with my modified version of
the mouse library.
2024-07-30 19:44:32 -07:00
ff8955506d Add initial README. 2024-07-30 19:44:30 -07:00
f55fa715f2 Initial commit 2024-07-30 19:43:16 -07:00