MCPcopy Create free account
hub / github.com/AntiMicroX/antimicrox / openSensorButtonDialog

Method openSensorButtonDialog

src/sensorpushbuttongroup.cpp:87–92  ·  view source on GitHub ↗

* @brief Shows the button mapping dialog for the given direction button */

Source from the content-addressed store, hash-verified

85 * @brief Shows the button mapping dialog for the given direction button
86 */
87void SensorPushButtonGroup::openSensorButtonDialog(JoySensorButtonPushButton *pushbutton)
88{
89 ButtonEditDialog *dialog = new ButtonEditDialog(pushbutton->getButton(), m_sensor->getParentSet()->getInputDevice(),
90 m_keypad_unlocked, parentWidget());
91 dialog->show();
92}
93
94/**
95 * @brief Shows the sensor settings dialog

Callers

nothing calls this directly

Calls 3

getInputDeviceMethod · 0.80
getButtonMethod · 0.45
getParentSetMethod · 0.45

Tested by

no test coverage detected