Description
Source
Call Graph
HIDDKeyboardDriver_ChangeKeys
Reports a change in which keys are currently pressed or release to the host.


Syntax / parameters
unsigned char HIDDKeyboardDriver_ChangeKeys (unsigned char *pressedKeys, unsigned char pressedKeysSize, unsigned char *releasedKeys, unsigned char releasedKeysSize)
|
Name |
Type |
Default |
Description |
pressedKeys |
unsigned char *
|
|
Pointer to an array of key codes indicating keys that have been pressed since the last call to HIDDKeyboardDriver_ChangeKeys.
|
pressedKeysSize |
unsigned char
|
|
Number of key codes in the pressedKeys array.
|
releasedKeys |
unsigned char *
|
|
Pointer to an array of key codes indicates keys that have been released since the last call to HIDDKeyboardDriver_ChangeKeys.
|
releasedKeysSize |
unsigned char
|
|
Number of key codes in the releasedKeys array.
|
|
Return value |
unsigned char
|
|
USBD_STATUS_SUCCESS if the report has been sent to the host; otherwise an error code.
|
Description
Reports a change in which keys are currently pressed or release to the host.


Variants
Source
The documentation for this Member was generated from the following files:
HIDDKeyboardDriver.c