hidutils / hid-recorder

A utility to record HID data from /dev/hidraw devices
MIT License
1 stars 4 forks source link

Split into multiple backends and add support for hid/libinput recording parsing #41

Closed whot closed 3 months ago

whot commented 3 months ago

This is a bit messy and there's more future cleanup possible but meanwhile this is it:

The latter is a bit unrelated but copy/pasting the same printf statements was getting annoying.

The goal eventually is to make the Outfile functions color-support-aware so we can fix #39

whot commented 3 months ago

I'm going to merge this because it works even though it's not yet as pretty as it can be. In particular, it'd be nice to have the markers only in non-colour output and rely on the color output only otherwise but that requires a bit more rework (and probably ditching owo_colors). Anyway, it does the job for now.