Fix mouse button state reporting

This commit is contained in:
evilC 2018-04-02 17:46:05 +01:00
parent fb1e0e5450
commit 999e82cede

View File

@ -78,6 +78,10 @@ namespace AutoHotInterception.Helpers
{
state = stroke.mouse.rolling < 0 ? -1 : 1;
}
else
{
state = 2 - state;
}
return new ButtonState {Button = btn, State = state};
}