* @brief Enables highlight when the sensor axis is moved */
| 62 | * @brief Enables highlight when the sensor axis is moved |
| 63 | */ |
| 64 | void JoySensorButtonPushButton::enableFlashes() |
| 65 | { |
| 66 | if (m_button != nullptr) |
| 67 | { |
| 68 | connect(m_button, &JoySensorButton::clicked, this, &JoySensorButtonPushButton::flash, Qt::QueuedConnection); |
| 69 | connect(m_button, &JoySensorButton::released, this, &JoySensorButtonPushButton::unflash, Qt::QueuedConnection); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * @brief Generate the string that will be displayed on the button |
nothing calls this directly
no outgoing calls
no test coverage detected