Browse Source

client: add some useful keys to Key_ToUpper

pull/2/head
mittorn 5 years ago
parent
commit
26a1ba543f
  1. 18
      engine/client/keys.c

18
engine/client/keys.c

@ -915,13 +915,17 @@ A helper function if platform input doesn't support text mode properly @@ -915,13 +915,17 @@ A helper function if platform input doesn't support text mode properly
*/
int Key_ToUpper( int keynum )
{
keynum = Q_toupper( keynum );
if( keynum == '-' )
keynum = '_';
if( keynum == '=' )
keynum = '+';
return keynum;
keynum = Q_toupper( keynum );
if( keynum == '-' )
keynum = '_';
if( keynum == '=' )
keynum = '+';
if( keynum == ';' )
keynum = ':';
if( keynum == '\'' )
keynum = '"';
return keynum;
}
/* On-screen keyboard:

Loading…
Cancel
Save