mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
Merge branch 'kbd-modifier-state-sync' of github.com:m1k1o/neko into dev
This commit is contained in:
commit
d6dfefc9f2
@ -152,6 +152,12 @@ func (h *MessageHandler) controlKeyboard(id string, session types.Session, paylo
|
|||||||
ScrollLock = 1
|
ScrollLock = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h.logger.Debug().
|
||||||
|
Int("NumLock", NumLock).
|
||||||
|
Int("CapsLock", CapsLock).
|
||||||
|
Int("ScrollLock", ScrollLock).
|
||||||
|
Msg("setting keyboard modifiers")
|
||||||
|
|
||||||
h.remote.SetKeyboardModifiers(NumLock, CapsLock, ScrollLock)
|
h.remote.SetKeyboardModifiers(NumLock, CapsLock, ScrollLock)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user