From 0fc409b2fc57eab775c395337e621662802740ef Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Fri, 10 Jun 2022 17:36:19 +0200 Subject: [PATCH] changed controller ID from 'J..' to 'C..' --- src/common/JoyMap.cxx | 2 +- src/gui/JoystickDialog.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/JoyMap.cxx b/src/common/JoyMap.cxx index cecb5df9c..648d9a3d0 100644 --- a/src/common/JoyMap.cxx +++ b/src/common/JoyMap.cxx @@ -168,7 +168,7 @@ string JoyMap::getEventMappingDesc(int stick, const Event::Type event, const Eve { if(buf.str() != "") buf << ", "; - buf << "J" << stick << getDesc(event, _mapping); + buf << "C" << stick << getDesc(event, _mapping); } } return buf.str(); diff --git a/src/gui/JoystickDialog.cxx b/src/gui/JoystickDialog.cxx index d1bfbb30a..3448417f1 100644 --- a/src/gui/JoystickDialog.cxx +++ b/src/gui/JoystickDialog.cxx @@ -111,7 +111,7 @@ void JoystickDialog::handleCommand(CommandSender* sender, int cmd, int data, int { myRemoveBtn->setEnabled(false); ostringstream buf; - buf << "J" << myJoyIDs[data]; + buf << "C" << myJoyIDs[data]; myJoyText->setText(buf.str()); } else