def handle_input(self):
    self.handle_mouse_press()
    keys_pressed = get_key_pressed()
    for keycode in self.all_keycodes:
        if keys_pressed[keycode]:
            self.scene.handle_input(keycode)
def handle_input(self):
    self.handle_mouse_press()
    keys_pressed = get_key_pressed()
    for keycode in self.all_keycodes:
        if keys_pressed[keycode]:
            self.scene.handle_input(keycode)