summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-14 01:05:06 +0100
committerbunnei <bunneidev@gmail.com>2018-02-15 03:16:27 +0100
commite0171844450b98a13ebf1e414cd8b45c9b6223be (patch)
tree2c2663b874b793ad458ec9d921098e4fb8db9ddc /src/core/hle/service/hid
parentMerge pull request #188 from bunnei/refactor-buffer-descriptor (diff)
downloadyuzu-e0171844450b98a13ebf1e414cd8b45c9b6223be.tar
yuzu-e0171844450b98a13ebf1e414cd8b45c9b6223be.tar.gz
yuzu-e0171844450b98a13ebf1e414cd8b45c9b6223be.tar.bz2
yuzu-e0171844450b98a13ebf1e414cd8b45c9b6223be.tar.lz
yuzu-e0171844450b98a13ebf1e414cd8b45c9b6223be.tar.xz
yuzu-e0171844450b98a13ebf1e414cd8b45c9b6223be.tar.zst
yuzu-e0171844450b98a13ebf1e414cd8b45c9b6223be.zip
Diffstat (limited to 'src/core/hle/service/hid')
-rw-r--r--src/core/hle/service/hid/hid.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index d757d2eae..3f1c18505 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -186,7 +186,9 @@ public:
{121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"},
{124, nullptr, "SetNpadJoyAssignmentModeDual"},
{128, &Hid::SetNpadHandheldActivationMode, "SetNpadHandheldActivationMode"},
+ {200, &Hid::GetVibrationDeviceInfo, "GetVibrationDeviceInfo"},
{203, &Hid::CreateActiveVibrationDeviceList, "CreateActiveVibrationDeviceList"},
+ {206, &Hid::SendVibrationValues, "SendVibrationValues"},
};
RegisterHandlers(functions);
@@ -272,12 +274,25 @@ private:
LOG_WARNING(Service_HID, "(STUBBED) called");
}
+ void GetVibrationDeviceInfo(Kernel::HLERequestContext& ctx) {
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(RESULT_SUCCESS);
+ rb.Push<u64>(0);
+ LOG_WARNING(Service_HID, "(STUBBED) called");
+ }
+
void CreateActiveVibrationDeviceList(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<IActiveVibrationDeviceList>();
LOG_DEBUG(Service_HID, "called");
}
+
+ void SendVibrationValues(Kernel::HLERequestContext& ctx) {
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ LOG_WARNING(Service_HID, "(STUBBED) called");
+ }
};
void ReloadInputDevices() {}