Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_KEYBOARD_DATA Struct Reference

#include <keyboard.h>

Data Fields

uint32_t modifiers
 Keyboard modifier flags for Shift, Alt, Control etc (eg KEYBOARD_LEFT_CTRL).
uint16_t scancode
 Untranslated scan code value from keyboard (See SCAN_CODE_* constants).
uint16_t keycode
 Translated key code value from keyboard (See KEY_CODE_* constants).
char charcode
 ANSI character representing the translated key code.
WCHAR charunicode
 Unicode character representing the translated key code.

Field Documentation

◆ modifiers

uint32_t modifiers

Keyboard modifier flags for Shift, Alt, Control etc (eg KEYBOARD_LEFT_CTRL).

◆ scancode

uint16_t scancode

Untranslated scan code value from keyboard (See SCAN_CODE_* constants).

◆ keycode

uint16_t keycode

Translated key code value from keyboard (See KEY_CODE_* constants).

◆ charcode

char charcode

ANSI character representing the translated key code.

◆ charunicode

WCHAR charunicode

Unicode character representing the translated key code.


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