Forum Rule: Always post complete source code & details to reproduce any issue!
-
Keyboard Input acceptance delay
Hello, I am a graduate student and for one of our experiments we would like to make it so we can control the number of keyboard inputs a person can do at a time.
So for example they will be typing into a word document and we want to make it so that the program will only accept inputs after a certain amount of time has passed(say.37 seconds). So they hit one key, then any further key presses will not be recorded by the computer until a certain amount of time has passed.
Is there any advice or products that you guys have or can recommend that will allow us to do this? The simplest way I would think is something that prevents the computer from receiving signals from the keyboard for a preset amount of time. Any help would be appreciated, we have been trying to do this for awhile now with no success.
-
Senior Member
Well, you could use something like the PS2 keyboard library to read a keyboard, and then USB keyboard interface to send the keystrokes to the PC, with your code doing stuff in-between.
http://www.pjrc.com/teensy/td_libs_PS2Keyboard.html
http://www.pjrc.com/teensy/td_keyboard.html
-

Originally Posted by
PaulStoffregen
Sorry I am not a programmer, would it be difficult to code what I am trying to do if someone had basic knowledge of coding?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules