Browse Source

fix middle button no longer working after scrolling

Thomas Buck 1 year ago
parent
commit
0f7173719c
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      firmware/src/controls.c

+ 1
- 0
firmware/src/controls.c View File

@@ -126,6 +126,7 @@ struct mouse_state controls_mouse_read(void) {
126 126
             mouse.button[MOUSE_MIDDLE] = true;
127 127
             mouse.fake_middle = 1;
128 128
         }
129
+        scroll_sum = 0;
129 130
     }
130 131
 
131 132
     if (mouse_state_changed(mouse, last_mouse)

Loading…
Cancel
Save