Loading README.md +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ uses go channels to pipe around events, for flexibility and multi-threading. make event channels from methods on HID type. 'HID.On***()' also some higher-level UI abstractions to help standard usage. also some higher-level event modifiers for common UI abstractions, to help standard usage. Overview/docs: [](https://godoc.org/github.com/splace/joysticks) Loading joysticks.go +2 −1 Original line number Diff line number Diff line Loading @@ -272,7 +272,8 @@ func Duplicator(c chan Event)(chan Event,chan Event){ return c1,c2 } // does nothing if parameter chan doesn't give CoordsEvent's // creates a chan on which are CoordsEvent's that are the time integration of CoordsEvent's on the parameter chan. func PositionFromVelocity(c chan Event) chan Event{ extra := make(chan Event) var x,y,vx,vy float32 Loading Loading
README.md +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ uses go channels to pipe around events, for flexibility and multi-threading. make event channels from methods on HID type. 'HID.On***()' also some higher-level UI abstractions to help standard usage. also some higher-level event modifiers for common UI abstractions, to help standard usage. Overview/docs: [](https://godoc.org/github.com/splace/joysticks) Loading
joysticks.go +2 −1 Original line number Diff line number Diff line Loading @@ -272,7 +272,8 @@ func Duplicator(c chan Event)(chan Event,chan Event){ return c1,c2 } // does nothing if parameter chan doesn't give CoordsEvent's // creates a chan on which are CoordsEvent's that are the time integration of CoordsEvent's on the parameter chan. func PositionFromVelocity(c chan Event) chan Event{ extra := make(chan Event) var x,y,vx,vy float32 Loading