summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-05-21 23:29:41 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2022-05-27 17:21:09 +0200
commit7aa1d10655c769c9d2a32d65a810ad81eefe7ead (patch)
treea829187ae6e99d9e76405369531d20b2b1d3daf2 /src/core/hle/service/hid/controllers/npad.h
parentservice: hid: Quick RE fixes and comments (diff)
downloadyuzu-7aa1d10655c769c9d2a32d65a810ad81eefe7ead.tar
yuzu-7aa1d10655c769c9d2a32d65a810ad81eefe7ead.tar.gz
yuzu-7aa1d10655c769c9d2a32d65a810ad81eefe7ead.tar.bz2
yuzu-7aa1d10655c769c9d2a32d65a810ad81eefe7ead.tar.lz
yuzu-7aa1d10655c769c9d2a32d65a810ad81eefe7ead.tar.xz
yuzu-7aa1d10655c769c9d2a32d65a810ad81eefe7ead.tar.zst
yuzu-7aa1d10655c769c9d2a32d65a810ad81eefe7ead.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.h')
-rw-r--r--src/core/hle/service/hid/controllers/npad.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h
index 31364a420..f03e9294d 100644
--- a/src/core/hle/service/hid/controllers/npad.h
+++ b/src/core/hle/service/hid/controllers/npad.h
@@ -107,8 +107,8 @@ public:
void SetNpadCommunicationMode(NpadCommunicationMode communication_mode_);
NpadCommunicationMode GetNpadCommunicationMode() const;
- void SetNpadMode(Core::HID::NpadIdType npad_id, NpadJoyDeviceType npad_device_type,
- NpadJoyAssignmentMode assignment_mode);
+ ResultCode SetNpadMode(Core::HID::NpadIdType npad_id, NpadJoyDeviceType npad_device_type,
+ NpadJoyAssignmentMode assignment_mode);
bool VibrateControllerAtIndex(Core::HID::NpadIdType npad_id, std::size_t device_index,
const Core::HID::VibrationValue& vibration_value);