diff options
| author | Miro Kropacek <miro.kropacek@gmail.com> | 2026-10-21 12:23:36 +1000 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-11-12 18:16:08 -0800 |
| commit | 1ff671ca32abb771270f3535d0f6cf4f93344416 (patch) | |
| tree | 5d2c38e28d5b2d323abf66e6ec17490c6ef556b8 /tools/perf/scripts/python | |
| parent | 9def7caa2e55d0c5708385ae0d0039e9eaa26c47 (diff) | |
m68k: Fix atari mouse movement
Kernels are built with -funsigned-char since version 6.2, resulting in
the signed 8-bit position deltas reported by the IKBD being
misinterpreted as unsigned.
The hook is handed a raw IKBD packet, so take it as a byte stream and
apply the sign to the two displacement values alone.
Fixes: 3bc753c06dd02a35 ("kbuild: treat char as always unsigned")
Link: https://lists.debian.org/debian-68k/2026/08/msg00000.html
Suggested-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Miro Kropacek <miro.kropacek@gmail.com>
Reviewed-by: Michael Schmitz <schmitzmic@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patch.msgid.link/20261021022336.2232886-1-miro.kropacek@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
