diff options
author | Subv <subv2112@gmail.com> | 2015-02-27 03:13:08 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-03-04 03:48:08 +0100 |
commit | 83a8975cb89b908b4737d647a210c19775f25ed7 (patch) | |
tree | 53fd0e37dcab9c3a5328338273315b159381d949 /src/core/hle/service/hid/hid_spvr.cpp | |
parent | Merge pull request #622 from Subv/titles (diff) | |
download | yuzu-83a8975cb89b908b4737d647a210c19775f25ed7.tar yuzu-83a8975cb89b908b4737d647a210c19775f25ed7.tar.gz yuzu-83a8975cb89b908b4737d647a210c19775f25ed7.tar.bz2 yuzu-83a8975cb89b908b4737d647a210c19775f25ed7.tar.lz yuzu-83a8975cb89b908b4737d647a210c19775f25ed7.tar.xz yuzu-83a8975cb89b908b4737d647a210c19775f25ed7.tar.zst yuzu-83a8975cb89b908b4737d647a210c19775f25ed7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/hid_spvr.cpp | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/src/core/hle/service/hid/hid_spvr.cpp b/src/core/hle/service/hid/hid_spvr.cpp index 8f06b224d..790dcabbf 100644 --- a/src/core/hle/service/hid/hid_spvr.cpp +++ b/src/core/hle/service/hid/hid_spvr.cpp @@ -3,19 +3,14 @@ // Refer to the license.txt file included. #include "core/hle/hle.h" +#include "core/hle/service/hid/hid.h" #include "core/hle/service/hid/hid_spvr.h" -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Namespace HID_SPVR - -namespace HID_User { - extern void GetIPCHandles(Service::Interface* self); -} - -namespace HID_SPVR { +namespace Service { +namespace HID { const Interface::FunctionInfo FunctionTable[] = { - {0x000A0000, HID_User::GetIPCHandles, "GetIPCHandles"}, + {0x000A0000, GetIPCHandles, "GetIPCHandles"}, {0x000B0000, nullptr, "StartAnalogStickCalibration"}, {0x000E0000, nullptr, "GetAnalogStickCalibrateParam"}, {0x00110000, nullptr, "EnableAccelerometer"}, @@ -27,11 +22,9 @@ const Interface::FunctionInfo FunctionTable[] = { {0x00170000, nullptr, "GetSoundVolume"}, }; -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Interface class - -Interface::Interface() { +HID_SPVR_Interface::HID_SPVR_Interface() { Register(FunctionTable); } -} // namespace +} // namespace HID +} // namespace Service |