mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-01 10:22:35 +02:00
pressing key with multiple pressed keys
This commit is contained in:
parent
e5ca4ac184
commit
be3453c37d
2 changed files with 121 additions and 13 deletions
|
@ -248,9 +248,9 @@ func (manager *RemoteManager) SetKeyboardLayout(layout string) {
|
|||
// Workaround for https://github.com/m1k1o/neko/issues/45
|
||||
// When pressing `shift` + `,` instead of `<` comes `>`.
|
||||
variant := ""
|
||||
if layout == "us" {
|
||||
variant = "mac" // TODO: Test all keys.
|
||||
}
|
||||
// if layout == "us" {
|
||||
// variant = "mac" // TODO: Test all keys.
|
||||
// }
|
||||
|
||||
exec.Command("setxkbmap", layout, variant).Run()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue