Hi there,
I recently bought a Space Navigator for Notebooks and I want to integrate its functionality in an application.
The idea is to get something that supports multiple devices as well. I see that is possible with the Max OS X API.
I am writing some driver code to capture the data sent by the SN and I run into a problem.
When the app in question is not the frontmost app I stop receiving data from the SN.
If I initialize the device with the following code:
clientID = RegisterConnexionClient('max2', NULL, kConnexionClientModeTakeOver, kConnexionMaskAll);
I receive data normally, but only if the app is frontmost.
This is the code that - according to the docs - should allow me to receive data no matter if the app is frontmost or in the background:
clientID = RegisterConnexionClient(kConnexionClientWildcard, NULL, kConnexionClientModeTakeOver, kConnexionMaskAll);
However, in this case I don't receive anything at all.
What am I doing wrong ?
Thanks.
- Luigi Castelli
