-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3dconnexion mouse not working on Mac. #312
Comments
Thanks for the investigation! |
@xythobuz Can you please take a look at this? |
Of course. I'm unfortunately not able to really test this, as my main work machine is currently unusable thanks to a broken SSD... Still, I did some investigating and may have found some things out: First of all, I should mention, I do not own a proper 3DConnexion device and never tested it with their driver and their hardware. I've only been using my own spacenav fork with my self-written reimplementation of the 3DConnexion driver. So the API is the same, but some specifics might be different. In this case, it really looks to all be related to the CFBundleIdentifier and the program name passed to the 3DConnexion driver. Here is the code initializing the driver API. Edit: sorry, I meant connexionName, connexionSignature is limited to 4 chars! It should in theory be possible to pass In my opinion, the proper solution could be similar to:
I think that should hopefully solve the problem 😃 |
Also, I may be totally wrong, and this could also be a problem with the official 3DConnexion driver, according to this discussion on their support forums. As I said, I don't own any 3DConnexion devices and never used their driver, so I can't verify this unfortunately. |
@xythobuz
This first fix allows solvespace to be added to the 3Dconnexion configuration for custom button assignments as stated above. In other issues of compiling with 10.12, I get some warnings. I'll see if I can find a fix for this too. |
Just an update. This above fix did allow the use of the 3Dmouse in solvespace, but it still reacts to the 3dmouse input if another application like the "3Dx Axis" demo or "FreeCAD" is opened and is the foremost window. |
I've applied the fix in master. Thanks everyone! |
Think, this bugfix info should be added into changelog: 125c125
< * 3Dconnexion SpaceMouse should now work (on Windows).
---
> * 3Dconnexion SpaceMouse should now work (on Windows and OS X). |
The mouse (SpaceNavigator) doesn't work on solvespace 2.3. I'm using MacOS 10.12.6.
Interestingly, if I open the "3Dx Axis" demo included with the 3Dconnexion driver, SolveSpace now responds perfectly with the 3D mouse. As soon as I click on the Solvespace program window, to make it the "active" window, the mouse stops working again. It only works when "3Dx Axis" demo is the foremost selected window.
This phenomenon also happens when FreeCAD is the active program, with solvespace also open in the background.
Just as a side note, the info.plist file included in the Mac Binary version lacks a CFBundleIdentifier, preventing the 3Dconnexion program from selecting it for custom application control options. Adding a arbitrary CFBundleIdentifier fixed this issue.
The text was updated successfully, but these errors were encountered: