summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2014-08-07 20:33:59 -0400
committerGravatar bunnei2014-08-12 18:08:09 -0400
commit091f6cf55b43cca5913079d0ab7226ff72515ec7 (patch)
tree9740ee42c254195a638832ab0529b65506a14d24 /src
parentHID: Implemented HID_User::GetIPCHandles service function. (diff)
downloadyuzu-091f6cf55b43cca5913079d0ab7226ff72515ec7.tar.gz
yuzu-091f6cf55b43cca5913079d0ab7226ff72515ec7.tar.xz
yuzu-091f6cf55b43cca5913079d0ab7226ff72515ec7.zip
HID: Added new function entries from 3dbrew to FunctionTable.
HID: Fix typo with DisableGyroscopeLow command.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/hid.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/hid.cpp b/src/core/hle/service/hid.cpp
index 3730b117a..4e470795f 100644
--- a/src/core/hle/service/hid.cpp
+++ b/src/core/hle/service/hid.cpp
@@ -46,10 +46,15 @@ void GetIPCHandles(Service::Interface* self) {
46 46
47const Interface::FunctionInfo FunctionTable[] = { 47const Interface::FunctionInfo FunctionTable[] = {
48 {0x000A0000, GetIPCHandles, "GetIPCHandles"}, 48 {0x000A0000, GetIPCHandles, "GetIPCHandles"},
49 {0x000B0000, nullptr, "StartAnalogStickCalibration"},
50 {0x000E0000, nullptr, "GetAnalogStickCalibrateParam"},
49 {0x00110000, nullptr, "EnableAccelerometer"}, 51 {0x00110000, nullptr, "EnableAccelerometer"},
52 {0x00120000, nullptr, "DisableAccelerometer"},
50 {0x00130000, nullptr, "EnableGyroscopeLow"}, 53 {0x00130000, nullptr, "EnableGyroscopeLow"},
54 {0x00140000, nullptr, "DisableGyroscopeLow"},
51 {0x00150000, nullptr, "GetGyroscopeLowRawToDpsCoefficient"}, 55 {0x00150000, nullptr, "GetGyroscopeLowRawToDpsCoefficient"},
52 {0x00160000, nullptr, "GetGyroscopeLowCalibrateParam"}, 56 {0x00160000, nullptr, "GetGyroscopeLowCalibrateParam"},
57 {0x00170000, nullptr, "GetSoundVolume"},
53}; 58};
54 59
55//////////////////////////////////////////////////////////////////////////////////////////////////// 60////////////////////////////////////////////////////////////////////////////////////////////////////