SpaceNavigator on linux running Qt 5.7.0

Post questions, comments and feedback to our 3Dconnexion UNIX and Linux Development Team.

Moderator: Moderators

Post Reply
Posts: 4
Joined: Mon Nov 24, 2014 2:32 pm

SpaceNavigator on linux running Qt 5.7.0

Post by sisirajaya » Wed Sep 07, 2016 9:26 am

I am trying to interface my application on linux built on Qt 5.7.0 .

Since Qt5 it is using XCB api to interface with X11. Therefore, the native events Qt is sending are of the type xcb_generic_event_t instead of XEvent as before.

The spaceball API is expecting XEvents to convert the event data to spaceball events.

I would like to know if spaceball driver for linux issue client messages with TX and RX data in xcb_generic_event_t event format?

If so how to get them?

Thank you.


Posts: 3
Joined: Wed Aug 02, 2017 5:04 am

Re: SpaceNavigator on linux running Qt 5.7.0

Post by koenieee » Wed Aug 02, 2017 5:11 am


I also had issues integrating the spacemouse into Qt. That's why I decided to write my own cross platform driver using HID-api.

You can find more information in this topic:


It's easily integratble in your own application, just look at the examples.

Post Reply