MCPcopy Create free account
hub / github.com/NetHack/NetHack / keyReleaseEvent

Method keyReleaseEvent

win/Qt/qt_main.cpp:1322–1329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1320}
1321
1322void NetHackQtMainWindow::keyReleaseEvent(QKeyEvent* event)
1323{
1324 if ( dirkey ) {
1325 doKeys(QString(QChar(dirkey)));
1326 if ( !event->isAutoRepeat() )
1327 dirkey = 0;
1328 }
1329}
1330
1331void NetHackQtMainWindow::keyPressEvent(QKeyEvent* event)
1332{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected