update KeyboardModifiers WebSocket struct.

This commit is contained in:
Miroslav Šedivý 2021-02-18 16:52:49 +01:00
parent ab34f4a53f
commit c862711e6a

View File

@ -152,10 +152,9 @@ type KeyboardMap struct {
} }
type KeyboardModifiers struct { type KeyboardModifiers struct {
Event string `json:"event,omitempty"` Event string `json:"event,omitempty"`
CapsLock *bool `json:"caps_lock"` CapsLock *bool `json:"capslock"`
NumLock *bool `json:"num_lock"` NumLock *bool `json:"numlock"`
ScrollLock *bool `json:"scroll_lock"`
} }
///////////////////////////// /////////////////////////////