Add CAPS_LOCK handling on Windows
This commit is contained in:
parent
ff7d078335
commit
4283dd4b3a
|
@ -162,6 +162,7 @@ extern fn keypress_callback(_self: *mut c_void, raw_buffer: *const u16, len: i32
|
||||||
(0x11, 1) => Some(LEFT_CTRL),
|
(0x11, 1) => Some(LEFT_CTRL),
|
||||||
(0x11, 2) => Some(RIGHT_CTRL),
|
(0x11, 2) => Some(RIGHT_CTRL),
|
||||||
(0x08, _) => Some(BACKSPACE),
|
(0x08, _) => Some(BACKSPACE),
|
||||||
|
(0x14, _) => Some(CAPS_LOCK),
|
||||||
_ => None,
|
_ => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user