Archived
2
0

new WS ControlRequest data type

This commit is contained in:
Miroslav Šedivý
2020-06-15 22:26:47 +02:00
parent c176411512
commit 70e8b215cb
5 changed files with 20 additions and 3 deletions

View File

@ -51,6 +51,11 @@ type Control struct {
ID string `json:"id"`
}
type ControlRequest struct {
Event string `json:"event"`
KeyboardLayout string `json:"keyboard_layout"`
}
type ControlTarget struct {
Event string `json:"event"`
ID string `json:"id"`