From deffc957948dd86306a6845c24db42fca7d71288 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Fri, 16 Jul 2010 03:43:11 +0000 Subject: New Wiimote Plugin: Moved Linux cursor position code into ControllerInterface/Xlib. (absolute cursor position can be mapped to something other than IR camera) (code fixed by Glennrics) Put the UDP Wiimote dialog's Update Buttons,Update IR,Update Nunchuk... checkboxes in an "Update" group box. Fixed some Linux config dialog problems. (thanks Glennrics again) Some other minor cleanup in ControllerInterface. (changed some std::string/stringstream to char[] where possible) Removed a warning in DX11 plugin. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5880 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp') diff --git a/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp b/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp index 1ae5b517af..526c6ffd9a 100644 --- a/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp +++ b/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp @@ -170,7 +170,7 @@ std::string Device::Button::GetName() const std::string Device::Axis::GetName() const { - return std::string(named_axes[m_index]) + ( m_range>0 ? '+' : '-' ); + return std::string(named_axes[m_index]) + (m_range<0 ? '-' : '+'); } std::string Device::Trigger::GetName() const -- cgit v1.2.3