kbd-modifiers add debug log
This commit is contained in:
parent
55e2f93e52
commit
bd5f899b6d
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user