Comment

Comment by peterburkimsher

Intro for those who aren't familiar:

TinyUSB allows a programmable chip (e.g. ESP32, SAM, STM32) to read USB flash drives, or behave as a keyboard and mouse.

A similar library for Arduino is V-USB.

https://hackaday.com/tag/tinyusb/

Question for the experts: is it possible to do USB pass-through monitoring?

Specifically, I have an Apple Magic Keyboard connected to the Dell work PC. I'd like to capture the F7-F12 keys, and use them to control the music on my iPod. Currently I use an AutoHotKey script to send serial commands from the PC, but having 2 FTDI cables plugged in sometimes causes issues.

Yes, I'm effectively suggesting a keylogger, but without trying to record the keystrokes, just use them to trigger another UART. It could also be really nice to remap the Command key to Ctrl (again, I work around this with AutoHotKey, but it's imperfect).

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton