mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
make KP_STAR great again
This commit is contained in:
parent
379d2e9ee1
commit
227305892f
1 changed files with 5 additions and 1 deletions
|
@ -129,7 +129,7 @@ static int MapKey (int key)
|
|||
int modified;
|
||||
qbool is_extended;
|
||||
|
||||
// Com_Printf( "0x%x\n", key);
|
||||
//Com_Printf( "0x%X\n", key );
|
||||
|
||||
modified = ( key >> 16 ) & 255;
|
||||
|
||||
|
@ -149,6 +149,7 @@ static int MapKey (int key)
|
|||
|
||||
if ( !is_extended )
|
||||
{
|
||||
//Com_Printf( "!extended 0x%X\n", result );
|
||||
switch ( result )
|
||||
{
|
||||
case K_HOME:
|
||||
|
@ -171,12 +172,15 @@ static int MapKey (int key)
|
|||
return K_KP_INS;
|
||||
case K_DEL:
|
||||
return K_KP_DEL;
|
||||
case '*':
|
||||
return K_KP_STAR;
|
||||
default:
|
||||
return result;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
//Com_Printf( "extended 0x%X\n", result );
|
||||
switch ( result )
|
||||
{
|
||||
case K_PAUSE:
|
||||
|
|
Loading…
Reference in a new issue