Fix assorted linux issues (#10061)

- Fix a bug where modifiers would be dispatched before they changed
- Add a secondary modifier
- Improve keybindings

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-04-01 17:22:59 -07:00 committed by GitHub
parent e0cd96db7b
commit 1da2441e7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 220 additions and 154 deletions

View file

@ -18,7 +18,7 @@ impl AlacModifiers {
ks.modifiers.alt,
ks.modifiers.control,
ks.modifiers.shift,
ks.modifiers.command,
ks.modifiers.platform,
) {
(false, false, false, false) => AlacModifiers::None,
(true, false, false, false) => AlacModifiers::Alt,
@ -336,7 +336,7 @@ mod test {
control: false,
alt: false,
shift: false,
command: false,
platform: false,
function: false,
},
key: "🖖🏻".to_string(), //2 char string