Request to JavaScript API for SpaceMouse

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

Moderator: Moderators

Post Reply
crazybitman
Posts: 3
Joined: Tue Feb 02, 2016 4:56 am

Request to JavaScript API for SpaceMouse

Post by crazybitman »

Hi could anyone tell me how I can manipulate the SpaceMouse with JavaScript in Web?

It seems the GamePad API could only provide raw 6 axes data, but it is quite complicated to convert them into 3d action controls.

And the API are all in Windows.

Thanks in advance.
ngomes
Moderator
Moderator
Posts: 3321
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Re: Request to JavaScript API for SpaceMouse

Post by ngomes »

Hi crazybitman,

Sorry for not replying any sooner.

Can you please get in touch with API Support team? The contact details can be found in the SDK page (a "My3Dx" account is required).
JsFever
Posts: 2
Joined: Sat Jul 30, 2016 12:47 pm

Re: Request to JavaScript API for SpaceMouse

Post by JsFever »

I haven't got a SpaceMouse to test. Before purchase, I would dearly like to know how programmable/accessible it is via Javascript - in the browser or Nodejs. Can anyone shed some light? Is all the input data available?

Thanks!
JsFever
Posts: 2
Joined: Sat Jul 30, 2016 12:47 pm

Re: Request to JavaScript API for SpaceMouse

Post by JsFever »

...no, nothing? :(
arpruss
Posts: 31
Joined: Tue Aug 21, 2018 7:50 am

Re: Request to JavaScript API for SpaceMouse

Post by arpruss »

Sorry to resurrect this old threat, but in case people are interested, there is this:
https://github.com/archilogic-com/afram ... r-controls

I've made a bunch of modifications to this and used it as a basis to my SpaceMouse for TinkerCAD Chrome extension:
https://github.com/arpruss/spacemouse-tinkercad
3dhead
Posts: 4
Joined: Fri Sep 17, 2021 11:47 am

Re: Request to JavaScript API for SpaceMouse

Post by 3dhead »

Thanks to the previous work from arpruss, I've added two more supported web apps: Figma and SketchUp for Web:
https://github.com/chuanqisun/spacemouse-anywhere
Post Reply