Versions in this module Expand all Collapse all v0 v0.1.1 Nov 8, 2023 v0.1.0 Jan 27, 2022 Changes in this version + func DeserializeGCControllers(data []byte) map[uint8]*rawGCInput v0.0.1 Feb 4, 2021 Changes in this version + type Buttons struct + A bool + B bool + DOWN bool + L bool + LEFT bool + R bool + RIGHT bool + START bool + UP bool + X bool + Y bool + Z bool + type GCAdapter struct + func NewGCAdapter() (*GCAdapter, error) + func (adapter *GCAdapter) AllControllers() map[uint8]*GCInputs + func (adapter *GCAdapter) Close() error + func (adapter *GCAdapter) Controller(PORT uint8) *GCInputs + func (adapter *GCAdapter) Controllers() map[uint8]*GCInputs + func (adapter *GCAdapter) Poll() error + func (adapter *GCAdapter) StartPolling() + type GCInputs struct + Button Buttons + CX float32 + CY float32 + LAnalog float32 + PluggedIn bool + RAnalog float32 + StickX float32 + StickY float32 + type Offsets struct + CX uint8 + CY uint8 + LAnalog uint8 + PluggedIn bool + RAnalog uint8 + StickX uint8 + StickY uint8