mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-13 13:56:32 -05:00
Fix DInput and SDL.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7345 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@@ -241,14 +241,14 @@ int Joystick::GetId() const
|
||||
std::string Joystick::Button::GetName() const
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss << "Button " << m_index;
|
||||
ss << "Button " << (int)m_index;
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
std::string Joystick::Axis::GetName() const
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss << "Axis " << m_index << (m_range<0 ? '-' : '+');
|
||||
ss << "Axis " << (int)m_index << (m_range<0 ? '-' : '+');
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user