Archived
2
0

revert 'workaround for #45.'

This commit is contained in:
m1k1o 2021-04-11 12:12:06 +02:00
parent 07d111af36
commit c54e8327ac

View File

@ -245,14 +245,7 @@ func (manager *RemoteManager) GetScreenSize() *types.ScreenSize {
}
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.
// }
exec.Command("setxkbmap", layout, variant).Run()
exec.Command("setxkbmap", layout).Run()
}
func (manager *RemoteManager) SetKeyboardModifiers(NumLock int, CapsLock int, ScrollLock int) {