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

#include <keyboard.h>

Data Fields

DEVICE device
 The Device entry for this Keyboard.
uint32_t keyboardid
 Unique Id of this Keyboard in the Keyboard table.
uint32_t keyboardstate
 Keyboard state (eg KEYBOARD_STATE_ATTACHED).
uint32_t keyboardleds
 Keyboard LEDs (eg KEYBOARD_LED_NUMLOCK).
uint32_t keyboardrate
 Keyboard repeat rate (Milliseconds).
uint32_t keyboarddelay
 Keyboard repeat delay (Number of KeyboardRate intervals before first repeat).
keyboard_device_get_proc deviceget
 A Device specific DeviceGet method implementing a standard Keyboard device interface (Or nil if the default method is suitable).
keyboard_device_read_proc deviceread
 A Device specific DeviceRead method implementing a standard Keyboard device interface (Or nil if the default method is suitable).
keyboard_device_control_proc devicecontrol
 A Device specific DeviceControl method implementing a standard Keyboard device interface (Or nil if the default method is suitable).
MUTEX_HANDLE lock
 Keyboard lock.
uint16_t code
 Scan code of current deadkey (If Applicable).
uint16_t index
 Index state for current deadkey (If Applicable).
uint32_t modifiers
 Modifier state for current deadkey (If Applicable).
KEYBOARD_BUFFER buffer
 Keyboard input buffer.
uint32_t receivecount
uint32_t receiveerrors
uint32_t bufferoverruns
KEYBOARD_DEVICEprev
 Previous entry in Keyboard table.
KEYBOARD_DEVICEnext
 Next entry in Keyboard table.

Field Documentation

◆ device

DEVICE device

The Device entry for this Keyboard.

◆ keyboardid

uint32_t keyboardid

Unique Id of this Keyboard in the Keyboard table.

◆ keyboardstate

uint32_t keyboardstate

Keyboard state (eg KEYBOARD_STATE_ATTACHED).

◆ keyboardleds

uint32_t keyboardleds

Keyboard LEDs (eg KEYBOARD_LED_NUMLOCK).

◆ keyboardrate

uint32_t keyboardrate

Keyboard repeat rate (Milliseconds).

◆ keyboarddelay

uint32_t keyboarddelay

Keyboard repeat delay (Number of KeyboardRate intervals before first repeat).

◆ deviceget

A Device specific DeviceGet method implementing a standard Keyboard device interface (Or nil if the default method is suitable).

◆ deviceread

A Device specific DeviceRead method implementing a standard Keyboard device interface (Or nil if the default method is suitable).

◆ devicecontrol

A Device specific DeviceControl method implementing a standard Keyboard device interface (Or nil if the default method is suitable).

◆ lock

Keyboard lock.

◆ code

uint16_t code

Scan code of current deadkey (If Applicable).

◆ index

uint16_t index

Index state for current deadkey (If Applicable).

◆ modifiers

uint32_t modifiers

Modifier state for current deadkey (If Applicable).

◆ buffer

Keyboard input buffer.

◆ receivecount

uint32_t receivecount

◆ receiveerrors

uint32_t receiveerrors

◆ bufferoverruns

uint32_t bufferoverruns

◆ prev

Previous entry in Keyboard table.

◆ next

Next entry in Keyboard table.


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