Skip to content

Commit

Permalink
mathematics
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-desroches committed Dec 23, 2024
1 parent e98741f commit 57c7c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/debug/touch_replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
elif event.type == 3 and event.code == 57 and event.value == -1:
fingers[current_slot] = [-1, -1]
elif event.type == 3 and event.code == 53:
fingers[current_slot][1] = h - (h - event.value)
fingers[current_slot][1] = event.value
if fingers[current_slot][0] != -1:
touch_points.append(fingers[current_slot].copy())
elif event.type == 3 and event.code == 54:
Expand Down

0 comments on commit 57c7c02

Please sign in to comment.