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

Method GetAscii

win/Qt/qt_key.cpp:87–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87int NetHackQtKeyBuffer::GetAscii()
88{
89 if ( Empty() ) return 0; // Safety
90 int r=TopAscii();
91 out=(out+1)%maxkey;
92 return r;
93}
94
95Qt::KeyboardModifiers NetHackQtKeyBuffer::GetState()
96{

Callers 2

qt_nhgetchMethod · 0.45
qt_nh_poskeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected