summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/hid/hid.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index a0b8c6243..f1936991c 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -185,6 +185,7 @@ public:
185 {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"}, 185 {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"},
186 {79, &Hid::SetGyroscopeZeroDriftMode, "SetGyroscopeZeroDriftMode"}, 186 {79, &Hid::SetGyroscopeZeroDriftMode, "SetGyroscopeZeroDriftMode"},
187 {100, &Hid::SetSupportedNpadStyleSet, "SetSupportedNpadStyleSet"}, 187 {100, &Hid::SetSupportedNpadStyleSet, "SetSupportedNpadStyleSet"},
188 {101, &Hid::GetSupportedNpadStyleSet, "GetSupportedNpadStyleSet"},
188 {102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"}, 189 {102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"},
189 {103, &Hid::ActivateNpad, "ActivateNpad"}, 190 {103, &Hid::ActivateNpad, "ActivateNpad"},
190 {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, 191 {106, &Hid::AcquireNpadStyleSetUpdateEventHandle,
@@ -265,6 +266,13 @@ private:
265 LOG_WARNING(Service_HID, "(STUBBED) called"); 266 LOG_WARNING(Service_HID, "(STUBBED) called");
266 } 267 }
267 268
269 void GetSupportedNpadStyleSet(Kernel::HLERequestContext& ctx) {
270 IPC::ResponseBuilder rb{ctx, 3};
271 rb.Push(RESULT_SUCCESS);
272 rb.Push<u32>(0);
273 LOG_WARNING(Service_HID, "(STUBBED) called");
274 }
275
268 void SetSupportedNpadIdType(Kernel::HLERequestContext& ctx) { 276 void SetSupportedNpadIdType(Kernel::HLERequestContext& ctx) {
269 IPC::ResponseBuilder rb{ctx, 2}; 277 IPC::ResponseBuilder rb{ctx, 2};
270 rb.Push(RESULT_SUCCESS); 278 rb.Push(RESULT_SUCCESS);