llde / xOBSE

Oblivion Script extender source
250 stars 36 forks source link

OnControlEvent returns wrong "action" when triggered by mouse buttons #196

Closed qwertyasdfgh2 closed 1 year ago

qwertyasdfgh2 commented 1 year ago

Controls that are bound to mouse buttons (I tested block and attack) return wrong action type in OnControlEvent. Instead of 0 for press, 1 for release and 2 for hold it's 0 for press (correct), 1 for hold and nothing (?) for release. Same event script works correctly if triggered by keyboard button.

llde commented 1 year ago

Thanks for the report I will try to resolve shortly

llde commented 1 year ago

@qwertyasdfgh2 Can you check wethever OnKeyEvent is affected too?

qwertyasdfgh2 commented 1 year ago

No, OnKeyEvent works correctly with mouse buttons.