Python Pygame Joystick won't update
<p>I can't get this to update the joystick axis to print the current value. Tried the pygame joystick test and that works, so it's not a joystick-issue.</p>

<p>thank you</p>

<pre><code>import pygame

pygame.init()
clock = pygame.time.Clock()

class JoyStick():

    def __init__(self):
        pass

    def update(self):
        joystickOne = pygame.joystick.Joystick(0)
        joystickOne.init()
        self.axisOne = joystickOne.get_axis(1)

OP = JoyStick()

while True:
    OP.update()
    print(OP.axisOne)
    clock.tick(10)
</code></pre>

<p>output stays 0.0:</p>

<pre><code>0.0
0.0
...
</code></pre>