We would like to use 2 SpaceNavigator devices within a Qt-based framework. Which would be the best method to access the devices? It seems like only the RAW_INPUT or DirectInput are a possibility for dual configurations. RAW_INPUT is not straight forward, since Qt cannot read window messages.
Thanks,
Chris
Qt and 2 SpaceNavigators
Moderator: Moderators
You are right, it is possible to catch the Window messages with Qt. The .txt file of the HID examples says "It currently will only list axis and button data from one of the devices it finds because aitForMultipleObjects only wakes on events from one". Is that still correct? If yes, how can I use 2 devices simultaniously?
Best,
Chris
Best,
Chris
Hi Chris,
To control the SN LEDs you can use the HIDRezero example from the ftp site but send a packet type 4 instead of 7. Data byte 1 turns the LEDs on. 0 turns them off.
You can mix this HID code in with your RawInput code because it is output only. Just call it as a standalone subroutine.
Yes, there will be a driver that will coordinate multiple devices. No, I can not give you a schedule.
Jim
3Dx Software Development
To control the SN LEDs you can use the HIDRezero example from the ftp site but send a packet type 4 instead of 7. Data byte 1 turns the LEDs on. 0 turns them off.
You can mix this HID code in with your RawInput code because it is output only. Just call it as a standalone subroutine.
Yes, there will be a driver that will coordinate multiple devices. No, I can not give you a schedule.
Jim
3Dx Software Development
I want a dual device multi-threaded driver now (also PS3)
I want a dual device multi-threaded driver now (also for the PS3).
Wouldn't it be nice to have game controller-like, dual device-in-one?
Wouldn't it be nice to have game controller-like, dual device-in-one?