mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-10 23:03:05 +02:00
kbd-modifiers add debug log
This commit is contained in:
parent
55e2f93e52
commit
bd5f899b6d
1 changed files with 6 additions and 0 deletions
|
@ -152,6 +152,12 @@ func (h *MessageHandler) controlKeyboard(id string, session types.Session, paylo
|
|||
ScrollLock = 1
|
||||
}
|
||||
|
||||
h.logger.Debug().
|
||||
Int("NumLock", NumLock).
|
||||
Int("CapsLock", CapsLock).
|
||||
Int("ScrollLock", ScrollLock).
|
||||
Msg("setting keyboard modifiers")
|
||||
|
||||
h.remote.SetKeyboardModifiers(NumLock, CapsLock, ScrollLock)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue