make KP_STAR great again

This commit is contained in:
arQon 2017-01-19 07:24:21 -08:00
parent 379d2e9ee1
commit 227305892f

View file

@ -129,7 +129,7 @@ static int MapKey (int key)
int modified; int modified;
qbool is_extended; qbool is_extended;
// Com_Printf( "0x%x\n", key); //Com_Printf( "0x%X\n", key );
modified = ( key >> 16 ) & 255; modified = ( key >> 16 ) & 255;
@ -149,6 +149,7 @@ static int MapKey (int key)
if ( !is_extended ) if ( !is_extended )
{ {
//Com_Printf( "!extended 0x%X\n", result );
switch ( result ) switch ( result )
{ {
case K_HOME: case K_HOME:
@ -171,12 +172,15 @@ static int MapKey (int key)
return K_KP_INS; return K_KP_INS;
case K_DEL: case K_DEL:
return K_KP_DEL; return K_KP_DEL;
case '*':
return K_KP_STAR;
default: default:
return result; return result;
} }
} }
else else
{ {
//Com_Printf( "extended 0x%X\n", result );
switch ( result ) switch ( result )
{ {
case K_PAUSE: case K_PAUSE: