2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-12-23 09:16:04 +01:00

client: add some useful keys to Key_ToUpper

This commit is contained in:
mittorn 2020-02-08 22:35:48 +07:00
parent 2e2a716710
commit 26a1ba543f

View File

@ -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 = '+';
keynum = Q_toupper( keynum );
if( keynum == '-' )
keynum = '_';
if( keynum == '=' )
keynum = '+';
if( keynum == ';' )
keynum = ':';
if( keynum == '\'' )
keynum = '"';
return keynum;
return keynum;
}
/* On-screen keyboard: