Archived
2
0

add new WS keyboard event

This commit is contained in:
Miroslav Šedivý
2020-06-16 00:55:14 +02:00
parent 56bd6acf10
commit 6206fbbadd
7 changed files with 39 additions and 0 deletions

View File

@ -22,6 +22,7 @@ const (
CONTROL_REQUESTING = "control/requesting"
CONTROL_GIVE = "control/give"
CONTROL_CLIPBOARD = "control/clipboard"
CONTROL_KEYBOARD = "control/keyboard"
)
const (

View File

@ -46,6 +46,11 @@ type Clipboard struct {
Text string `json:"text"`
}
type Keyboard struct {
Event string `json:"event"`
Layout string `json:"layout"`
}
type Control struct {
Event string `json:"event"`
ID string `json:"id"`