Gadgetoid / pi400kb

Raw HID keyboard forwarder to turn the Pi 400 into a USB keyboard
MIT License
269 stars 36 forks source link

Pass through all the devices #41

Open Daft-Freak opened 1 year ago

Daft-Freak commented 1 year ago

... well, up to four because of kernel limit on HID functions.

Ended up looking at this more than I intended to, so there are a bunch of changes here.

Currently this introduces a few new issues:

Gadgetoid commented 1 year ago

This is beautifully awesome. Thank you! Time to dig up a Pi 400 👀

I have a suspicion the keyboard's dual devices are the keyboard itself - probably regular boot protocol - plus a separate media keys device. I guess the keyboard controller is pretty turnkey, so it made no sense for the Pi 400 to diverge away from it. (Though I suspect just because I can't imagine why a Pi 400 would ever need a boot compatible keyboard, doesn't mean there isn't a reason.)

Gadgetoid commented 1 year ago

Fired up a Pi 400, remembered to follow my own instructions, got it up and running, and it just goes BOOP BEEP BOOP and grabs all the things and just works.

Slightly less success with my 8bitdo ultimate controller (2.4GHz/USB HID), but it's the K(v)M that matters.

Very, very nice.

HarvsG commented 1 year ago

Merge?

JackDanger commented 1 year ago

This is wonderful. Would love a merge!