Skip to content

Commit

Permalink
Improve code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
filterpaper committed Jul 29, 2023
1 parent cfc10ae commit 1fce0f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quantum/mousekey.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,8 @@ void mousekey_on(uint8_t code) {
# endif

# ifndef MOUSEKEY_INERTIA
// Restart acceleration for overlapping mouse key presses
// If mouse report is not zero, the current mousekey press is overlapping
// with another. Restart acceleration for smoother directional transition.
if (mouse_report.x || mouse_report.y || mouse_report.h || mouse_report.v) {
# ifdef MK_KINETIC_SPEED
mouse_timer = timer_read() - (MOUSEKEY_INTERVAL << 2);
Expand Down

0 comments on commit 1fce0f5

Please sign in to comment.