Loading README.md +5 −6 Original line number Diff line number Diff line Loading @@ -22,14 +22,12 @@ Overview/docs: [ { Loading @@ -45,7 +43,7 @@ func main() { allows device interrogation and event re-assigning. ```` Go // log description of events when pressing button #1 or moving hat#1. // log a description of events when pressing button #1 or moving hat#1. // 10sec timeout. package main Loading @@ -55,7 +53,8 @@ import "time" func main() { // try connecting to specific controller. // system assigned index: typically increments on each new controller added. // the index is system assigned, typically it increments on each new controller added. // indexes remain fixed for a given controller, if/when other controller(s) are removed. device := Connect(1) if device == nil { Loading Loading
README.md +5 −6 Original line number Diff line number Diff line Loading @@ -22,14 +22,12 @@ Overview/docs: [ { Loading @@ -45,7 +43,7 @@ func main() { allows device interrogation and event re-assigning. ```` Go // log description of events when pressing button #1 or moving hat#1. // log a description of events when pressing button #1 or moving hat#1. // 10sec timeout. package main Loading @@ -55,7 +53,8 @@ import "time" func main() { // try connecting to specific controller. // system assigned index: typically increments on each new controller added. // the index is system assigned, typically it increments on each new controller added. // indexes remain fixed for a given controller, if/when other controller(s) are removed. device := Connect(1) if device == nil { Loading