pub fn readKeyStroke(self: *SimpleTextInputEx) ReadKeyStrokeError!Key self: *SimpleTextInputEx40
41
42
43
44
45
46
47
48
49 pub fn readKeyStroke(self: *SimpleTextInputEx) ReadKeyStrokeError!Key {
var key: Key = undefined;
switch (self._read_key_stroke_ex(self, &key)) {
.success => return key,
.not_ready => return error.NotReady,
.device_error => return error.DeviceError,
.unsupported => return error.Unsupported,
else => |status| return uefi.unexpectedStatus(status),
}
}
Reads the next keystroke from the input device.