ws control buttons & keys add optional pos.

This commit is contained in:
Miroslav Šedivý
2022-07-23 00:33:26 +02:00
parent 7d5ec0190a
commit a6813f994c
2 changed files with 32 additions and 6 deletions

View File

@ -107,10 +107,12 @@ type ControlPos struct {
}
type ControlButton struct {
*ControlPos
Code uint32 `json:"code"`
}
type ControlKey struct {
*ControlPos
Keysym uint32 `json:"keysym"`
}