4 ms·
Can you use the keyboard.... as a keyboard for other computers?
by prox 6y ago
Can you use the keyboard.... as a keyboard for other computers?
- omk 6y agoWith a little bit of code, you should be able to pipe keyboard input to one of the USB ports.
- daemin 6y agoThere's a project that did that but for a different purpose - a network KVM using a Pi4 - https://mtlynch.io/tinypilot/ https://mtlynch.io/tinypilot/ 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.
- sdenton4 6y agoOne of my main uses for random keyboards is hooking them onto a raspberry pi that needs some local debugging...
- geerlingguy 6y agoYes, I think Gordon Hollingsworth from Raspberry Pi has posted somewhere specifically how to do it (maybe in the comments on the post on the Pi website?).
- prox 6y agoFound it! Merci :) >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
- undersuit 6y agoNice, it's probably using the USB gadget functionality. That probably means you could modify the image to access a bunch of the ports. Having the ability to turn my Pi Debugging Keyboard into a USB Ethernet adapter would have some advantages.
- prox 6y agoYeah lots of interesting possibilities to think about!
- Firehawke 6y agoHere's an interesting idea: 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.
- ahnick 6y agoYou should probably be able to use Synergy (https://symless.com/synergy https://symless.com/synergy)