diff --git a/tools/game/bong/integrator.py b/tools/game/bong/integrator.py index 4d30212..696e7b1 100644 --- a/tools/game/bong/integrator.py +++ b/tools/game/bong/integrator.py @@ -39,7 +39,7 @@ def receivedPacket(packet): pos=1 game = r0ketrem0te.game.Game('COM4', "testgame", 83, - 81, [ord(x) for x in 'REM0T'], 2, True) + 87, [ord(x) for x in 'REM0T'], 2, True) game.bridge.registerCallback(receivedPacket) class Application(tornado.web.Application): diff --git a/tools/game/py-pong/main.py b/tools/game/py-pong/main.py index b4b0dc0..deb1431 100644 --- a/tools/game/py-pong/main.py +++ b/tools/game/py-pong/main.py @@ -29,7 +29,7 @@ class Pong: pygame.init() self.rem0te = r0ketrem0te.game.Game('/dev/ttyACM0', "pong", 83, - 81, [ord(x) for x in 'REM0T'], 2, True) + 87, [ord(x) for x in 'REM0T'], 2, True) self.rem0te.registerPlayerCallback(self.playercallback) self.player_right = Rem0tePlayer(self.rem0te) diff --git a/tools/game/testgame.py b/tools/game/testgame.py index dc3c037..8f140a1 100644 --- a/tools/game/testgame.py +++ b/tools/game/testgame.py @@ -7,7 +7,7 @@ import Queue def receivedPacket(packet): pass game = r0ketrem0te.game.Game('/dev/ttyACM0', "testgame", 83, - 81, [ord(x) for x in 'REM0T'], 2, True) + 87, [ord(x) for x in 'REM0T'], 2, True) queue = Queue.Queue() game.bridge.registerQueue(queue) game.bridge.registerCallback(receivedPacket)