logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git
commit: a850f7d69509a99ef46dd2790c2e55171db16e7a
parent 8ad2e307323415ac0a0198daf79223b3ae90de97
Author: Michael Büchler <michael.buechler@posteo.net>
Date:   Tue, 21 May 2024 01:36:48 +0200

Fix PS/2 Trackpoint mouse clicks (#22265) (#23694)


Diffstat:

Mdrivers/ps2/ps2_mouse.c4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/ps2/ps2_mouse.c b/drivers/ps2/ps2_mouse.c @@ -88,6 +88,8 @@ void ps2_mouse_task(void) { # endif } else { if (debug_mouse) print("ps2_mouse: fail to get mouse packet\n"); + /* return here to avoid updating the mouse button state */ + return; } #else if (pbuf_has_data()) { @@ -99,6 +101,8 @@ void ps2_mouse_task(void) { # endif } else { if (debug_mouse) print("ps2_mouse: fail to get mouse packet\n"); + /* return here to avoid updating the mouse button state */ + return; } #endif