Skip to content

Instantly share code, notes, and snippets.

@kelliott121
Created May 19, 2017 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kelliott121/5968fa9366dca7e252b4324db60a173f to your computer and use it in GitHub Desktop.
Save kelliott121/5968fa9366dca7e252b4324db60a173f to your computer and use it in GitHub Desktop.
Controllers = []
controllerNum = 0
for controllerName in ControllerNames:
Controllers.append(Controller(controllerName, ValidKeys[controllerNum:((controllerNum*Controller.NumButtons) - 1)]))
Controllers[controllerNum].serial.reset_input_buffer()
controllerNum = controllerNum + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment