We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e98741f commit 14123e9Copy full SHA for 14123e9
selfdrive/debug/touch_replay.py
@@ -30,7 +30,7 @@
30
elif event.type == 3 and event.code == 57 and event.value == -1:
31
fingers[current_slot] = [-1, -1]
32
elif event.type == 3 and event.code == 53:
33
- fingers[current_slot][1] = h - (h - event.value)
+ fingers[current_slot][1] = event.value
34
if fingers[current_slot][0] != -1:
35
touch_points.append(fingers[current_slot].copy())
36
elif event.type == 3 and event.code == 54:
0 commit comments