let OS handle key modifers (fixes number buttons w/ French keyboard)

This commit is contained in:
Chris Danford
2006-06-10 20:33:56 +00:00
parent 3b68311391
commit 8c4cedf63f
13 changed files with 113 additions and 118 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ void ScreenNetSelectMusic::Input( const InputEventPlus &input )
INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, KEY_RCTRL)) ||
(!NSMAN->useSMserver); //If we are disconnected, assume no chatting
char c = (char) toupper( INPUTMAN->DeviceButtonToChar(input.DeviceI.button) );
wchar_t c = (wchar_t) towupper( INPUTMAN->DeviceButtonToChar(input.DeviceI.button,true) );
if ( bHoldingCtrl && ( c >= 'A' ) && ( c <= 'Z' ) )
{