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

Method GetState

win/Qt/qt_key.cpp:95–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95Qt::KeyboardModifiers NetHackQtKeyBuffer::GetState()
96{
97 if ( Empty() ) return Qt::NoModifier;
98 Qt::KeyboardModifiers r=TopState();
99 out=(out+1)%maxkey;
100 return r;
101}
102
103int NetHackQtKeyBuffer::TopKey() const
104{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected