feat(keyboard): caps lock key default mapping.
This commit is contained in:
parent
174a352d78
commit
5ddc6510a8
1 changed files with 7 additions and 2 deletions
|
|
@ -576,8 +576,13 @@ impl Page {
|
||||||
|
|
||||||
// TODO description, layout default
|
// TODO description, layout default
|
||||||
|
|
||||||
let mut list =
|
let mut list = cosmic::widget::list_column();
|
||||||
cosmic::widget::list_column().add(special_char_radio_row("None", None, current));
|
|
||||||
|
if matches!(special_key, SpecialKey::CapsLock) {
|
||||||
|
list = list.add(special_char_radio_row("Caps Lock", None, current));
|
||||||
|
} else {
|
||||||
|
list = list.add(special_char_radio_row("None", None, current));
|
||||||
|
}
|
||||||
|
|
||||||
list = options
|
list = options
|
||||||
.iter()
|
.iter()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue