summaryrefslogtreecommitdiffstats
path: root/src/yuzu/configuration/configure_input_player.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-04 19:08:54 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:27 +0100
commit5d0f3540c4b085103afa27d6120ea29e0324a5a2 (patch)
tree9cdfe756391969476385d3f391d74a6e75aa5889 /src/yuzu/configuration/configure_input_player.h
parentconfig: Cleanup and documentation (diff)
downloadyuzu-5d0f3540c4b085103afa27d6120ea29e0324a5a2.tar
yuzu-5d0f3540c4b085103afa27d6120ea29e0324a5a2.tar.gz
yuzu-5d0f3540c4b085103afa27d6120ea29e0324a5a2.tar.bz2
yuzu-5d0f3540c4b085103afa27d6120ea29e0324a5a2.tar.lz
yuzu-5d0f3540c4b085103afa27d6120ea29e0324a5a2.tar.xz
yuzu-5d0f3540c4b085103afa27d6120ea29e0324a5a2.tar.zst
yuzu-5d0f3540c4b085103afa27d6120ea29e0324a5a2.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu/configuration/configure_input_player.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_input_player.h b/src/yuzu/configuration/configure_input_player.h
index 02d6920f1..7bff4b196 100644
--- a/src/yuzu/configuration/configure_input_player.h
+++ b/src/yuzu/configuration/configure_input_player.h
@@ -51,7 +51,7 @@ class System;
namespace Core::HID {
class EmulatedController;
-enum class NpadType : u8;
+enum class NpadStyleIndex : u8;
} // namespace Core::HID
class ConfigureInputPlayer : public QWidget {
@@ -134,10 +134,10 @@ private:
void SetConnectableControllers();
/// Gets the Controller Type for a given controller combobox index.
- Core::HID::NpadType GetControllerTypeFromIndex(int index) const;
+ Core::HID::NpadStyleIndex GetControllerTypeFromIndex(int index) const;
/// Gets the controller combobox index for a given Controller Type.
- int GetIndexFromControllerType(Core::HID::NpadType type) const;
+ int GetIndexFromControllerType(Core::HID::NpadStyleIndex type) const;
/// Update the available input devices.
void UpdateInputDevices();
@@ -182,7 +182,7 @@ private:
std::unique_ptr<QTimer> poll_timer;
/// Stores a pair of "Connected Controllers" combobox index and Controller Type enum.
- std::vector<std::pair<int, Core::HID::NpadType>> index_controller_type_pairs;
+ std::vector<std::pair<int, Core::HID::NpadStyleIndex>> index_controller_type_pairs;
static constexpr int PLAYER_COUNT = 8;
std::array<QCheckBox*, PLAYER_COUNT> player_connected_checkbox;