| 424 | ControllerMacroEditWidget::~ControllerMacroEditWidget() = default; |
| 425 | |
| 426 | QString ControllerMacroEditWidget::getSummary() const |
| 427 | { |
| 428 | QString str; |
| 429 | for (const InputBindingInfo* bi : m_binds) |
| 430 | { |
| 431 | if (!str.isEmpty()) |
| 432 | str += static_cast<QChar>('/'); |
| 433 | str += qApp->translate("Pad", bi->display_name); |
| 434 | } |
| 435 | return str.isEmpty() ? tr("Not Configured") : str; |
| 436 | } |
| 437 | |
| 438 | void ControllerMacroEditWidget::onPressureChanged() |
| 439 | { |