...test millisecond accurate keyboard refresh rate
...test millisecond accurate keyboard refresh rate
Hi,
One of my professors bought a keyboard of yours and I'm trying to figure out how I can look for a difference vs. a standard USB keyboard. Right now I'm using MATLAB and the psychophysics toolbox, using the following script:
t1=GetSecs();
cycles=100000;
for i = 1:cycles
KbCheck();
end
t2=((GetSecs()-t1)*1000)/cycles
t2 for the empirisoft keyboard is .11
t2 for the regular USB keybooard is .10
please let me know if any of this is unclear, but I can't seem to find a difference right now. any ideas?
I'm not terribly familiar with Matlab, but I assume that you're just checking the state of the key(s) 100,000 times?
John
yep. it returns a key status whether a key is pressed or not.
-b
[edited by moderator]
As far as I can tell, I can't access the BIOS when I boot up with the directIN keyboard. and my msec response rates are about the same (every 9 msec) whenI test it in MATLAB. On my powerbook, the response rate for the built in keyboard is about 3 msec, so I'm pretty sure the kbcheck() routine I've been using works. Any ideas on how I can tell if the keyboard driver is working?
thanks
-Ben
Ben and I have since spoken. A good summary of that conversation is found here:
http://support.empirisoft.com/showthread.php?p=186#post186
- John