EDIT: Nevermind i just needed to init the display module as well, since the "event queue" is used. Trial and error, a part of learning lol
This works for me but it looks like it inits the entire Pygame library... it's my understanding that this isn't necessary, but i can't seem to make it just init the joystick module. I checked the pygame documentation, but the methods they provide to import and init pygame and it's modules don't work...
for example, you did this to import:
from pygame import*;
but the documentation says to do this, and also says for some reason that the first line is the only necessary one.
from pygame.locals import *
which throws an error. And replacing your init() with joystick.init() doesn't work, but shouldn't it? The inconsistencies are confusing me, help please?