Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATKnob::OnKeyPress
void CATKnob::OnKeyPress ( const CATKeystroke keystroke  )  [virtual]

OnKeyPress() is called when a key is pressed, then released and the control has focus.

The key may be a standard key, or it may be one of the special keys - see CATKeystroke.h for details.

Use this functoin to receive keystrokes where you only want to respond to full key press/releases. You will not receive repeated calls if the key is held

Parameters:
keystroke - the key that was pressed

Reimplemented from CATControl.

Definition at line 212 of file CATKnob.cpp.

References CATControl::OnKeyPress().


Generated on Mon Feb 11 04:10:40 2008 for Game Accessibility Suite by doxygen 1.5.4