|
|
|
@ -68,10 +68,10 @@ static QString ButtonToText(const Common::ParamPackage& param) { |
|
|
|
} |
|
|
|
|
|
|
|
ConfigureTouchFromButton::ConfigureTouchFromButton( |
|
|
|
QWidget* parent, const std::vector<Settings::TouchFromButtonMap>& touch_maps, |
|
|
|
QWidget* parent, const std::vector<Settings::TouchFromButtonMap>& touch_maps_, |
|
|
|
InputCommon::InputSubsystem* input_subsystem_, const int default_index) |
|
|
|
: QDialog(parent), ui(std::make_unique<Ui::ConfigureTouchFromButton>()), |
|
|
|
touch_maps(touch_maps), input_subsystem{input_subsystem_}, selected_index(default_index), |
|
|
|
touch_maps{touch_maps_}, input_subsystem{input_subsystem_}, selected_index{default_index}, |
|
|
|
timeout_timer(std::make_unique<QTimer>()), poll_timer(std::make_unique<QTimer>()) { |
|
|
|
ui->setupUi(this); |
|
|
|
binding_list_model = new QStandardItemModel(0, 3, this); |
|
|
|
|