OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work

Report any Hollywood bugs here
Post Reply
User avatar
fingus
Posts: 136
Joined: Fri Sep 16, 2011 9:53 am

OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work

Post by fingus » Mon Aug 13, 2018 10:49 pm

Tested at home and work. Event doesn´t being recognized.

Bugala
Posts: 693
Joined: Sun Feb 14, 2010 8:11 pm

Re: OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work

Post by Bugala » Tue Aug 14, 2018 7:31 pm

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?

User avatar
airsoftsoftwair
Posts: 2627
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work

Post by airsoftsoftwair » Fri Aug 17, 2018 11:40 pm

Works here. Have you tested the MousewheelDemo script that comes with Hollywood? Works fine here on Windows 10.

User avatar
fingus
Posts: 136
Joined: Fri Sep 16, 2011 9:53 am

Re: OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work

Post by fingus » Sat Aug 18, 2018 10:42 pm

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

User avatar
airsoftsoftwair
Posts: 2627
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: OnWheelUp/OnWheelDown with Hollywood 7.1 on Windows 10 doesn´t work

Post by airsoftsoftwair » Sun Aug 19, 2018 10:33 pm

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.

Post Reply