core: layout: add switch_greekmath key

This commit is contained in:
Richard Acayan 2024-10-31 18:38:38 -04:00
parent 03b6d4509b
commit 14cd2d930b
No known key found for this signature in database
GPG key ID: 0346F4894879DB73

View file

@ -443,7 +443,7 @@ impl Key {
} }
} }
const KEYSYMS: [(&str, Keysym, &str); 23] = [ const KEYSYMS: [(&str, Keysym, &str); 24] = [
("\\#", Keysym::numbersign, "#"), ("\\#", Keysym::numbersign, "#"),
("\\?", Keysym::question, "?"), ("\\?", Keysym::question, "?"),
("\\@", Keysym::at, "@"), ("\\@", Keysym::at, "@"),
@ -463,6 +463,7 @@ const KEYSYMS: [(&str, Keysym, &str); 23] = [
("right", Keysym::Right, ""), ("right", Keysym::Right, ""),
("shift", Keysym::Shift_L, ""), ("shift", Keysym::Shift_L, ""),
("space", Keysym::space, " "), ("space", Keysym::space, " "),
("switch_greekmath", Keysym::Scroll_Lock, "πλ∇¬"),
("switch_numeric", Keysym::Num_Lock, "123+"), ("switch_numeric", Keysym::Num_Lock, "123+"),
("switch_text", Keysym::Caps_Lock, "ABC"), ("switch_text", Keysym::Caps_Lock, "ABC"),
("tab", Keysym::Tab, ""), ("tab", Keysym::Tab, ""),