programming space explorer to send actions via other app

Questions and answers about 3Dconnexion devices on macOS.

Moderator: Moderators

Post Reply
santaris
Posts: 2
Joined: Tue May 26, 2009 5:41 am

programming space explorer to send actions via other app

Post by santaris »

Hello.I have made an application using Qt.And i want to know if i can use the space explorer in order to send QAction using tcpSocket via my own app.I just want every time i press a key on the space explorer to send a string like 'vmf' using the tcpSocket of my own app on an other C++ application.Can this be done?Thanks in advance.
flomotan
Moderator
Moderator
Posts: 287
Joined: Mon Jan 08, 2007 3:37 pm

Post by flomotan »

If you can integrate the 3Dconnexion framework into your application, you can receive button press events from the device. When an event comes in, you can take whatever action you need to do. In this case fire off a string message.
Post Reply