HIDDKeyboardDriver.h
Default mainpage
at91lib
usb
device
hid-keyboard
HIDDKeyboardDriver.h
Description
Overview
Description
Purpose
Definition of methods for using a HID keyboard
device
driver.
Usage
Re-implement the
USBDCallbacks_RequestReceived
callback to forward requests to
HIDDKeyboardDriver_RequestHandler
. This is done automatically unless the NOAUTOCALLBACK symbol is defined during compilation.
Initialize the driver using
HIDDKeyboardDriver_Initialize
. The USB driver is automatically initialized by this method.
Call the
HIDDKeyboardDriver_ChangeKeys
method when one or more keys are pressed/released.