| T O P I C R E V I E W |
| mullette-gillman |
Posted - May 14 2007 : 11:20:31 AM Hi there,
I am trying to find information on the code necessary to impliment the 8-button box (in the 3-T) in psychtoolbox. Any chance that someone has done this before and can point me in the right direction? Do I need to load up a different library at the start of the task? Any information on how the buttons map out?
I know that the wiki lists instructions for implimenting the joystick. I had hoped that the 8-button box was the same, but that appears to not be the case.
Thanks! O'Dhaniel |
| 2 L A T E S T R E P L I E S (Newest First) |
| Dichter |
Posted - May 14 2007 : 11:50:29 AM If I can figure our how to insert an image, here is the button mapping....
 |
| jim.voyvodic |
Posted - May 14 2007 : 11:40:25 AM The 8-button box is implemented as a keyboard-like USB device. Pressing a button sends an ASCII key code which the computer reads just as though you had pressed a key on the keyboard. The driver is automatically loaded and no special library routines are needed. The 8 buttons send in key codes '1', '2', ... '8' I believe (I'm not sure in which order).
Jim |