| 121 | } |
| 122 | |
| 123 | QMap<QString, QString> ControllerMappingDialog::getLogicalButtonDescriptions() const { |
| 124 | QMap<QString, QString> descriptions; |
| 125 | descriptions["LEFTSHOULDER"] = tr("SL Button (Side Left)"); |
| 126 | descriptions["RIGHTSHOULDER"] = tr("SR Button (Side Right)"); |
| 127 | descriptions["PADDLE2"] = tr("L Button (Left Shoulder)"); |
| 128 | descriptions["PADDLE4"] = tr("ZL Button (Left Trigger)"); |
| 129 | |
| 130 | descriptions["Y"] = tr("Up Arrow (D-Pad Up)"); |
| 131 | descriptions["A"] = tr("Right Arrow (D-Pad Right)"); |
| 132 | descriptions["B"] = tr("Down Arrow (D-Pad Down)"); |
| 133 | descriptions["X"] = tr("Left Arrow (D-Pad Left)"); |
| 134 | descriptions["LEFTSTICK"] = tr("Analog Stick Press"); |
| 135 | descriptions["START"] = tr("Minus Button (-)"); |
| 136 | descriptions["GUIDE"] = tr("Screenshot Button"); |
| 137 | // descriptions["PREVIOUS_PAGE"] = tr("Previous Page"); |
| 138 | // descriptions["NEXT_PAGE"] = tr("Next Page"); |
| 139 | return descriptions; |
| 140 | } |
| 141 | |
| 142 | void ControllerMappingDialog::loadCurrentMappings() { |
| 143 | QMap<QString, int> currentMappings = controller->getAllPhysicalMappings(); |
nothing calls this directly
no outgoing calls
no test coverage detected