sending TTL trigger via USB

I am new to Psychtoolbox.  i designed a script for a test, in that script randomly arrows appear on screen. i want that, after seeing arrows subject should press a key, and on pressing key a TTL trigger should be send to a external device via USB.
Could some one help me to send TTL trigger vis USB to device. I am not asking for the code, but asking for some guidance or tutorial, coz I am totally unaware about TTL triggering.