]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Added back PS2_MOUSE_INIT_DELAY define
authorOfer Plesser <plesserofer@gmail.com>
Sat, 3 Dec 2016 11:09:42 +0000 (13:09 +0200)
committerOfer Plesser <plesserofer@gmail.com>
Sat, 3 Dec 2016 11:09:42 +0000 (13:09 +0200)
tmk_core/protocol/ps2_mouse.c
tmk_core/protocol/ps2_mouse.h

index f247ba8dca170c3831dff2fe0d7055491cb6ec0d..04c15dd4fdc9085ac2ced6490cc2824b492aea2f 100644 (file)
@@ -283,4 +283,4 @@ static inline void ps2_mouse_scroll_button_task(report_mouse_t *mouse_report) {
     }
 
     RELEASE_SCROLL_BUTTONS;
-}
\ No newline at end of file
+}
index 3b498059dcb71be845d0e883b90d2d1300c12c61..e11c705fc65f86001ae4733538d435d2fae09a72 100644 (file)
@@ -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,