diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-17 15:19:59 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-17 15:19:59 +0100 |
commit | 0bb4b77b784dfb1e405c71033bfa9988ac024a2d (patch) | |
tree | 26263ca5db60c6ad51be2a5bfb0be135fdb91a45 /src/core/hle/service/hid/hid.h | |
parent | Merge pull request #660 from purpasmart96/ncch_updates (diff) | |
parent | HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along (diff) | |
download | yuzu-0bb4b77b784dfb1e405c71033bfa9988ac024a2d.tar yuzu-0bb4b77b784dfb1e405c71033bfa9988ac024a2d.tar.gz yuzu-0bb4b77b784dfb1e405c71033bfa9988ac024a2d.tar.bz2 yuzu-0bb4b77b784dfb1e405c71033bfa9988ac024a2d.tar.lz yuzu-0bb4b77b784dfb1e405c71033bfa9988ac024a2d.tar.xz yuzu-0bb4b77b784dfb1e405c71033bfa9988ac024a2d.tar.zst yuzu-0bb4b77b784dfb1e405c71033bfa9988ac024a2d.zip |
Diffstat (limited to 'src/core/hle/service/hid/hid.h')
-rw-r--r-- | src/core/hle/service/hid/hid.h | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h index 0946cf660..97462c7f8 100644 --- a/src/core/hle/service/hid/hid.h +++ b/src/core/hle/service/hid/hid.h @@ -161,7 +161,7 @@ const PadState PAD_CIRCLE_DOWN = {{1u << 31}}; * None * Outputs: * 1 : Result of function, 0 on success, otherwise error code - * 2 : Unused + * 2 : IPC Command Structure translate-header * 3 : Handle to HID_User shared memory * 4 : Event signaled by HID_User * 5 : Event signaled by HID_User @@ -171,6 +171,34 @@ const PadState PAD_CIRCLE_DOWN = {{1u << 31}}; */ void GetIPCHandles(Interface* self); +/** + * HID::EnableAccelerometer service function + * Inputs: + * None + * Outputs: + * 1 : Result of function, 0 on success, otherwise error code + */ +void EnableAccelerometer(Interface* self); + +/** + * HID::EnableGyroscopeLow service function + * Inputs: + * None + * Outputs: + * 1 : Result of function, 0 on success, otherwise error code + */ +void EnableGyroscopeLow(Interface* self); + +/** + * HID::GetSoundVolume service function + * Inputs: + * None + * Outputs: + * 1 : Result of function, 0 on success, otherwise error code + * 2 : u8 output value + */ +void GetSoundVolume(Interface* self); + /// Checks for user input updates void HIDUpdate(); |