Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DirectInput

Status
Not open for further replies.

lcfc

Programmer
Dec 4, 2001
27
GB
I am running an experiment, part of which checks reation times. Elsewhere i have read that using the keyboard is a bad idea for this because the input is stored in some kind of buffer and only polled every 300ms. This is not viable for my program becuase the times would not be accurate enough. Somebody mentioned to me that i could use DirectInput. i have read a little on this and found there is a 'polled' and 'event' method. It seems that the event method reacts immidiately to input. This would be better because the reaction times would be more accurate. Can anybody shed any light on this. Or would i be better making a switch for the serial or parallel port. Any pointers would be much appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top