JoyCon for Mimics Viewer

Browser-only Joy-Con control for Materialise Mimics Viewer. No drivers or remapping software.

1. Install: drag this button to your bookmarks bar.

JoyCon ▸ Mimics
2. Use
  1. Pair the Joy-Con with the laptop over Bluetooth, and close the old cursor-mapping software.
  2. Open a case in Mimics Viewer in Chrome or Edge and wait for the model to load.
  3. Click the bookmark. A status panel appears at the bottom left. Press any Joy-Con button once so the browser detects the controller.
  4. Click the bookmark again to turn it off. Reloading the page also removes it.
Choosing the controller

If the laptop exposes more than one game input, the status panel shows which one is active, e.g. "(2 of 3 · Alt+G to change)". The script picks the input you last chose on this computer. If there is none, it picks the first one named like a Joy-Con, and otherwise the first one listed.

The choice is saved in this browser on this laptop, so this is a one-time setup step before the case and not something to do in the sterile field.

Controls (single left Joy-Con held upright: stick on top, L shoulder and L trigger on the top edge). Numbers in [ ] are the browser's button numbers, shown live with Alt+D.
StickRotate model
Hold stick click [10] + move stickPan
Hold Up [2] / Down [1] arrowZoom in / out
Right [3] / Left [0] arrowNext / previous saved view
Minus (−) [9]Home (view at start)
L shoulder [8]Select next component (shown in status panel)
L trigger (ZL) [6]Cycle selected component: visible & opaque → transparent → hidden → visible & opaque

First-time check: press Alt+D on the viewer page to show live button numbers and stick values in the status panel. If a button does the wrong thing, edit the btn map in joycon-mimics.js and rebuild the bookmark. If pushing the stick up rotates the model sideways, change stickRotate from 90 to −90. The SL/SR rail buttons [4]/[5] are unused because a hand gripping the Joy-Con upright can press them by accident. Button [7] is not reported by this Joy-Con.

Keyboard test without a controller: Alt+arrows rotate, Alt+Shift+arrows pan, Alt+= / Alt+− zoom, Alt+[ / ] views, Alt+H home, Alt+N next component, Alt+V cycle opaque/transparent/hidden, Alt+G choose controller.