From daf01e3496c51f6121002a5945502de8f73a83ad Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Tue, 15 Mar 2011 15:27:57 -0500 Subject: [PATCH] make mouse buttons show proper names instead of 'Mouse 0' --- src/RageInputDevice.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/RageInputDevice.cpp b/src/RageInputDevice.cpp index 9421dc17b0..354baa5110 100644 --- a/src/RageInputDevice.cpp +++ b/src/RageInputDevice.cpp @@ -155,9 +155,6 @@ RString DeviceButtonToString( DeviceButton key ) if( key >= MIDI_FIRST && key <= MIDI_LAST ) return ssprintf( "Midi %d", key-MIDI_FIRST ); - if( key >= MOUSE_LEFT && key <= MOUSE_WHEELDOWN ) - return ssprintf( "Mouse %d", key-MOUSE_LEFT ); - map::const_iterator it = g_mapNamesToString.find( key ); if( it != g_mapNamesToString.end() ) return it->second;