Add option in the CTRL-M dialog to invert axes (#1928)

Some people prefer their axes inverted when using a spacemouse.
This this, you can invert any set of axes you want.
This commit is contained in:
Stephen Hurd 2023-08-26 23:29:46 -04:00 committed by GitHub
parent 012f113eae
commit 17811c997b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 108 additions and 5 deletions

View file

@ -61,6 +61,13 @@ class Mouse3DController
size_t input_queue_max_size { 15 };
// Whether to swap Y/Z axes or not.
bool swap_yz{ false };
// Invert varius axes...
bool invert_x{ false };
bool invert_y{ false };
bool invert_z{ false };
bool invert_yaw{ false };
bool invert_pitch{ false };
bool invert_roll{ false };
};
// Queue of the 3DConnexion input events (translations, rotations, button presses).