4 ms·
I'd expect the Pi Zero W to be fast enough to pass through the MJPEG stream and impersonate the keyboard, which should cut the cost by $20+ plus however much yo
by Scaevolus 6y ago
I'd expect the Pi Zero W to be fast enough to pass through the MJPEG stream and impersonate the keyboard, which should cut the cost by $20+ plus however much you save on not needing a fancy case.
- mtlynch 6y agoYeah that's true. I stopped thinking about the Pi Zero W early in the project because I assumed it would choke on video encoding. When I discovered that the HDMI dongle was doing the heavy lifting, I forgot to revisit that assumption. I'm going to order an USB to micro-USB adaptor to test it out because it would slim things down significantly.
- Scaevolus 6y agoWoops, forgot the major issue-- the Pi Zero only has one USB port (the other is just for power), so you couldn't get video frames in at the same time as you pretended to be a keyboard.
- mtlynch 6y agoThe Pi Zero's power port is actually a USB OTG port. I used it in my precursor project to forward keystrokes: https://mtlynch.io/key-mime-pi/ https://mtlynch.io/key-mime-pi/
- magicalhippo 6y agoOn the web page you explicitly say to connect it to the port labelled "USB", which is not the power port.
- mtlynch 6y agoWhoops, you're right. I misremembered. It's power on the Pi 4 and data on the Pi Zero. Thanks for the correction!
- deleted 6y ago[deleted]