Backport review comments from yuzu-emu/yuzu#4382: "yuzu: Add motion and touch configuration from Citra" (#5543)

This commit is contained in:
Tobias
2022-11-04 20:25:50 +01:00
committed by GitHub
parent a93d7a8d3a
commit 14924e9db3
9 changed files with 127 additions and 108 deletions

View File

@ -50,8 +50,8 @@ public slots:
void SetCoordinates(int dot_id, const QPoint& pos);
protected:
virtual void showEvent(QShowEvent* ev) override;
virtual void keyPressEvent(QKeyEvent* event) override;
void showEvent(QShowEvent* ev) override;
void keyPressEvent(QKeyEvent* event) override;
private slots:
void NewMapping();
@ -72,7 +72,7 @@ private:
void SaveCurrentMapping();
std::unique_ptr<Ui::ConfigureTouchFromButton> ui;
std::unique_ptr<QStandardItemModel> binding_list_model;
QStandardItemModel* binding_list_model;
std::vector<Settings::TouchFromButtonMap> touch_maps;
int selected_index;