The function usbh_hid_kbd_getkey retrieves the keyboard key. The argument ctrl is the index of USB Host Controller. The argument dev_idx is the index of device instance. Implementing this function in user code overrides library function that handles boot protocol device keyboard input. The usbh_hid_kbd_getkey function is part of the RL-USB Host Class Driver software layer. |