An embarrassingly large number of typos:

On 1/19/2023 2:19 PM, Gregory Nutt wrote:
Should be pretty easy.  I think that you just need to add a HID report descriptor to the USB keyboard driver. https://wiki.osdev.org/USB_Human_Interface_Devices#Protocol. Shouldn't really require any code development other than the logic needed to provide the HID descriptor to the host when enumerated. The driver already uses the HID report, it just does not advertise it.

On some MCUs with cheap, non-standard USB mini-host host implementations, the keyboard driver may require a lot of tuning. Older STM32s, for example, do not support a "hanging read", rather they require that the host poll to get the keyboard data.  Untuned polling may result in data loss or duplicated characters.

Reply via email to