Skip to content

Commit

Permalink
chore: Add logs for mapping window
Browse files Browse the repository at this point in the history
  • Loading branch information
pktiuk committed Jul 2, 2024
1 parent 59296df commit 594fd5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/gamecontrollermappingdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ GameControllerMappingDialog::GameControllerMappingDialog(InputDevice *device, An
connect(this, &GameControllerMappingDialog::finished, this, &GameControllerMappingDialog::enableButtonEvents);

PadderCommon::unlockInputDevices();
qInfo() << "Opened GameControllerMappingDialog for mapping device: " << device->getSDLName() << " (#"
<< device->getRealJoyNumber() << ")";
}

GameControllerMappingDialog::~GameControllerMappingDialog() { delete ui; }
Expand Down Expand Up @@ -317,6 +319,8 @@ void GameControllerMappingDialog::dpadAssign(int dpad, int buttonindex)

void GameControllerMappingDialog::saveChanges()
{
qInfo() << "Saving changes for GameControllerMappingDialog for device: " << device->getSDLName() << " (#"
<< device->getRealJoyNumber() << ")";
QString mappingString = generateSDLMappingString();

settings->getLock()->lock();
Expand Down

0 comments on commit 594fd5a

Please sign in to comment.