summaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-16 20:58:36 -0400
committerGravatar bunnei2014-04-16 20:58:36 -0400
commitbb5bc2df257330561c886ed768ce2191e2641a6c (patch)
treea5a10147dc07e3ed40fd73a8b94dc7f53e49bd9a /src/core/hle/service/hid.cpp
parentupdated service comments (diff)
downloadyuzu-bb5bc2df257330561c886ed768ce2191e2641a6c.tar.gz
yuzu-bb5bc2df257330561c886ed768ce2191e2641a6c.tar.xz
yuzu-bb5bc2df257330561c886ed768ce2191e2641a6c.zip
added class stub for HID:User service
Diffstat (limited to 'src/core/hle/service/hid.cpp')
-rw-r--r--src/core/hle/service/hid.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/core/hle/service/hid.cpp b/src/core/hle/service/hid.cpp
new file mode 100644
index 000000000..2d823dd16
--- /dev/null
+++ b/src/core/hle/service/hid.cpp
@@ -0,0 +1,33 @@
1// Copyright 2014 Citra Emulator Project
2// Licensed under GPLv2
3// Refer to the license.txt file included.
4
5#include "common/log.h"
6
7#include "core/hle/hle.h"
8#include "core/hle/service/hid.h"
9
10////////////////////////////////////////////////////////////////////////////////////////////////////
11// Namespace HID_User
12
13namespace HID_User {
14
15const HLE::FunctionDef FunctionTable[] = {
16 {0x000A0000, NULL, "GetIPCHandles"},
17 {0x00110000, NULL, "EnableAccelerometer"},
18 {0x00130000, NULL, "EnableGyroscopeLow"},
19 {0x00150000, NULL, "GetGyroscopeLowRawToDpsCoefficient"},
20 {0x00160000, NULL, "GetGyroscopeLowCalibrateParam"},
21};
22
23////////////////////////////////////////////////////////////////////////////////////////////////////
24// Interface class
25
26Interface::Interface() {
27 Register(FunctionTable, ARRAY_SIZE(FunctionTable));
28}
29
30Interface::~Interface() {
31}
32
33} // namespace