1. pygame
  2. pygame
  3. pygame

Source

pygame / pygame / joystick.py

Diff from to

File pygame/joystick.py

  • Ignore whitespace
             raise pygame.base.error, 'Invalid joystick device number'
 
         self._id = id
+        self._device = None
 
     def init(self):
         '''Initialize the Joystick.