Skip to content

About

SpaceMouse tray utility for macOS — scroll simulation and app focus management by XavierChen

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

spacemouseX

Developer: XavierChen

English | 简体中文

A lightweight macOS tray app for 3Dconnexion SpaceMouse devices. It reads motion data through 3DconnexionJS, optionally simulates mouse wheel scrolling, and releases SpaceMouse focus when CAD apps (e.g. Fusion 360) are in the foreground.

Features

  • System tray — keeps running after closing the window
  • Scroll simulation — map SpaceMouse TY axis to mouse wheel up/down
  • Sensitivity slider — continuous range 1–500 (100 = default, 500 = max)
  • App filter — blacklist / whitelist / always-claim modes to avoid stealing focus from Fusion 360 and other 3D apps
  • Smart focus — automatically releases NL-Proxy focus for blocked apps

Requirements

  • macOS with 3DxWare 10 (≥ 10.8.10)
  • A connected SpaceMouse device
  • Accessibility permission (for scroll simulation)
  • Automation permission for System Events (for foreground app detection)

Install & Run

git clone https://github.com/xavier-chen/spacemouseX.git
cd spacemouseX
npm install
npm start

Usage

  1. Enable Scroll up/down in the config window or tray menu
  2. Adjust sensitivity with the slider (tray → Sensitivity opens the config window)
  3. Use App filter to add Fusion 360 or other apps to the blacklist so they keep native SpaceMouse navigation

Tray menu

Item Description
Show window Open / hide the config window
Scroll up/down Toggle wheel simulation
Sensitivity Open config window
Quit Exit the app

App filter modes

Mode Behavior
Blacklist Release focus when listed apps are frontmost (recommended)
Whitelist Only claim focus for listed apps
Always claim May conflict with Fusion 360 and similar apps

Scroll smoothing

Motion is accumulated and emitted in small steps at ~120 Hz to reduce stutter from large per-frame scroll jumps.

Technical notes

  • Connects to local NL-Proxy via WebSocket (127.51.68.120:8181)
  • Scroll events via @nut-tree-fork/nut-js
  • Uses @3dconnexion/3dconnexionjs — subject to 3Dconnexion SDK license terms

License

MIT © XavierChen

3DconnexionJS is © 3Dconnexion and governed by their SDK license.

About

SpaceMouse tray utility for macOS — scroll simulation and app focus management by XavierChen

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages