瀏覽代碼

fix middle button no longer working after scrolling

Thomas Buck 1 年之前
父節點
當前提交
0f7173719c
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      firmware/src/controls.c

+ 1
- 0
firmware/src/controls.c 查看文件

@@ -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…
取消
儲存