IOKit.hid

Post questions, comments and feedback to our 3Dconnexion Mac Development Team.

Moderator: Moderators

Post Reply
edj999
Posts: 2
Joined: Mon Mar 22, 2021 6:35 pm

IOKit.hid

Post by edj999 »

Hi there I am attempting to get telemetry from the SpaceMouse Compact in a custom macOS app. I'd like to evaluate its suitability for robot control, but the app is not published and has no website so I can't apply to become a developer. IOKit reports the SpaceMouse Compact as an HID multi-axis controller, but it doesn't seem to receive any events from it. Am I required to configure or register the device before hand with the SDK? Is there any other way to get access to the SDK? If you want your products to be widely adopted, it seems logical to be more open with the SDK.
ngomes
Moderator
Moderator
Posts: 3344
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Re: IOKit.hid

Post by ngomes »

If you have installed the 3DxWare 10 driver, then you will not get any data from the device using IOKit. This is because the driver exclusively grabs the device.

When you uninstall the driver, you will notice that hte system uses the SpaceMouse data to control the mouse pointer, a undesirable feature and the reason why the driver has to make an exclusive grab. You may want to take the same approach in your program.

To register as a developer at 3Dconnexion, please go to this web page and click on "Join Now".
Nuno Gomes
Post Reply