changed controller ID from 'J..' to 'C..'

This commit is contained in:
Thomas Jentzsch 2022-06-10 17:36:19 +02:00
parent 129df6a057
commit 600e593040
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ string JoyMap::getEventMappingDesc(int stick, const Event::Type event, const Eve
{ {
if(buf.str() != "") if(buf.str() != "")
buf << ", "; buf << ", ";
buf << "J" << stick << getDesc(event, _mapping); buf << "C" << stick << getDesc(event, _mapping);
} }
} }
return buf.str(); return buf.str();

View File

@ -111,7 +111,7 @@ void JoystickDialog::handleCommand(CommandSender* sender, int cmd, int data, int
{ {
myRemoveBtn->setEnabled(false); myRemoveBtn->setEnabled(false);
ostringstream buf; ostringstream buf;
buf << "J" << myJoyIDs[data]; buf << "C" << myJoyIDs[data];
myJoyText->setText(buf.str()); myJoyText->setText(buf.str());
} }
else else