Hi everybody!
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 me please!
Moderator: Moderators
When we say message loop, we mean a Windows GetMessage/TranslateMessage/DispatchMessage loop. You said you wanted to run from a command prompt. Either way can work. You can use any of the APIs from a command prompt. Typically when people say "command prompt" they just don't want a window to pop up. You don't necessarily have to show your window to get events to it. Still, HID is the most straightforward way to handle multiple devices in this case.