Skip to content

Commit

Permalink
Fix PS/2 Trackpoint mouse clicks (qmk#22265) (qmk#23694)
Browse files Browse the repository at this point in the history
  • Loading branch information
strobo5 authored and whoisjordangarcia committed Jun 8, 2024
1 parent 22223bd commit 83eb042
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/ps2/ps2_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand All @@ -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

Expand Down

0 comments on commit 83eb042

Please sign in to comment.