0031632: Draw Harness - handle 3d mouse Raw HID input on Windows
authorkgv <kgv@opencascade.com>
Fri, 26 Jun 2020 06:58:50 +0000 (09:58 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 3 Jul 2020 08:03:05 +0000 (11:03 +0300)
commitd6fbb2aba4ba93e07f93d2540cb23a2397e1f8d6
treeb6d8a36a28a693d57cc983afab916a50019a4747
parent79e9ba31d2f8f3b68c33503cc50da2d869a0156b
0031632: Draw Harness - handle 3d mouse Raw HID input on Windows

WNT_HIDSpaceMouse - added auxiliary class for processing 3d mouse Raw HID input.
AIS_ViewController::Update3dMouse() - added default processor for 3d mouse input event.
ViewerTest now redirects WM_INPUT to AIS_ViewController::Update3dMouse().
Aspect_VKey enumeration has been extended by 3D view buttons.
WNT_Window::RegisterRawInputDevices() has beend added as a small wrapper
over WinAPI RegisterRawInputDevices() for common HID input devices.

AIS_ViewCube now stores animation duration within AIS_AnimationCamera instead of dedicated duplicating class property.
15 files changed:
adm/cmake/occt_toolkit.cmake
adm/genproj.tcl
src/AIS/AIS_ViewController.cxx
src/AIS/AIS_ViewController.hxx
src/AIS/AIS_ViewCube.cxx
src/AIS/AIS_ViewCube.hxx
src/Aspect/Aspect_VKey.hxx
src/Aspect/Aspect_VKeySet.hxx
src/ViewerTest/ViewerTest_EventManager.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
src/WNT/FILES
src/WNT/WNT_HIDSpaceMouse.cxx [new file with mode: 0644]
src/WNT/WNT_HIDSpaceMouse.hxx [new file with mode: 0644]
src/WNT/WNT_Window.cxx
src/WNT/WNT_Window.hxx