Character input devices, e.g. Keyboard

Fields

_reset: *const fn (*const SimpleTextInputExProtocol, bool) callconv(cc) Status,
_read_key_stroke_ex: *const fn (*const SimpleTextInputExProtocol, *KeyData) callconv(cc) Status,
wait_for_key_ex: Event,
_set_state: *const fn (*const SimpleTextInputExProtocol, *const u8) callconv(cc) Status,
_register_key_notify: *const fn (*const SimpleTextInputExProtocol, *const KeyData, *const fn (*const KeyData) callconv(cc) usize, **anyopaque) callconv(cc) Status,
_unregister_key_notify: *const fn (*const SimpleTextInputExProtocol, *const anyopaque) callconv(cc) Status,

Functions

fn readKeyStrokeEx(self: *const SimpleTextInputExProtocol, key_data: *KeyData) Status

Reads the next keystroke from the input device.

fn registerKeyNotify(self: *const SimpleTextInputExProtocol, key_data: *const KeyData, notify: *const fn (*const KeyData) callconv(cc) usize, handle: **anyopaque) Status

Register a notification function for a particular keystroke for the input device…

Register a notification function for a particular keystroke for the input device.

fn reset(self: *const SimpleTextInputExProtocol, verify: bool) Status

Resets the input device hardware.

fn setState(self: *const SimpleTextInputExProtocol, state: *const u8) Status

Set certain state for the input device.

fn unregisterKeyNotify(self: *const SimpleTextInputExProtocol, handle: *const anyopaque) Status

Remove the notification that was previously registered.

Values