Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Experimental Control
 8-button box, psychtoolbox
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mullette-gillman
Junior Member

USA
40 Posts

Posted - May 14 2007 :  11:20:31 AM  Show Profile  Reply with Quote
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

jim.voyvodic
BIAC Faculty

138 Posts

Posted - May 14 2007 :  11:40:25 AM  Show Profile  Reply with Quote
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
Go to Top of Page

Dichter
BIAC Faculty

190 Posts

Posted - May 14 2007 :  11:50:29 AM  Show Profile  Visit Dichter's Homepage  Reply with Quote
If I can figure our how to insert an image, here is the button mapping....


Gabriel S. Dichter, PhD
UNC Departments of Psychiatry & Psychology
http://www.can.unc.edu/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.53 seconds. Snitz Forums 2000