mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
updated websocket events with TODO comments.
This commit is contained in:
parent
f9b62073ef
commit
147aa0e1a3
@ -1,44 +1,64 @@
|
|||||||
package event
|
package event
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
SYSTEM_CONNECT = "system/connect" // TODO: New.
|
||||||
SYSTEM_DISCONNECT = "system/disconnect"
|
SYSTEM_DISCONNECT = "system/disconnect"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
SIGNAL_REQUEST = "signal/request" // TODO: New.
|
||||||
SIGNAL_ANSWER = "signal/answer"
|
SIGNAL_ANSWER = "signal/answer"
|
||||||
SIGNAL_PROVIDE = "signal/provide"
|
SIGNAL_PROVIDE = "signal/provide"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
MEMBER_LIST = "member/list"
|
MEMBER_LIST = "member/list" // TODO: Remove.
|
||||||
MEMBER_CONNECTED = "member/connected"
|
MEMBER_CONNECTED = "member/connected"
|
||||||
|
MEMBER_UPDATED = "member/updated" // TODO: New.
|
||||||
MEMBER_DISCONNECTED = "member/disconnected"
|
MEMBER_DISCONNECTED = "member/disconnected"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
CONTROL_LOCKED = "control/locked"
|
CONTROL_LOCKED = "control/locked" // TODO: Remove.
|
||||||
CONTROL_RELEASE = "control/release"
|
CONTROL_REQUESTING = "control/requesting" // TODO: Remove.
|
||||||
CONTROL_REQUEST = "control/request"
|
CONTROL_GIVE = "control/give" // TODO: Remove.
|
||||||
CONTROL_REQUESTING = "control/requesting"
|
CONTROL_CLIPBOARD = "control/clipboard" // TODO: Remove.
|
||||||
CONTROL_GIVE = "control/give"
|
CONTROL_KEYBOARD = "control/keyboard" // TODO: Remove.
|
||||||
CONTROL_CLIPBOARD = "control/clipboard"
|
CONTROL_UPDATED = "control/updated" // TODO: New.
|
||||||
CONTROL_KEYBOARD = "control/keyboard"
|
CONTROL_RELEASE = "control/release"
|
||||||
|
CONTROL_REQUEST = "control/request"
|
||||||
|
CONTROL_MOVE = "control/move" // TODO: New. (fallback)
|
||||||
|
CONTROL_SCROLL = "control/scroll" // TODO: New. (fallback)
|
||||||
|
CONTROL_KEYDOWN = "control/keydown" // TODO: New. (fallback)
|
||||||
|
CONTROL_KEYUP = "control/keyup" // TODO: New. (fallback)
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SCREEN_CONFIGURATIONS = "screen/configurations"
|
SCREEN_CONFIGURATIONS = "screen/configurations" // TODO: Remove.
|
||||||
SCREEN_RESOLUTION = "screen/resolution"
|
SCREEN_RESOLUTION = "screen/resolution" // TODO: Remove.
|
||||||
SCREEN_SET = "screen/set"
|
|
||||||
|
SCREEN_UPDATED = "screen/updated" // TODO: New.
|
||||||
|
SCREEN_SET = "screen/set"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
BORADCAST_STATUS = "broadcast/status"
|
CLIPBOARD_UPDATED = "clipboard/updated" // TODO: New.
|
||||||
BORADCAST_CREATE = "broadcast/create"
|
CLIPBOARD_SET = "clipboard/set" // TODO: New.
|
||||||
BORADCAST_DESTROY = "broadcast/destroy"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ADMIN_CONTROL = "admin/control"
|
KEYBOARD_MODIFIERS = "keyboard/modifiers" // TODO: New.
|
||||||
ADMIN_RELEASE = "admin/release"
|
KEYBOARD_LAYOUT = "keyboard/layout" // TODO: New.
|
||||||
ADMIN_GIVE = "admin/give"
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
BORADCAST_STATUS = "broadcast/status" // TODO: Remove.
|
||||||
|
BORADCAST_CREATE = "broadcast/create" // TODO: Remove.
|
||||||
|
BORADCAST_DESTROY = "broadcast/destroy" // TODO: Remove.
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
ADMIN_CONTROL = "admin/control" // TODO: Remove.
|
||||||
|
ADMIN_RELEASE = "admin/release" // TODO: Remove.
|
||||||
|
ADMIN_GIVE = "admin/give" // TODO: Remove.
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user