??? 05/29/06 07:55 Read: times |
#117214 - watch human reaction speed Responding to: ???'s previous message |
Jeroen Wilbers said:
I know normally you keep scanning it but I do want it to react when I pres a key.
Whats wrong to spend less than 1% of CPU load to scan a keyboard e.g. every 20ms inside the timer interrupt ? No human was able to detect a delay of only 20ms ! Immediately on the human view means reaction within 100..300ms. Immediately on a Windows user view means reaction within 5s. So only 10..50ms scanning interval are sufficient in any case. Peter |