I’m working on a patch that needs to know the mouse button status, but when it’s anywhere within Live (not necessarily within Max).
As far as I can tell, mousefilter and mousestate only work if the Max device itself has focus. I’m curious if anyone else has solved this issue.
Actually, thinking about it more, I’d be happy with a solution that works anywhere, as long as it’s not restricted to being in a Max window. It doesn’t need to be within Live.
Basically, I just need to know the mouse button state, regardless of where the mouse is.
Check out the
hi object. I can’t promise that it works in Live (haven’t used Max4Live for a while on this computer, so I’m not sure if I have it setup right now).
Thanks for the suggestion. I thought about that, but it has a couple of its own issues:
- on Windows machines, the mouse isn’t seen by [hi] (as far as I can tell)
- (ideally) it should work without configuration, for any user, using any mouse or trackpad.
Hmm, I only use Windows for some development/web work when I can’t use OS X or another *nix so sorry, don’t have any other suggestions.
C74 RSS Feed | © Copyright Cycling '74