diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-08 06:13:49 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-10 23:05:17 +0100 |
commit | 3229b048d9b4f16433fb1c5d623e6b79bc1a2d93 (patch) | |
tree | 20b3976db72b7191a899692433e6b34e491c827c /src/core/hle/service/hid/hid.h | |
parent | HID: Refactored shared memory decoding for touchpad support. (diff) | |
download | yuzu-3229b048d9b4f16433fb1c5d623e6b79bc1a2d93.tar yuzu-3229b048d9b4f16433fb1c5d623e6b79bc1a2d93.tar.gz yuzu-3229b048d9b4f16433fb1c5d623e6b79bc1a2d93.tar.bz2 yuzu-3229b048d9b4f16433fb1c5d623e6b79bc1a2d93.tar.lz yuzu-3229b048d9b4f16433fb1c5d623e6b79bc1a2d93.tar.xz yuzu-3229b048d9b4f16433fb1c5d623e6b79bc1a2d93.tar.zst yuzu-3229b048d9b4f16433fb1c5d623e6b79bc1a2d93.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/hid.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h index 6318d1d53..cd6263243 100644 --- a/src/core/hle/service/hid/hid.h +++ b/src/core/hle/service/hid/hid.h @@ -162,9 +162,22 @@ const PadState PAD_CIRCLE_DOWN = {{1u << 31}}; */ void GetIPCHandles(Interface* self); -// Methods for updating the HID module's state +/** + * Sets a Pad state (button or button combo) as pressed + * @param pad_state PadState data indicating which buttons have been pressed + */ void PadButtonPress(const PadState& pad_state); + +/** + * Sets a Pad state (button or button combo) as released + * @param pad_state PadState data indicating which buttons have been released + */ void PadButtonRelease(const PadState& pad_state); + +/** + * Called after all Pad changes to be included in this update have been made, including both Pad + * key changes and analog circle Pad changes. + */ void PadUpdateComplete(); void HIDInit(); |