Skip to content

Commit

Permalink
Fix mouse val in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
vcaesar committed Dec 30, 2016
1 parent 7257183 commit 288d068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event/goEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void dispatch_proc(iohook_event * const event) {
event->data.mouse.button, event->data.mouse.clicks);
int abutton=event->data.mouse.button;
int aclicks=event->data.mouse.clicks;
int amouse=0;
int amouse=-1;
if (strcmp(cevent,"mleft") == 0){
amouse=1;
}
Expand Down

0 comments on commit 288d068

Please sign in to comment.