diff options
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/poller.h')
| -rw-r--r-- | src/input_common/helpers/joycon_protocol/poller.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input_common/helpers/joycon_protocol/poller.h b/src/input_common/helpers/joycon_protocol/poller.h index fff681d0a..68b14b8ba 100644 --- a/src/input_common/helpers/joycon_protocol/poller.h +++ b/src/input_common/helpers/joycon_protocol/poller.h | |||
| @@ -28,12 +28,14 @@ public: | |||
| 28 | void ReadPassiveMode(std::span<u8> buffer); | 28 | void ReadPassiveMode(std::span<u8> buffer); |
| 29 | 29 | ||
| 30 | /// Handles data from active packages | 30 | /// Handles data from active packages |
| 31 | void ReadActiveMode(std::span<u8> buffer, const MotionStatus& motion_status); | 31 | void ReadActiveMode(std::span<u8> buffer, const MotionStatus& motion_status, |
| 32 | const RingStatus& ring_status); | ||
| 32 | 33 | ||
| 33 | /// Handles data from nfc or ir packages | 34 | /// Handles data from nfc or ir packages |
| 34 | void ReadNfcIRMode(std::span<u8> buffer, const MotionStatus& motion_status); | 35 | void ReadNfcIRMode(std::span<u8> buffer, const MotionStatus& motion_status); |
| 35 | 36 | ||
| 36 | void UpdateColor(const Color& color); | 37 | void UpdateColor(const Color& color); |
| 38 | void UpdateRing(s16 value, const RingStatus& ring_status); | ||
| 37 | 39 | ||
| 38 | private: | 40 | private: |
| 39 | void UpdateActiveLeftPadInput(const InputReportActive& input, | 41 | void UpdateActiveLeftPadInput(const InputReportActive& input, |