mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-22 11:52:06 +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;
|
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:
|
||||||
|
|
Loading…
Reference in a new issue