About   |   Getting Started   |   Downloads   |   Documentation   |   Forum


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse wheel scroll
09-19-2014, 08:21 AM
Post: #1
Mouse wheel scroll
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.
Find all posts by this user
Quote this message in a reply
09-21-2014, 11:36 AM
Post: #2
RE: Mouse wheel scroll
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.
Find all posts by this user
Quote this message in a reply
09-23-2014, 11:03 AM
Post: #3
RE: Mouse wheel scroll
This is great news, thank you! Is there any info on when this feature might be implemented?
Find all posts by this user
Quote this message in a reply
09-25-2014, 06:04 AM
Post: #4
RE: Mouse wheel scroll
Maybe approximately? This info could help me decide if I should implement platform-oriented listener of mouse wheen events or wait for update.
Find all posts by this user
Quote this message in a reply
09-29-2014, 09:53 AM (This post was last modified: 09-29-2014 10:00 AM by garrett.)
Post: #5
RE: Mouse wheel scroll
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).
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)