mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-29 16:24:16 +00:00
client: add some useful keys to Key_ToUpper
This commit is contained in:
parent
2e2a716710
commit
26a1ba543f
@ -915,13 +915,17 @@ A helper function if platform input doesn't support text mode properly
|
|||||||
*/
|
*/
|
||||||
int Key_ToUpper( int keynum )
|
int Key_ToUpper( int keynum )
|
||||||
{
|
{
|
||||||
keynum = Q_toupper( keynum );
|
keynum = Q_toupper( keynum );
|
||||||
if( keynum == '-' )
|
if( keynum == '-' )
|
||||||
keynum = '_';
|
keynum = '_';
|
||||||
if( keynum == '=' )
|
if( keynum == '=' )
|
||||||
keynum = '+';
|
keynum = '+';
|
||||||
|
if( keynum == ';' )
|
||||||
|
keynum = ':';
|
||||||
|
if( keynum == '\'' )
|
||||||
|
keynum = '"';
|
||||||
|
|
||||||
return keynum;
|
return keynum;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* On-screen keyboard:
|
/* On-screen keyboard:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user