Versions in this module Expand all Collapse all v1 v1.0.3 Jun 18, 2019 Changes in this version type State + RightDPad DPad v1.0.2 May 22, 2019 v1.0.1 Mar 11, 2019 Changes in this version type Controller + func (c *Controller) Errors() <-chan error v1.0.0 Oct 13, 2018 Changes in this version + type Controller struct + func New(reader io.Reader) *Controller + func (c *Controller) Close() + func (c *Controller) Listen(handler func(State)) + type DPad struct + X int + Y int + type Motion struct + X int16 + Y int16 + Z int16 + type Orientation struct + Pitch int16 + Roll int16 + Yaw int16 + type State struct + Analog struct{ ... } + BatteryLevel int + Circle bool + Cross bool + Down bool + L1 bool + L2 bool + L3 bool + Left bool + LeftDPad DPad + Motion Motion + Options bool + Orientation Orientation + PSHome bool + R1 bool + R2 bool + R3 bool + Right bool + RigthDPad DPad + Share bool + Square bool + Timestamp int + TrackPad bool + TrackPad0 TrackPad + TrackPad1 TrackPad + Triangle bool + Up bool + type TrackPad struct + Active bool + ID int + X int + Y int