Skip to content

Commit

Permalink
Added back PS2_MOUSE_INIT_DELAY define
Browse files Browse the repository at this point in the history
  • Loading branch information
ofples committed Dec 3, 2016
1 parent d639e08 commit 9f41544
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/protocol/ps2_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,4 @@ static inline void ps2_mouse_scroll_button_task(report_mouse_t *mouse_report) {
}

RELEASE_SCROLL_BUTTONS;
}
}
3 changes: 3 additions & 0 deletions tmk_core/protocol/ps2_mouse.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9f41544

Please sign in to comment.