mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
ws control buttons & keys add optional pos.
This commit is contained in:
@ -107,10 +107,12 @@ type ControlPos struct {
|
||||
}
|
||||
|
||||
type ControlButton struct {
|
||||
*ControlPos
|
||||
Code uint32 `json:"code"`
|
||||
}
|
||||
|
||||
type ControlKey struct {
|
||||
*ControlPos
|
||||
Keysym uint32 `json:"keysym"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user