Skip to content

Instantly share code, notes, and snippets.

@kelliott121
Created May 19, 2017 17:01
Show Gist options
  • 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