NDOF: invert axes by default

Matches 3D Connexion's reference software.
This commit is contained in:
Campbell Barton 2019-11-30 19:20:06 +11:00
parent 6d79ebebc5
commit e9dd2abaef
Notes: blender-bot 2023-02-14 10:21:10 +01:00
Referenced by issue #73310, 3d connexion - axes reversed
Referenced by issue #67579, Improve NDOF navigation
1 changed files with 6 additions and 1 deletions

View File

@ -154,7 +154,12 @@ const UserDef U_default = {
.ndof_orbit_sensitivity = 4.0,
.ndof_deadzone = 0.1,
.ndof_flag = (NDOF_MODE_ORBIT | NDOF_LOCK_HORIZON | NDOF_SHOULD_PAN | NDOF_SHOULD_ZOOM |
NDOF_SHOULD_ROTATE),
NDOF_SHOULD_ROTATE |
/* Software from the driver authors follows this convention
* so invert this by default, see: T67579. */
NDOF_ROTX_INVERT_AXIS | NDOF_ROTY_INVERT_AXIS | NDOF_ROTZ_INVERT_AXIS |
NDOF_PANX_INVERT_AXIS | NDOF_PANY_INVERT_AXIS | NDOF_PANZ_INVERT_AXIS |
NDOF_ZOOM_INVERT),
.ogl_multisamples = 0,
.image_draw_method = IMAGE_DRAW_METHOD_AUTO,
.glalphaclip = 0.004,