소스 검색

Added back PS2_MOUSE_INIT_DELAY define

Ofer Plesser 8 년 전
부모
커밋
9f41544e1d
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tmk_core/protocol/ps2_mouse.c
  2. 3 0
      tmk_core/protocol/ps2_mouse.h

+ 1 - 1
tmk_core/protocol/ps2_mouse.c

@@ -283,4 +283,4 @@ static inline void ps2_mouse_scroll_button_task(report_mouse_t *mouse_report) {
     }
 
     RELEASE_SCROLL_BUTTONS;
-}
+}

+ 3 - 0
tmk_core/protocol/ps2_mouse.h

@@ -66,6 +66,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #ifndef PS2_MOUSE_SCROLL_MASK       
 #define PS2_MOUSE_SCROLL_MASK           0xFF 
 #endif
+#ifndef PS2_MOUSE_INIT_DELAY
+#define PS2_MOUSE_INIT_DELAY            1000
+#endif
 
 enum ps2_mouse_command_e {
     PS2_MOUSE_RESET = 0xFF,