Function miral::toolkit::mir_keyboard_event_scan_code

Function Documentation

int miral::toolkit::mir_keyboard_event_scan_code(MirKeyboardEvent const *event)

Retrieve the raw hardware scan code associated with the key acted on.

May be interpreted as per <linux/input.h>

Parameters:

event[in] The key event

Returns:

The scancode