Page 1 of 1

TrackIR and Mouse Emulator

Posted: Thu Jul 17, 2008 8:46 am
by am128256
Hello,

I am currently trying to use the Mouse Emulation program that comes with TrackIR in order to control the looking/viewing in a game/simulation on which I am working. The Mouse Emulation works fine in my operating system and I have tested it on games like Half-Life 2 and Counter Strike, also works perfectly fine.

For some reason, when I run my simulation, the Mouse Emulation program is not working. The program does accept mouse-looking as that is how I currently have it setup.

In my program, I believe that I am using the virtual mouse to look instead of the raw mouse. Should I be using the raw mouse instead of the virtual mouse? I prefer to ask before trying as it involves ripping my code apart.

Thank you for your time.

Re: TrackIR and Mouse Emulator

Posted: Thu Jul 17, 2008 10:57 am
by VincentG
IS your software using DirectX?

Re: TrackIR and Mouse Emulator

Posted: Thu Jul 17, 2008 11:52 am
by am128256
Technically, it uses DirectX and OpenGL. I am using the Panda3d which uses both.

Re: TrackIR and Mouse Emulator

Posted: Thu Jul 17, 2008 1:08 pm
by Birch
The application needs to be using DirectInput for the mouse emulation to be compatible.

Re: TrackIR and Mouse Emulator

Posted: Fri Jul 18, 2008 11:41 am
by am128256
Thank you very much Birch.

Re: TrackIR and Mouse Emulator

Posted: Mon Jul 21, 2008 7:07 am
by am128256
Is there another way to emulate the mouse without the provided mouse emulator?

I assume it is possible to write code for this, but could you give me a good place to start?

Re: TrackIR and Mouse Emulator

Posted: Mon Jul 21, 2008 9:01 am
by VincentG
[quote=am128256]Is there another way to emulate the mouse without the provided mouse emulator?

I assume it is possible to write code for this, but could you give me a good place to start?[/quote]

In what way?

I'm just looking to get an idea of what your looking to do.

Re: TrackIR and Mouse Emulator

Posted: Mon Jul 21, 2008 11:42 am
by am128256
I need to be able to read input from TrackIR in order to look around the world that I am creating.

I am using the TrackClip Pro and TrackIR to track head movement. If I can get the readings of the Roll and Pitch from TrackIR, it would be perfect.

Since the NaturalPoint website tells non-commercial game makers to use the OptiTrack SDK, I assume (though maybe I should not) that a program can be written to read the input of the TrackClip Pro and TrackIR with OptiTrack.

Re: TrackIR and Mouse Emulator

Posted: Mon Jul 21, 2008 12:13 pm
by VincentG
The TrackIR4, and the standard TrackClip (non pro) can be used with the OptiTrack SDK, but be aware in advance that we no longer provide technical support for that functionality.