# Using 3Dxconnection space mouse (tdx), events are not triggering and device not working

**URL:** https://discourse.vtk.org/t/using-3dxconnection-space-mouse-tdx-events-are-not-triggering-and-device-not-working/7138
**Category:** Support
**Created:** [November 10, 2021, 2:48pm UTC](https://discourse.vtk.org/t/using-3dxconnection-space-mouse-tdx-events-are-not-triggering-and-device-not-working/7138 "2021-11-10T14:48:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![cebugdev](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cebugdev/32/7803_2.png) [@cebugdev](https://discourse.vtk.org/u/cebugdev)
#### Post date: [November 10, 2021, 2:48pm UTC](https://discourse.vtk.org/t/using-3dxconnection-space-mouse-tdx-events-are-not-triggering-and-device-not-working/7138/1 "2021-11-10T14:48:12Z")

</div>

Hi, we are planning to integrate 3DX spacemouse device to our VTK based QT application,  
I followed the tutorial from here [https://gitlab.kitware.com/lenlen/vtk/-/blob/b50286296b8cca5265f9c947f6c3deec12d65f23/Rendering/OpenGL/Testing/Cxx/TestTDx.cxx](https://gitlab.kitware.com/lenlen/vtk/-/blob/b50286296b8cca5265f9c947f6c3deec12d65f23/Rendering/OpenGL/Testing/Cxx/TestTDx.cxx)

i set the iren-\>SetUseTDx(true) and all but it seems like the events are not trigger, or maybe the device does not work at all.  
Also,  
In this article [https://vtk.org/Wiki/VTK/3DConnexion\_Devices\_Support#How\_to\_program\_it](https://vtk.org/Wiki/VTK/3DConnexion_Devices_Support#How_to_program_it)  
it says, build VTK with VTK\_USE\_TDx to true when building but I cant find that option in Cmake for version 9.1.0 or 8.2.0. Im using the CMake app in windows 10.

What am I missing here? Is the support for SpaceNavigator for VTK not yet available on main releases?

how can i check what is wrong or erros on my integration?  
device is ok alright, it is new and it detects on other test applications but not on my application that uses VTK.

or does 3DX space mouse navigation not supported with VTK yet? but i think spacemouse is spacenavigator just renamed or something.

Any advice?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [November 10, 2021, 4:09pm UTC](https://discourse.vtk.org/t/using-3dxconnection-space-mouse-tdx-events-are-not-triggering-and-device-not-working/7138/2 "2021-11-10T16:09:27Z")

</div>

3D connection is not supported by VTK anymore, see here for more info:

[https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/7262](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7262)
