Beispiel #1
0
 def __init__(self):
     super().__init__()
     init_sdl()
     self.chunks = {}
Beispiel #2
0
 def __init__(self, joystick_id, mapping=None, offset=0):
     super(RawSDLJoystick, self).__init__(mapping, offset)
     init_sdl()
     self.joystick = self.open_joystick(joystick_id)
Beispiel #3
0
 def __init__(self, joystick_id, offset=0):
     super().__init__(offset)
     init_sdl()
     self.joystick = self.open_joystick(joystick_id)
Beispiel #4
0
 def __init__(self, channel=0):
     super(SDLMixer, self).__init__()
     init_sdl()
     self.chunks = {}
Beispiel #5
0
 def __init__(self, channel=0):
     super(SDLMixer, self).__init__()
     self.sound_queue = deque()
     init_sdl()
     self.chunks = {}