TrackIR and Mouse Emulator

Post Reply
am128256
Posts: 7
Joined: Mon Jul 07, 2008 8:44 am

TrackIR and Mouse Emulator

Post 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.
VincentG
Posts: 7728
Joined: Mon Jul 17, 2006 5:00 am
Location: Corvallis, Oregon

Re: TrackIR and Mouse Emulator

Post by VincentG »

IS your software using DirectX?
am128256
Posts: 7
Joined: Mon Jul 07, 2008 8:44 am

Re: TrackIR and Mouse Emulator

Post by am128256 »

Technically, it uses DirectX and OpenGL. I am using the Panda3d which uses both.
Birch
Posts: 1139
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon

Re: TrackIR and Mouse Emulator

Post by Birch »

The application needs to be using DirectInput for the mouse emulation to be compatible.
am128256
Posts: 7
Joined: Mon Jul 07, 2008 8:44 am

Re: TrackIR and Mouse Emulator

Post by am128256 »

Thank you very much Birch.
am128256
Posts: 7
Joined: Mon Jul 07, 2008 8:44 am

Re: TrackIR and Mouse Emulator

Post 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?
VincentG
Posts: 7728
Joined: Mon Jul 17, 2006 5:00 am
Location: Corvallis, Oregon

Re: TrackIR and Mouse Emulator

Post 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.
am128256
Posts: 7
Joined: Mon Jul 07, 2008 8:44 am

Re: TrackIR and Mouse Emulator

Post 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.
VincentG
Posts: 7728
Joined: Mon Jul 17, 2006 5:00 am
Location: Corvallis, Oregon

Re: TrackIR and Mouse Emulator

Post 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.
Post Reply