Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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