4.4.10.3.2 USB_HIDKeyCodeIndexGet()

int8_t USB_HIDKeyCodeIndexGet (uint8_t keyID)

Checks the report array to see that the key is already present.

Parameters:
keyID

- ID of the key being pressed

Returns:

HID_KEYID_NOT_FOUND or location in array where the key is already present