Page 1 of 1
OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work
Posted: Mon Aug 13, 2018 10:49 pm
by fingus
Tested at home and work. Event doesn´t being recognized.
Re: OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work
Posted: Tue Aug 14, 2018 7:31 pm
by Bugala
I was using that on my AIBOT game with Hollywood7.1 and Windows 10 and it worked.
Can you give example code of non working code?
Re: OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work
Posted: Fri Aug 17, 2018 11:40 pm
by airsoftsoftwair
Works here. Have you tested the MousewheelDemo script that comes with Hollywood? Works fine here on Windows 10.
Re: OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work
Posted: Sat Aug 18, 2018 10:42 pm
by fingus
Gotcha!
With REBELSDL Enabled the Mousewheel-EVent doesn´t work!
I Found this in the readme:
"the mouse wheel is unsupported"
ugh!
@REQUIRE "rebelsdl"
Function p_HandlerFunc(msg)
Switch(msg.action)
Case "OnWheelUp":
DebugPrint("Wheel up")
Case "OnWheelDown":
DebugPrint("Wheel down")
EndSwitch
EndFunction
InstallEventHandler({OnMouseUp = p_HandlerFunc,
OnRightMouseUp = p_HandlerFunc,
OnWheelUp = p_HandlerFunc,
OnWheelDown = p_HandlerFunc})
Repeat
CheckEvent
Forever
Re: OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work
Posted: Sun Aug 19, 2018 10:33 pm
by airsoftsoftwair
Yes, this is a limitation in the Hollywood SDK which currently doesn't allow to forward mouse wheel events to the event server. But it's on the agenda.
Re: OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work
Posted: Sun Jan 06, 2019 5:27 pm
by airsoftsoftwair
Code: Select all
- New [SDK]: Added HWEVT_MOUSEWHEEL; this allows display adapter plugins to post mouse wheel events to
Hollywood's event queue