Exemplo n.º 1
0
void CApplication::KeyEvent(int c, int e)
{
	if (e == GLFW_PRESS)
		KeyPress(MapKey(c));
	else
		KeyRelease(MapKey(c));
}
Exemplo n.º 2
0
void PTextEdit::keyReleaseEvent(QKeyEvent *e)
{
    emit KeyRelease();
    QPlainTextEdit::keyReleaseEvent(e);
}