Keyboard functions

I am using Psych toolbox to run a program but my keyboard doesnot work during simulation. I can’t figure this issue.

You give zero information, we can’t answer. Please read the whole page here, including the links near the bottom, to learn to ask better questions:
http://psychtoolbox.org/forum.html