for event in events:
            core.input.register(self, button=event["button"], cmd=event["action"])