USB events

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • psychofish25
    New Member
    • Jul 2007
    • 60

    USB events

    I wish to use my rock band drums in a script I'm writing. I was wondering what the code would be to detect a USB gamepad event.

    Thanks,
    Jordan
  • dazzler
    New Member
    • Nov 2007
    • 75

    #2
    Originally posted by psychofish25
    I wish to use my rock band drums in a script I'm writing. I was wondering what the code would be to detect a USB gamepad event.

    Thanks,
    Jordan
    you should browse some pygame documentation.

    does the windows handle the device like joystick type device?
    if so, then this might help you http://www.pygame.org/docs/ref/joystick.html

    Comment

    Working...