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
sisirajaya
Posts: 4
Joined: Mon Nov 24, 2014 2:32 pm

SpaceNavigator on linux running Qt 5.7.0

Post by sisirajaya »

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.

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

Re: SpaceNavigator on linux running Qt 5.7.0

Post by koenieee »

Sisira,

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:

viewtopic.php?f=21&t=33544

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