Sfoglia il codice sorgente

fix middle button no longer working after scrolling

Thomas Buck 1 anno fa
parent
commit
0f7173719c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      firmware/src/controls.c

+ 1
- 0
firmware/src/controls.c Vedi 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…
Annulla
Salva