mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Add categories for control bindings
This commit is contained in:
1 parent
2d4e59eb62
commit
9cb3d03098
7 files changed
+70
-14
No files matched your search
@@ -36,7 +36,10 @@ class SingleControlMapper;
|
||||
|
||||
class ControlMappingScreen : public UIDialogScreenWithGameBackground {
|
||||
public:
|
||||
explicit ControlMappingScreen(const Path &gamePath) : UIDialogScreenWithGameBackground(gamePath) {}
|
||||
explicit ControlMappingScreen(const Path &gamePath) : UIDialogScreenWithGameBackground(gamePath) {
|
||||
categoryToggles_[0] = true;
|
||||
categoryToggles_[1] = true;
|
||||
}
|
||||
const char *tag() const override { return "ControlMapping"; }
|
||||
|
||||
protected:
|
||||
@@ -51,6 +54,8 @@ private:
|
||||
UI::ScrollView *rightScroll_ = nullptr;
|
||||
std::vector<SingleControlMapper *> mappers_;
|
||||
int keyMapGeneration_ = -1;
|
||||
|
||||
bool categoryToggles_[10]{};
|
||||
};
|
||||
|
||||
class KeyMappingNewKeyDialog : public PopupScreen {
|
||||
|
||||
Reference in new issue
Block a user