# events to use. Is there a way to get ones known to be unused?
base = pygame.USEREVENT
+print 'pygame_wiimote base :', pygame.USEREVENT
WIIMOTE_BUTTON_PRESS = base + 1
WIIMOTE_BUTTON_RELEASE = base + 2
WIIMOTE_ACCEL = base + 3
NUNCHUK_JOY = base + 8
WIIMOTE_STATUS = base + 9
WIIMOTE_DISCONNECT = base + 10
+pygame.USEREVENT = WIIMOTE_DISCONNECT
+if pygame.USEREVENT > pygame.NUMEVENTS :
+ pygame.NUMEVENTS = pygame.USEREVENT
+
wiiuse = None # import within the thread, why do I have to do this?