mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
d'oh. must read the clode closer :P
This commit is contained in:
parent
6bbb9a75a3
commit
1fab17ab33
1 changed files with 3 additions and 1 deletions
|
@ -86,7 +86,7 @@ keyhandler (int scancode, int state)
|
||||||
|
|
||||||
sc = scancode & 0x7f;
|
sc = scancode & 0x7f;
|
||||||
key = scantokey[0][sc];
|
key = scantokey[0][sc];
|
||||||
if ((shifts & 0x03)) {
|
if ((shifts & 0x0c)) {
|
||||||
ascii = scantokey[2][sc];
|
ascii = scantokey[2][sc];
|
||||||
} else if (shifts & 3) {
|
} else if (shifts & 3) {
|
||||||
ascii = scantokey[1][sc];
|
ascii = scantokey[1][sc];
|
||||||
|
@ -115,6 +115,8 @@ keyhandler (int scancode, int state)
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
//Con_DPrintf ("%d %02x %02lx %04x %c\n", sc, press, shifts,
|
||||||
|
// key, ascii > 32 && ascii < 127 ? ascii : '#');
|
||||||
Key_Event (key, ascii, press);
|
Key_Event (key, ascii, press);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue