3DConnexion devices: added option to swap y/z translations

This commit is contained in:
Enrico Turri 2020-03-20 13:09:42 +01:00
parent 170650169c
commit f912fecad5
4 changed files with 30 additions and 11 deletions

View file

@ -56,7 +56,9 @@ class Mouse3DController
// The effects of changing this value can be tested by setting ENABLE_3DCONNEXION_DEVICES_DEBUG_OUTPUT to 1
// and playing with the imgui dialog which shows by pressing CTRL+M
size_t input_queue_max_size { 15 };
};
// Whether to swap Y/Z axis when translating or not.
bool swap_yz_translations{ false };
};
// Queue of the 3DConnexion input events (translations, rotations, button presses).
class State