Documentation
¶
Index ¶
Constants ¶
View Source
const ( StateCrashed = "crashed" StateConnected = "connected" StateDisconnected = "disconnected" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) Disconnect ¶
type Input ¶
type Input struct {
LStick LStick `json:"L_STICK"`
RStick RStick `json:"R_STICK"`
DpadUp bool `json:"DPAD_UP"`
DpadLeft bool `json:"DPAD_LEFT"`
DpadRight bool `json:"DPAD_RIGHT"`
DpadDown bool `json:"DPAD_DOWN"`
L bool `json:"L"`
Zl bool `json:"ZL"`
R bool `json:"R"`
Zr bool `json:"ZR"`
JclSr bool `json:"JCL_SR"`
JclSl bool `json:"JCL_SL"`
JcrSr bool `json:"JCR_SR"`
JcrSl bool `json:"JCR_SL"`
Plus bool `json:"PLUS"`
Minus bool `json:"MINUS"`
Home bool `json:"HOME"`
Capture bool `json:"CAPTURE"`
Y bool `json:"Y"`
X bool `json:"X"`
B bool `json:"B"`
A bool `json:"A"`
}
Click to show internal directories.
Click to hide internal directories.