summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/debug_pad.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-10-06 02:41:20 +0200
committerGitHub <noreply@github.com>2019-10-06 02:41:20 +0200
commitdeecd7f074a0547b8fc08a33fdc547eb63859e3e (patch)
treed70efa81b1824d2dc351b7355d5016e75027ed8f /src/core/hle/service/hid/controllers/debug_pad.cpp
parentMerge pull request #2943 from DarkLordZach/azure-titlebars-v2 (diff)
parentaudio/audout_u: Change formatting for old clang-format versions (diff)
downloadyuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar
yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.gz
yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.bz2
yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.lz
yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.xz
yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.zst
yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers/debug_pad.cpp')
-rw-r--r--src/core/hle/service/hid/controllers/debug_pad.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/controllers/debug_pad.cpp b/src/core/hle/service/hid/controllers/debug_pad.cpp
index 8e8263f5b..1f2131ec8 100644
--- a/src/core/hle/service/hid/controllers/debug_pad.cpp
+++ b/src/core/hle/service/hid/controllers/debug_pad.cpp
@@ -11,11 +11,10 @@
namespace Service::HID {
constexpr s32 HID_JOYSTICK_MAX = 0x7fff;
-constexpr s32 HID_JOYSTICK_MIN = -0x7fff;
+[[maybe_unused]] constexpr s32 HID_JOYSTICK_MIN = -0x7fff;
enum class JoystickId : std::size_t { Joystick_Left, Joystick_Right };
-Controller_DebugPad::Controller_DebugPad(Core::System& system)
- : ControllerBase(system), system(system) {}
+Controller_DebugPad::Controller_DebugPad(Core::System& system) : ControllerBase(system) {}
Controller_DebugPad::~Controller_DebugPad() = default;
void Controller_DebugPad::OnInit() {}