Plugin for 3D mouse?

I wonder if it is possible to write a script / plugin for controlling the camera in the editor with a 3D mouse, such as 3D SpaceNavigator (by the company 3DConnexion)? Perhaps it already exists somewhere?

How do I begin writing input support for “new” devices, for the 3D editor?

If the browser can access the peripheral, then so can your PlayCanvas app. However, I suspect Chrome/Firefox/etc cannot talk to a 3D mouse (although I’m willing to be proved wrong).

Custom devices like the Leap Motion sensor rely on a proprietary, locally installed web server. The web server reads the device and a JavaScript framework added to your app communicates with the local server over WebSockets to read the data.

You’ll have to do some Googling to find out more about this since it’s quite a niche device and topic.