diff options
author | Ofer Plesser <plesserofer@gmail.com> | 2016-12-03 13:09:42 +0200 |
---|---|---|
committer | Ofer Plesser <plesserofer@gmail.com> | 2016-12-03 13:09:42 +0200 |
commit | 9f41544e1de12b92bdc15538ec7a9e66a4af0c43 (patch) | |
tree | 50192c08c4683de262dbfacc2192a3d73ccd28a3 | |
parent | d639e08a3131892c608760df4e3806d843a91176 (diff) | |
download | qmk_firmware-9f41544e1de12b92bdc15538ec7a9e66a4af0c43.tar.gz qmk_firmware-9f41544e1de12b92bdc15538ec7a9e66a4af0c43.zip |
Added back PS2_MOUSE_INIT_DELAY define
-rw-r--r-- | tmk_core/protocol/ps2_mouse.c | 2 | ||||
-rw-r--r-- | tmk_core/protocol/ps2_mouse.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tmk_core/protocol/ps2_mouse.c b/tmk_core/protocol/ps2_mouse.c index f247ba8dc..04c15dd4f 100644 --- a/tmk_core/protocol/ps2_mouse.c +++ b/tmk_core/protocol/ps2_mouse.c | |||
@@ -283,4 +283,4 @@ static inline void ps2_mouse_scroll_button_task(report_mouse_t *mouse_report) { | |||
283 | } | 283 | } |
284 | 284 | ||
285 | RELEASE_SCROLL_BUTTONS; | 285 | RELEASE_SCROLL_BUTTONS; |
286 | } \ No newline at end of file | 286 | } |
diff --git a/tmk_core/protocol/ps2_mouse.h b/tmk_core/protocol/ps2_mouse.h index 3b498059d..e11c705fc 100644 --- a/tmk_core/protocol/ps2_mouse.h +++ b/tmk_core/protocol/ps2_mouse.h | |||
@@ -66,6 +66,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
66 | #ifndef PS2_MOUSE_SCROLL_MASK | 66 | #ifndef PS2_MOUSE_SCROLL_MASK |
67 | #define PS2_MOUSE_SCROLL_MASK 0xFF | 67 | #define PS2_MOUSE_SCROLL_MASK 0xFF |
68 | #endif | 68 | #endif |
69 | #ifndef PS2_MOUSE_INIT_DELAY | ||
70 | #define PS2_MOUSE_INIT_DELAY 1000 | ||
71 | #endif | ||
69 | 72 | ||
70 | enum ps2_mouse_command_e { | 73 | enum ps2_mouse_command_e { |
71 | PS2_MOUSE_RESET = 0xFF, | 74 | PS2_MOUSE_RESET = 0xFF, |