Page 1 of 1
OnWheelDown and OnWheelUp no work !
Posted: Wed Feb 16, 2022 10:35 am
by sinisrus
Hello,
OnWheelDown and OnWheelUp no work with RapaGui on Windows 7 (Work on OS4 and WinUAE OS3.9)
Re: OnWheelDown and OnWheelUp no work !
Posted: Sat Feb 19, 2022 10:09 pm
by airsoftsoftwair
Re: OnWheelDown and OnWheelUp no work !
Posted: Tue Feb 22, 2022 9:08 am
by sinisrus
Yes sorry !
Code: Select all
/* Nouveau projet Hollywood */
@REQUIRE "RapaGUI", {Link = True}
Function p_EventFunc(msg)
Switch msg.action
Case "RapaGUI":
Switch msg.attribute
Case "CloseRequest": End
EndSwitch
Case "OnWheelUp": moai.set("id_statusbar","text","UP")
Case "OnWheelDown": moai.set("id_statusbar","text","DOWN")
EndSwitch
EndFunction
InstallEventHandler({
RapaGUI = p_EventFunc,
OnWheelUp = p_EventFunc,
OnWheelDown = p_EventFunc,
})
; dynamically create MUI GUI from an external *.xml file definition
moai.CreateApp([[
<?xml version="1.0" encoding="UTF-8"?>
<application id="app">
<window id="win_ChromaKey" title="AmiChromaKey :" notify="closerequest">
<vgroup>
<hollywood display="1"/>
<statusbar>
<item id="id_statusbar"></item>
</statusbar>
</vgroup>
</window>
</application>
]])
EscapeQuit(True)
/* Boucle infinie */
Repeat
WaitEvent
Forever
Re: OnWheelDown and OnWheelUp no work !
Posted: Tue Mar 01, 2022 4:26 pm
by airsoftsoftwair
Oh, right, looks like mousewheel support isn't implemented at all on Windows/macOS/Linux. Only on Amiga. Will be fixed.
Re: OnWheelDown and OnWheelUp no work !
Posted: Sun Aug 18, 2024 9:22 pm
by airsoftsoftwair
Code: Select all
- Fix [Windows/macOS/Linux]: Mouse wheel events were not recognized by Hollywood class and when using the
plugin as a display adapter