Hello everyone,,
I would like to use the Direct Input Example from a prompt, and only read the coordinates of two Space Mouse, without showing them in a GUI.(I only need the data for translation 、rotation and the information of the keys) .
I need of their coordinates to use in the other application. My application is that use two Space Mouse to drive two virtual hands.And the platform is visual C++ 6.0 and use MFC.
Anybody could help me or give me some advice?
Thank you so much!
Help Needed
Moderator: Moderators
Re: Help Needed
The devices are readable with the standard Microsoft Direct Input API.
Microsoft has sample code to do this.
If their code is not sufficient, sign up as a developer and I can email you some sample code to get you started.
It may need modifications to work with such an old version of C++.
Microsoft has sample code to do this.
If their code is not sufficient, sign up as a developer and I can email you some sample code to get you started.
It may need modifications to work with such an old version of C++.
-
- Posts: 2
- Joined: Sat Aug 17, 2019 5:00 am
Re: Help Needed
my issue got solved!!Wanhedaking wrote: ↑Sat Aug 17, 2019 5:02 am Hello everyone,,
I would like to use the Direct Input Example from a prompt, and only read the coordinates of two Space Mouse, without showing them in a GUI.(I only need the data for translation 、rotation and the information of the keys) .
I need of their coordinates to use in the other application. My application is that use two Space Mouse to drive two virtual hands.And the platform is visual C++ 6.0 and use MFC.
Anybody could help me or give me some advice?
Thank you so much!