EZR32 Leopard Gecko Software Documentation  ezr32lg-doc-5.1.2
HIDKBD_KeyReport_t Struct Reference

Detailed Description

HID keyboard input report definition.

Definition at line 38 of file hidkbd.h.

#include <hidkbd.h>

Data Fields

uint8_t key [6]
 
uint8_t modifier
 
uint8_t reserved
 

Field Documentation

uint8_t HIDKBD_KeyReport_t::key[6]

Array of 6 key array indices, key index codes are defined in the "Keyboard page" section of "USB HID Usage Tables document", also refer to usbkbdscancodes.c.

Definition at line 42 of file hidkbd.h.

uint8_t HIDKBD_KeyReport_t::modifier

Key modifier byte as defined in HID spec. section "8.3 Report Format for Array Items".

Definition at line 40 of file hidkbd.h.

uint8_t HIDKBD_KeyReport_t::reserved

Reserved, should be set to zero.

Definition at line 41 of file hidkbd.h.


The documentation for this struct was generated from the following file: