Hi,
are there any samples using a 3dconnexion device with Qt 4.8 using XEvents? I wrote some code to setup the device to the xwindow of the Qt application, and it opens the 3DxWare window, but no XEvents are reaching the Qt application.
Basically I took the initialize and setWindow code from the sample application and added that to my Qt application, hoping the XEvents would show up in the overriden x11EventFilter method in the QApplication.
Has anyone gotten this to work? I saw a direct implementation using hidapi, sadly this is not a viable solution for me right now.
Thanks for any hints
pettersson
Qt 4.8.x sample
Moderator: Moderators
-
- Posts: 3
- Joined: Thu Sep 03, 2015 7:30 am
Re: Qt 4.8.x sample
To elaborate a little more, using debug outputs, it looks ok. CommandMessage for the window goes to "Magellan Window" and the xclient.data is set to the actual application window. Yet I don't get any XEvents from the device.