>It would be possible to do this, but you’d have to run a simple buildroot SD card which runs a suitable dwc2 OTG HID driver to pretend it is a keyboard…
Otherwise, you can use the Pi 400 as a Barrier server to the other computer… See my other blog post for details!
Gordon
A build of KeePass that uses the OTG mode for autotype. You plug the Pi 400 into a USB port on your device (whether computer, console, or whatever) and the password file is never on the computer in the first place.
Edit to add:
Might work better with a tablet build of the Pi, though, and you'd probably still want it to sync the file to Dropbox or some other storage place for safety.
It had to use the one USB-C connector that's used for power for emulating the keyboard and mouse since that's the only one that supported USB-OTG. So you kind of either need PoE or another adapter to both power the device and be able to hae the Pi act as an input device.