diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-04 12:08:54 -0600 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:27 -0600 |
commit | 5d0f3540c4b085103afa27d6120ea29e0324a5a2 (patch) | |
tree | 9cdfe756391969476385d3f391d74a6e75aa5889 /src/yuzu/applets/qt_controller.h | |
parent | 84c58666a4dbb6d46e132514e4d91437fb689fa0 (diff) |
core/hid: Rename NpadType to NpadStyleIndex
Diffstat (limited to 'src/yuzu/applets/qt_controller.h')
-rw-r--r-- | src/yuzu/applets/qt_controller.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/applets/qt_controller.h b/src/yuzu/applets/qt_controller.h index dd981f479..cc343e5ae 100644 --- a/src/yuzu/applets/qt_controller.h +++ b/src/yuzu/applets/qt_controller.h @@ -32,7 +32,7 @@ class System; } namespace Core::HID { -enum class NpadType : u8; +enum class NpadStyleIndex : u8; } class QtControllerSelectorDialog final : public QDialog { @@ -74,10 +74,10 @@ private: void SetEmulatedControllers(std::size_t player_index); // Gets the Controller Type for a given controller combobox index per player. - Core::HID::NpadType GetControllerTypeFromIndex(int index, std::size_t player_index) const; + Core::HID::NpadStyleIndex GetControllerTypeFromIndex(int index, std::size_t player_index) const; // Gets the controller combobox index for a given Controller Type per player. - int GetIndexFromControllerType(Core::HID::NpadType type, std::size_t player_index) const; + int GetIndexFromControllerType(Core::HID::NpadStyleIndex type, std::size_t player_index) const; // Updates the controller icons per player. void UpdateControllerIcon(std::size_t player_index); @@ -139,7 +139,7 @@ private: std::array<QComboBox*, NUM_PLAYERS> emulated_controllers; /// Pairs of emulated controller index and Controller Type enum per player. - std::array<std::vector<std::pair<int, Core::HID::NpadType>>, NUM_PLAYERS> + std::array<std::vector<std::pair<int, Core::HID::NpadStyleIndex>>, NUM_PLAYERS> index_controller_type_pairs; // Labels representing the number of connected controllers |