international keyboard support

This commit is contained in:
Chris Danford
2006-06-10 06:50:50 +00:00
parent 566e163401
commit dce168b0c2
13 changed files with 90 additions and 38 deletions
+2 -1
View File
@@ -23,6 +23,7 @@
#include "ScreenDimensions.h"
#include "Command.h"
#include "InputEventPlus.h"
#include "RageInput.h"
//
// Defines specific to ScreenNameEntryTraditional
@@ -515,7 +516,7 @@ void ScreenNameEntryTraditional::Input( const InputEventPlus &input )
if( input.DeviceI == DeviceInput(DEVICE_KEYBOARD, KEY_BACK) )
c = CHAR_BACK;
else
c = toupper( input.DeviceI.ToChar() );
c = toupper( INPUTMAN->DeviceButtonToChar( input.DeviceI.button ) );
if( c )
{
PlayerNumber pn = GAMESTATE->m_MasterPlayerNumber;