#include <rl_usb.h>
int usbh_hid_kbd_getkey (
U8 ctrl,
U8 dev_idx
);
Description
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.
Return Value
Value of retrieved keyboard signal. Value of -1 means that no new
key data was available.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.