Numpad Del fix

This commit is contained in:
Alexander S. Aganichev
2002-10-27 11:24:40 +00:00
parent 57bd70555d
commit 0514770bd6
2 changed files with 7 additions and 0 deletions

View File

@@ -1232,6 +1232,10 @@ gkey kbxget_raw(int mode) {
ReadConsoleInput(gkbd_hin, &inp, 1, &nread);
}
// Fix Win9x anomaly
if((CKS & NUMLOCK_ON) and (VKC == VK_DELETE))
VKC = VK_DECIMAL;
switch(VKC) {
// Not meanful keys
case VK_SHIFT: