diff --git a/Server/sockets_controller.py b/Server/sockets_controller.py index f466aba..84fd1fd 100644 --- a/Server/sockets_controller.py +++ b/Server/sockets_controller.py @@ -51,13 +51,13 @@ async def update_from_packet(data): global axis_x, axis_y if data[0] == 'L': - axis_x = -int(data[1:]) + axis_x = -int(data[1:]) - 10 if data[0] == 'R': - axis_x = int(data[1:]) + axis_x = int(data[1:]) + 10 if data[0] == 'U': - axis_y = int(data[1:]) + axis_y = int(data[1:]) + 10 if data[0] == 'D': - axis_y = -int(data[1:]) + axis_y = -int(data[1:]) - 10 # if speed_up > 0: if axis_y > 0: diff --git a/joystick-controller-client b/joystick-controller-client index 3609b9a..f809c1d 160000 --- a/joystick-controller-client +++ b/joystick-controller-client @@ -1 +1 @@ -Subproject commit 3609b9a848c56ea0d014e4de1a009fc9cc8d5734 +Subproject commit f809c1dd283cc049d652338fb438de65abe40cfc