display.init()
Does this bring up a pygame window? I didnt have to do this to get pygame up and running.
Snippet from my Codes
#way before other codes
pygame.init()
#in constructor
self.currentJoystick = pygame.joystick.Joystick(0)
self.currentJoystick.init()
numAxes = self.currentJoystick.get_numaxes()
---other logic here for what axes does what but oh well ---
#some other class file
for e in pygame.event.get():
self.newR = self.currentJoystick.get_axis(self.X)
self.newP = self.currentJoystick.get_axis(self.Y)
self.newH = -self.currentJoystick.get_axis(self.RotateAxis)