Mousestate Question - Trying to get the OS to ignore the mouse data
Hi all,
I am using the [mousestate] and [key] objects with an alternative mouse controller called the Contour Design RollerMouse Red. I was wondering if anyone knew a way for, while i am using the Max patch that has the [mousestate] and [key] objects, the data from the RollerMouse to be ignored by the OS? I want to get all the data into the [mousestate] and [key] objects, but for the data to not also be sent to the OS, so i don't accidentally click and move things on the computer while i am performing. If anyone knows of any ways to accomplish this, i would be most appreciative if you would share!! I'm not sure if its even possible, but i figured it couldn't hurt to check. Also, i have tried using the [hi] object as well, but the data that i get from it is not consistent at all, which is why i am using [mousestate] and [key]. Thanks everyone!!
Cheers,
Nathan
Depends on the device driver. If you're very, very lucky, the driver may provide an API that (among everything else) might allow you to turn off communication between the device and the OS.
I don't have any experience with any of the Contour Design product,s but I have done some work with other devices (albeit several years ago in what seems like a completely different life). And I don't know if you want to delve into programming at that level--it's very low level compared to patching Max.
Hi Peter, thanks for the response! I would actually very much like to delve into that kind of programming...i am admittedly quite a noob at it, but i have been itching to start getting into that kind of stuff. Any suggestions where i would even start? I'm not even sure how to access my device's API or any of that jazz...any help would be most appreciated! :)
I'd start by looking at the Contour Design web site and look around if they offer a software development kit (SDK) for talking to their RollerMouse. If you find one, download it and the documentation and start reading. When it starts to make sense, then you'll be in a good position to try to use of it.
If they don't offer any kind of SDK, you may simply be stuck with the way the device works out of the box.
ok awesome! i shall start there. thanks very much!!