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