Hot Door CORE Forum
Mouse wheel scroll - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: Feature requests (http://hotdoorcore.com/forum/forumdisplay.php?fid=7)
+--- Thread: Mouse wheel scroll (/showthread.php?tid=32)



Mouse wheel scroll - Gaxx - 09-19-2014

Hello. It is me again. As far as I know, currently it is impossible to catch mouse wheel events with HDI API(am I correct?). Is it possible to implement functional that will allow library user to handle mouse wheel events? Thank you.


RE: Mouse wheel scroll - garrett - 09-21-2014

I imagine it is possible to capture the mouse wheel events in a similar way to how we capture the mouse button events. I will add this to the list of requested features.


RE: Mouse wheel scroll - Gaxx - 09-23-2014

This is great news, thank you! Is there any info on when this feature might be implemented?


RE: Mouse wheel scroll - Gaxx - 09-25-2014

Maybe approximately? This info could help me decide if I should implement platform-oriented listener of mouse wheen events or wait for update.


RE: Mouse wheel scroll - garrett - 09-29-2014

Unfortunately we will not be able to implement this feature anytime soon, so you should look into the platform code yourself if you need it now. We have a pending dot release of CORE that has loads of new features that needs to be finished, as well as other products that take precedence at the moment.

Obviously I haven't written the code yet, but it's very likely you'll want to add a hook on Windows that monitors for WH_MOUSE_LL events, and you'll want to create an IOHIDManager on Mac with IOKit to receive events for the kHIDPage_GenericDesktop/kHIDUsage_GD_Mouse page/usage pair. If you don't use low-level events like these then it's probable that Illustrator will consume the event and you'll never receive it at the plug-in level (this is what happens with other events like keystrokes).