I’m getting the pygame “video system not initialized” error with the event.get() statement in the example code. Any idea what is casuing this?
#Setup event information and print data from joystick
while 1:
for e in event.get():
if e.type != QUIT:
print '%s: %s' % (event.event_name(e.type), e.dict)
Traceback (most recent call last):
File “foo.py”, line 34, in
for e in event.get():
pygame.error: video system not initialized