diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 9c2e405ee..3e35f5999 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp | |||
| @@ -181,6 +181,7 @@ public: | |||
| 181 | {103, &Hid::ActivateNpad, "ActivateNpad"}, | 181 | {103, &Hid::ActivateNpad, "ActivateNpad"}, |
| 182 | {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, | 182 | {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, |
| 183 | {124, nullptr, "SetNpadJoyAssignmentModeDual"}, | 183 | {124, nullptr, "SetNpadJoyAssignmentModeDual"}, |
| 184 | {128, &Hid::SetNpadHandheldActivationMode, "SetNpadHandheldActivationMode"}, | ||
| 184 | {203, &Hid::CreateActiveVibrationDeviceList, "CreateActiveVibrationDeviceList"}, | 185 | {203, &Hid::CreateActiveVibrationDeviceList, "CreateActiveVibrationDeviceList"}, |
| 185 | }; | 186 | }; |
| 186 | RegisterHandlers(functions); | 187 | RegisterHandlers(functions); |
| @@ -243,6 +244,12 @@ private: | |||
| 243 | LOG_WARNING(Service_HID, "(STUBBED) called"); | 244 | LOG_WARNING(Service_HID, "(STUBBED) called"); |
| 244 | } | 245 | } |
| 245 | 246 | ||
| 247 | void SetNpadHandheldActivationMode(Kernel::HLERequestContext& ctx) { | ||
| 248 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 249 | rb.Push(RESULT_SUCCESS); | ||
| 250 | LOG_WARNING(Service_HID, "(STUBBED) called"); | ||
| 251 | } | ||
| 252 | |||
| 246 | void CreateActiveVibrationDeviceList(Kernel::HLERequestContext& ctx) { | 253 | void CreateActiveVibrationDeviceList(Kernel::HLERequestContext& ctx) { |
| 247 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 254 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 248 | rb.Push(RESULT_SUCCESS); | 255 | rb.Push(RESULT_SUCCESS); |