|
TM STM32Fxxx HAL Libraries
v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
|
USB HID Host keyboard structure. More...
#include <tm_stm32_usb_host_hid.h>
Data Fields | |
| uint8_t | Status |
| union { | |
| struct { | |
| uint8_t LCtrl:1 | |
| uint8_t LShift:1 | |
| uint8_t LAlt:1 | |
| uint8_t LGUI:1 | |
| uint8_t RCtrl:1 | |
| uint8_t RShift:1 | |
| uint8_t RAlt:1 | |
| uint8_t RGUI:1 | |
| uint8_t Ctrl:1 | |
| uint8_t Shift:1 | |
| uint8_t Alt:1 | |
| uint8_t GUI:1 | |
| } S | |
| uint16_t SpecialVal | |
| } | Special |
| uint8_t | Keys [6] |
| uint8_t | C |
USB HID Host keyboard structure.
| uint8_t Alt |
Set to 1 if left or right alt is pressed
| uint8_t C |
ASCII code for pressed keyboard
| uint8_t Ctrl |
Set to 1 if left or right ctrl is pressed
| uint8_t GUI |
Set to 1 if left or right GUI is pressed
| uint8_t Keys[6] |
6 keyboard keys values
| uint8_t LAlt |
Set to 1 when left alt is detected as pressed
| uint8_t LCtrl |
Set to 1 when left control is detected as pressed
| uint8_t LGUI |
Set to 1 when left GUI is detected as pressed
| uint8_t LShift |
Set to 1 when left shift is detected as pressed
| uint8_t RAlt |
Set to 1 when right alt is detected as pressed
| uint8_t RCtrl |
Set to 1 when right control is detected as pressed
| uint8_t RGUI |
Set to 1 when right GUI is detected as pressed
| uint8_t RShift |
Set to 1 when right shift is detected as pressed
| struct { ... } S |
< Union with status flags for special keys
| uint8_t Shift |
Set to 1 if left or right shift is pressed
| uint16_t SpecialVal |
Value for union
| uint8_t Status |
Keyboard status value