aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/hid_spvr.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-03-04 21:27:24 -0500
committerbunnei <bunneidev@gmail.com>2015-03-04 21:27:24 -0500
commit8e4e28aacb38b4f80c3ae80167841f4e451f6ef5 (patch)
treecd4efbdfb0e01e9e2b424f17339f11873c90485c /src/core/hle/service/hid/hid_spvr.cpp
parent8fc8c51118a190622728369f267877402f7bfb98 (diff)
parent83a8975cb89b908b4737d647a210c19775f25ed7 (diff)
Merge pull request #615 from Subv/services
Services: Moved the PTM and APT services to their own folder
Diffstat (limited to 'src/core/hle/service/hid/hid_spvr.cpp')
-rw-r--r--src/core/hle/service/hid/hid_spvr.cpp21
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