Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How large is the average delay from key-presses

I am currently helping someone with a reaction time experiment. For this experiment reaction times on the keyboard are measured. For this experiment it might be important to know, how much error could be introduced because of the delay between the key-press and the processing in the software.

Here are some factors that I found out using google already:

  • The USB-bus is polled at 125Hz at minimum and 1000Hz at maximum (depending on settings, see this link).
  • There might be some additional keyboard buffers in Windows that might delay the keypresses further, but I do not know about the logic behind those.

Unfortunately it is not possible to control the low level logic of the experiment. The experiment is written in E-Prime a software that is often used for this kind of experiments. However the company that offers E-Prime also offers additional hardware, that they advertise for precise reaction-timing. Hence they seem to be aware about this effect (but do not tell how large it is).

Unfortunately it is necessary to use a standart keyboard, so I need to provide ways to reduce the latency.

like image 410
LiKao Avatar asked Dec 01 '11 21:12

LiKao


1 Answers

any latency from key presses can be attributed to the debounce routine (i usually use 30ms to be safe) and not to the processing algorithms themselves (unless you are only evaluating the first press).

like image 186
Ben Avatar answered Oct 02 '22 23:10

Ben