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

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

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

Post by fingus »

Tested at home and work. Event doesn´t being recognized.
Bugala
Posts: 1178
Joined: Sun Feb 14, 2010 7:11 pm

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

Post 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?
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post by airsoftsoftwair »

Works here. Have you tested the MousewheelDemo script that comes with Hollywood? Works fine here on Windows 10.
User avatar
fingus
Posts: 269
Joined: Fri Sep 16, 2011 9:53 am

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

Post 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
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post 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.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post 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
Post Reply