update travis support go 1.10.x

This commit is contained in:
vcaesar 2018-02-25 14:56:31 +08:00
parent 0e67e31cf4
commit 4544fabb91
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ go:
# - 1.7.x
- 1.8.x
- 1.9.x
- "1.10"
- 1.10.x
- tip
addons:

View File

@ -71,7 +71,7 @@ void calculateDeltas(CGEventRef *event, MMPoint point)
/**
* The next few lines are a workaround for games not detecting mouse moves.
* See this issue for more information:
* https://github.com/octalmage/robotjs/issues/159
* https://github.com/go-vgo/robotgo/issues/159
*/
CGEventRef get = CGEventCreate(NULL);
CGPoint mouse = CGEventGetLocation(get);
@ -244,7 +244,7 @@ void doubleClick(MMMouseButton button)
void scrollMouse(int scrollMagnitude, MMMouseWheelDirection scrollDirection)
{
#if defined(IS_WINDOWS)
// Fix for #97 https://github.com/octalmage/robotjs/issues/97,
// Fix for #97 https://github.com/go-vgo/robotgo/issues/97,
// C89 needs variables declared on top of functions (mouseScrollInput)
INPUT mouseScrollInput;
#endif