We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8580486 commit 99e3062Copy full SHA for 99e3062
controller_example.py
@@ -51,7 +51,7 @@ def run(self):
51
logging.error('example error')
52
logging.critical('example critical')
53
if data.startswith('/uid/'):
54
- e = pygame.event.Event(E_UID, {'uid': int(data[5:])})
+ e = pygame.event.Event(E_UID, {'uid': data[5:]})
55
pygame.event.post(e)
56
if DEBUG: logging.info('uid received: {}'.format(data[5:]))
57
elif data.startswith('/download/'):
0 commit comments