884
Important Message
(lemmy.world)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Technically, interrupts are still often involved... just from the USB controller on the state of the polling instead of the keyboard directly on a keypress
https://en.wikipedia.org/wiki/USB_human_interface_device_class#Keyboards
So if i created my own keyboard from scratch on a open hardware microcontroller, could i implement this?
There's also the case of Bluetooth dongle keyboards not working in UEFI (except that one) but USB always do. Is it this or just the UEFI not having drivers?
The USB controller that interrupts the CPU lives on the other side of the connection, so you'd just be building hardware that responses to the polling. If you're curious what that looks like, Ben Eater has a cool video looking at what that looks like for a USB 2 keyboard https://youtu.be/wdgULBpRoXk
I am no USB Keyboard expert, but through the power of looking it up it seems like most of these do not operate as a HID (human interface device, like mouse and keyboard) so need driver support, but some start up with a basic HID proxy which might be you have one that works. From an older thread about BIOSes rather than UEIFs
https://superuser.com/questions/242457/use-a-bluetooth-keyboard-to-access-edit-the-bios
Well, thanks for looking it up!