4.6.30.1 Functions
void USB_HIDKeyboardInitialize (USB_HID_REPORT_DESCRIPTOR_t *reportPtr, USB_HID_REPORT_CALLBACK_t callback)
Sets up the keyboard application for use with the HID class.
RETURN_CODE_t USB_HIDKeyModifierDown (uint8_t modifierID)
Updates the keyboard report by adding the pressed modifier key in the modifier byte in the report array.
RETURN_CODE_t USB_HIDKeyModifierUp (uint8_t modifierID)
Updates the keyboard report by removing the released modifier key in the modifier byte in the report array.
int8_t USB_HIDKeyCodeIndexGet (uint8_t keyID)
Checks the report array to see that the key is already present.
RETURN_CODE_t USB_HIDKeyPressDown (uint8_t keyID)
Updates the keyboard report by adding the pressed key at the first available byte in the report array.
RETURN_CODE_t USB_HIDKeyPressUp (uint8_t keyID)
Updates the keyboard report by removing the released key and shifts the registered keys towards the beginning of the report array.