small edits

This commit is contained in:
Nickiel12 2024-03-27 17:32:30 -07:00
parent 5ea8108a67
commit a461f8216e
2 changed files with 5 additions and 5 deletions

View file

@ -51,13 +51,13 @@ async def update_from_packet(data):
global axis_x, axis_y global axis_x, axis_y
if data[0] == 'L': if data[0] == 'L':
axis_x = -int(data[1:]) axis_x = -int(data[1:]) - 10
if data[0] == 'R': if data[0] == 'R':
axis_x = int(data[1:]) axis_x = int(data[1:]) + 10
if data[0] == 'U': if data[0] == 'U':
axis_y = int(data[1:]) axis_y = int(data[1:]) + 10
if data[0] == 'D': if data[0] == 'D':
axis_y = -int(data[1:]) axis_y = -int(data[1:]) - 10
# if speed_up > 0: # if speed_up > 0:
if axis_y > 0: if axis_y > 0:

@ -1 +1 @@
Subproject commit 3609b9a848c56ea0d014e4de1a009fc9cc8d5734 Subproject commit f809c1dd283cc049d652338fb438de65abe40cfc