Hey all,
I have been tasked with implementing support for the 3dxware 10 driver in our application, and it is almost done. So far things are working correctly on windows, but I have a small problem on Mac. I am connected to the device and I get axis and button input. But when I change the button mapping in the preference panel of the driver nothing happens. When changing the axis everything is working smoothly, but even though I have assigned virtual numpad to the left button on the space navigator, the button event is still sent to the application instead of opening the numpad.
Has anyone else experienced this problem or know of possible fixes?
Heine
Button mapping in preferences not used
Moderator: Moderators
Re: Button mapping in preferences not used
Hello Heine,
please, try to change the mask parameter of RegisterConnexionClient() to kConnexionMaskAxis only. This should do the job.
Note: Do not call SetConnexionClientButtonMask() after that.
If you call RegisterConnexionClient() with a button mask or call SetConnexionClientButtonMask() it tells the driver that your application wants to take care of the button handling (mapping within the application, which is not advised to do!). The driver will send your application raw buttons only and not use mappings done in the panel.
Please let me know if this solves your issue!
Regards,
Christian
please, try to change the mask parameter of RegisterConnexionClient() to kConnexionMaskAxis only. This should do the job.
Note: Do not call SetConnexionClientButtonMask() after that.
If you call RegisterConnexionClient() with a button mask or call SetConnexionClientButtonMask() it tells the driver that your application wants to take care of the button handling (mapping within the application, which is not advised to do!). The driver will send your application raw buttons only and not use mappings done in the panel.
Please let me know if this solves your issue!
Regards,
Christian
Re: Button mapping in preferences not used
Thanks Christian!
Everything seems to be working now.
Everything seems to be working now.
Re: Button mapping in preferences not used
Hello Heine,
thats great to hear, that your issue is solved.
If you have any question, please feel free to ask!
Regards,
Christian
thats great to hear, that your issue is solved.
If you have any question, please feel free to ask!
Regards,
Christian