Skip to content

Instantly share code, notes, and snippets.

@chozabu
Created October 7, 2014 04:58
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 chozabu/30f814e505964320e08c to your computer and use it in GitHub Desktop.
Save chozabu/30f814e505964320e08c to your computer and use it in GitHub Desktop.
testing kivysdl2 joystickaccess
win = Window
win.bind(on_keyboard=self.my_key_handler)
win.bind(on_joy_axis=self.my_axis_handler)
def my_axis_handler(self, window, stickid, axisid, value):
print "axisevent", stickid, axisid, value
return False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment