M480 BSP  V3.05.001
The Board Support Package for M480 Series
Data Fields
usbhid_keyboard_event Struct Reference

#include <usbh_hid.h>

Data Fields

uint8_t lock_state
 
uint8_t modifier
 
uint8_t keycode [6]
 
uint8_t key_cnt
 

Detailed Description

HID device structure

HID mouse information structure

Definition at line 285 of file usbh_hid.h.

Field Documentation

◆ key_cnt

uint8_t usbhid_keyboard_event::key_cnt

The number of key code available in keycode[]

Definition at line 290 of file usbh_hid.h.

◆ keycode

uint8_t usbhid_keyboard_event::keycode[6]

The key code received from keyboard.

Definition at line 289 of file usbh_hid.h.

◆ lock_state

uint8_t usbhid_keyboard_event::lock_state

bit0: Num Lock; bit1: Caps Lock, bit2: Scroll Lock. 1 is in lock state.

Definition at line 287 of file usbh_hid.h.

◆ modifier

uint8_t usbhid_keyboard_event::modifier

Definition at line 288 of file usbh_hid.h.


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