Esempio n. 1
0
AUI_ERRCODE aui_UI::Process( void )
{
	Idle();

	// Scan human interface devices - when available
	if (m_mouse)    HandleMouseEvents();
	if (m_keyboard) HandleKeyboardEvents();
	if (m_joystick) HandleJoystickEvents();
	HandleActions();
	HandleDestructiveActions();
	Draw();

	return AUI_ERRCODE_OK;
}
Esempio n. 2
0
void QPLInputHandler::keyReleaseEvent(QKeyEvent* ev)
{
	HandleKeyboardEvents(ev, false);
}
Esempio n. 3
0
void QPLInputHandler::keyPressEvent(QKeyEvent* ev)
{
	HandleKeyboardEvents(ev, true);
}