feat(keyboard): ability to remap caps lock to control

This commit is contained in:
green7ea 2024-10-16 17:44:02 +02:00 committed by GitHub
parent e79b52616c
commit 2a76db48e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,7 @@ static CAPS_LOCK_OPTIONS: &[(&str, &str)] = &[
("Swap with Escape", "caps:swapescape"),
("Backspace", "caps:backspace"),
("Super", "caps:super"),
("Control", "caps:ctrl_modifier"),
];
const STR_ORDER: &str = "`str` is always comparable";