![]() |
![]() |
Sets the keyboard event callback function.
VOID DXUTSetCallbackKeyboard( LPDXUTCALLBACKKEYBOARD pCallbackKeyboard, void* pUserContext );
No return value.
The pCallbackKeyboard keyboard event callback function will be called when any one of the following keyboard events occurs:
This callback mechanism is provided to simplify handling keyboard messages through the windows message pump, but does not preclude the application from handling those messages directly through the Windows WindowProc callback function.
Header: Declared in Dxut.h.
LPDXUTCALLBACKKEYBOARD, LPDXUTCALLBACKMOUSE, LPDXUTCALLBACKMSGPROC, DXUTSetCallbackMouse, DXUTSetCallbackMsgProc, WindowProc