aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/errors.h
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-07-01 15:12:57 +1000
committerDavid Marcec <dmarcecguzman@gmail.com>2019-07-01 15:12:57 +1000
commit472210bf72e1509f7266e49bf50be7a681078552 (patch)
tree16647a42c9f71f764a5bf501422c16b4c09e4cdc /src/core/hle/service/hid/errors.h
parentd992909636269cde90cf6cb3749ccffcff9a6c56 (diff)
hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment
StartLrAssignmentMode and StopLrAssignmentMode don't require any implementation as it's just used for showing the screen of changing the controller orientation if the user wishes to do so. Ever since #1634 this has not been needed as users can specify the controller orientation from the config and swap at any time. We store a private member just in case this gets used for anything extra in the future
Diffstat (limited to 'src/core/hle/service/hid/errors.h')
-rw-r--r--src/core/hle/service/hid/errors.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/errors.h b/src/core/hle/service/hid/errors.h
new file mode 100644
index 000000000..3583642e7
--- /dev/null
+++ b/src/core/hle/service/hid/errors.h
@@ -0,0 +1,13 @@
+// Copyright 2019 yuzu emulator team
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "core/hle/result.h"
+
+namespace Service::HID {
+
+constexpr ResultCode ERR_NPAD_NOT_CONNECTED{ErrorModule::HID, 710};
+
+} // namespace Service::HID