true if the record was converted successfully, false if it
was an unknown or unsupported event type.
bool convertInputRecord(ref const INPUT_RECORD record, ref ConsoleInputEvent event) @trusted nothrow @nogcConvert a Windows INPUT_RECORD to a ConsoleInputEvent.
This is a utility function for manual event conversion when needed.
record | Windows INPUT_RECORD structure. |
event | Output event structure to fill. |
true if the record was converted successfully, false if it
was an unknown or unsupported event type.