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
SpaceNavigator on linux running Qt 5.7.0
Moderator: Moderators
Re: SpaceNavigator on linux running Qt 5.7.0
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.
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.