Archived
2
0

kbd modifiers - server side

This commit is contained in:
m1k1o
2020-06-20 00:57:37 +02:00
parent e01ab240f1
commit 8c8df119ad
2 changed files with 39 additions and 3 deletions

View File

@ -47,8 +47,11 @@ type Clipboard struct {
}
type Keyboard struct {
Event string `json:"event"`
Layout string `json:"layout"`
Event string `json:"event"`
Layout *string `json:"layout,omitempty"`
CapsLock *bool `json:"capsLock,omitempty"`
NumLock *bool `json:"numLock,omitempty"`
ScrollLock *bool `json:"scrollLock,omitempty"`
}
type Control struct {