This commit is contained in:
Eduardo Bart
2013-01-27 18:26:20 -02:00
parent 6966221e39
commit 4536c68f00
3 changed files with 19 additions and 15 deletions

View File

@@ -117,6 +117,11 @@ void PlatformWindow::processKeyUp(Fw::Key keyCode)
} else if(keyCode == Fw::KeyShift) {
m_inputEvent.keyboardModifiers &= ~Fw::KeyboardShiftModifier;
return;
} else if(keyCode == Fw::KeyNumLock) {
for(uchar k = Fw::KeyNumpad0; k <= Fw::KeyNumpad9; ++k) {
if(m_keysState[(Fw::Key)k])
processKeyUp((Fw::Key)k);
}
}
if(!m_keysState[keyCode])