mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
add button events to control WebSocket.
This commit is contained in:
@ -32,8 +32,11 @@ const (
|
||||
CONTROL_RELEASE = "control/release"
|
||||
CONTROL_REQUEST = "control/request"
|
||||
// mouse
|
||||
CONTROL_MOVE = "control/move"
|
||||
CONTROL_SCROLL = "control/scroll"
|
||||
CONTROL_MOVE = "control/move"
|
||||
CONTROL_SCROLL = "control/scroll"
|
||||
CONTROL_BUTTONPRESS = "control/buttonpress"
|
||||
CONTROL_BUTTONDOWN = "control/buttondown"
|
||||
CONTROL_BUTTONUP = "control/buttonup"
|
||||
// keyboard
|
||||
CONTROL_KEYPRESS = "control/keypress"
|
||||
CONTROL_KEYDOWN = "control/keydown"
|
||||
|
Reference in New Issue
Block a user