Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 5 of 5

Thread: ...test millisecond accurate keyboard refresh rate

  1. #1
    Join Date
    Dec 2005
    Posts
    3

    ...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?

  2. #2
    Join Date
    Nov 2005
    Posts
    294
    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

  3. #3
    Join Date
    Dec 2005
    Posts
    3
    yep. it returns a key status whether a key is pressed or not.

    -b

  4. #4
    Join Date
    Dec 2005
    Posts
    3

    followup?

    [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
    Last edited by jarvis24; 09-13-2006 at 01:41 PM.

  5. #5
    Join Date
    Nov 2005
    Posts
    294
    Ben and I have since spoken. A good summary of that conversation is found here:

    http://support.empirisoft.com/showth...?p=186#post186

    - John
    Last edited by jarvis24; 09-13-2006 at 01:42 PM.

Similar Threads

  1. Continuously monitor keyboard and mouse activity
    By jarvis24 in forum Hardware: How Do I...
    Replies: 1
    Last Post: 09-11-2006, 01:13 PM
  2. How accurate are the RTs measured by DirectRT?
    By jarvis24 in forum DirectRT Older Versions: General Questions
    Replies: 1
    Last Post: 08-22-2006, 03:47 PM
  3. DirectIN Hardware in Parallel with Existing Keyboard
    By JEC in forum Hardware: Troubleshooting
    Replies: 0
    Last Post: 01-11-2006, 03:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •