zig-bare-metal-raspberry-pi icon indicating copy to clipboard operation
zig-bare-metal-raspberry-pi copied to clipboard

keyboard support?

Open andrewrk opened this issue 4 years ago • 2 comments

Do you know how to do keyboard support? I was thinking of using it to make a simple game

andrewrk avatar Nov 03 '19 00:11 andrewrk

I don’t yet know how to do keyboard support. I don’t yet have a plan for usb. Up to the rpi4b the pi models don’t use an industry standard usb controller. The rpi4b might (or might not) be easier in that regard. In my lab I ssh to another pi running raspbian and then use minicom over a serial line.

This in part drove me to the tv remote controller as a source of input. Would you be interested in a pr to clashos for that?

ble (bluetooth low energy) keyboards along with other ble peripherals might be working soon. I’ve just about finished getting ble peripheral advertisement reception working and will release it on Monday. Then getting the pi to connect with and communicate with a peripheral will require implementing gap and gatt protocols which are well-specified.

markfirmware avatar Nov 03 '19 04:11 markfirmware

Would you be interested in a pr to clashos for that?

Hmm. I'm hoping to come up with some kind of input that I can demo at handmade con in 2 weeks. I think it would be difficult to ensure that I had a compatible TV and remote when traveling for this.

The Bluetooth thing sounds promising.

If all else fails I have the zig logo bouncing around the sides of the monitor as a fallback.

Btw I have some improvements to send you, I will try to put together a PR soon.

andrewrk avatar Nov 04 '19 01:11 andrewrk