mirror of
https://github.com/evilC/AutoHotInterception.git
synced 2024-11-12 13:10:47 +00:00
Fix mouse button state reporting
This commit is contained in:
parent
fb1e0e5450
commit
999e82cede
@ -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};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user