pub fn setState(self: *SimpleTextInputEx, state: *const Key.State.Toggle) SetStateError!void self: *SimpleTextInputExstate: *const Key.State.Toggle52
53
54
55
56
57
58
59 pub fn setState(self: *SimpleTextInputEx, state: *const Key.State.Toggle) SetStateError!void {
switch (self._set_state(self, @ptrCast(state))) {
.success => {},
.device_error => return error.DeviceError,
.unsupported => return error.Unsupported,
else => |status| return uefi.unexpectedStatus(status),
}
}
Set certain state for the input device.