Page 1 of 1

How to program TIR5 detection

Posted: Fri Aug 14, 2009 11:11 pm
by Spyder101
I'm currently programming a customized "Launcher" for a simulator (Falcon). I want to display a label text or image if TrackIR5 is currently detected, before launching my game.

Did I need the SDK to know how to programmatically detect TIR is currently running, or there is any command line options publicly available which return error code ?

I have read for more than an hour to find this code here, without success.

Thanks!

Re: How to program TIR5 detection

Posted: Mon Aug 17, 2009 12:05 pm
by VincentG
There is currently nothing publically available for detecting the TrackIR software running, that I am aware of.

Re: How to program TIR5 detection

Posted: Mon Aug 17, 2009 12:22 pm
by JuMo
I guess you could check if the trackIR window and / or process exist at runtime of your tool. I'm not a programmer, but I'm dead certain that there is a windows api that does that. MS has a command line tool, pslist, that can scan for a process and return an error code accordingly.

http://technet.microsoft.com/de-de/sysi ... 96682.aspx