Orbit3D

The open protocol for 3D input.

Orbit3D gives 6DoF devices and 3D apps one shared language. Devices publish normalized motion and button events to OrbitHub, a small local service, and apps read them through one SDK.

# Read Orbit motion with the Orbit3D Python SDKfrom orbit3d_hub import Client, MotionEvent, MOTION, BUTTONS with Client() as hub:  # OrbitHub on 127.0.0.1:43120    hub.subscribe(MOTION | BUTTONS)    while True:        event = hub.poll()        if isinstance(event, MotionEvent):            # Six axes, each -1,000,000 to 1,000,000            orbit_camera(event.tx, event.ty, event.tz,                         event.rx, event.ry, event.rz)