Archived
2
0

kbd-modifiers add debug log

This commit is contained in:
m1k1o 2020-06-21 14:45:04 +02:00
parent 55e2f93e52
commit bd5f899b6d

View File

@ -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
}