Is there a way to emulate 3Dconnexion's SpaceMouse?

Official forum for open source FreePIE discussion and development.
Post Reply
TiagoTiago
One Eyed Hopeful
Posts: 33
Joined: Thu Mar 13, 2014 1:49 am

Is there a way to emulate 3Dconnexion's SpaceMouse?

Post by TiagoTiago »

Some programs (perhaps because of sponsorship?) offer some functionality only for 3dconnexion's SpaceMouse. But it would be great to be able to use other stuff instead.


How hard would it be to emulate it?



Based on info from this page, it sorta sounds like it might be possible to tweak the driver from something like PPJoy or vJoy to make it look like a SpaceMouse ; is it really that simple?
Last edited by TiagoTiago on Sun Dec 14, 2014 10:31 am, edited 1 time in total.
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: Is there a way to emulate 3dconnexion's SpaceMouse?

Post by CyberVillain »

Do you have the SDK?
YOu need to register for it

http://www.3dconnexion.eu/index.php?id= ... nnexion.eu

If its a C dll it could be easy to fake, if not you need to fake HID, not as easy.
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: Is there a way to emulate 3dconnexion's SpaceMouse?

Post by CyberVillain »

Looks like there are also apps that do not use the API but rather use the HID directly

https://www.3dconnexion.com/forum/viewtopic.php?t=3651
TiagoTiago
One Eyed Hopeful
Posts: 33
Joined: Thu Mar 13, 2014 1:49 am

Re: Is there a way to emulate 3Dconnexion's SpaceMouse?

Post by TiagoTiago »

I don't mean reading from it; I mean making programs think it is there when it isn't, and read meaningful values from it that are actually fed into the virtual device.


Is the protocol of joysticks and "multi-axis controllers", as they call themselves, really that different aside from the identifier code? I'm still trying to find clear information on this, but so far it sounds like everything HID talks the same language and just got many different names for the same stuff, analog axes, buttons etc.
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: Is there a way to emulate 3Dconnexion's SpaceMouse?

Post by CyberVillain »

YEs i know, but to achieve that you need to know how programs read the data, and it seems like there is not one way of doing it

edit: maybe the vjoy driver could be updated to support faking of this HID device, I would check with them
TiagoTiago
One Eyed Hopeful
Posts: 33
Joined: Thu Mar 13, 2014 1:49 am

Re: Is there a way to emulate 3Dconnexion's SpaceMouse?

Post by TiagoTiago »

This seems promising.
Post Reply

Return to “FreePIE”