mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 04:47:52 +00:00
input_common: Add support for joycon ring controller
This commit is contained in:
parent
046e95be06
commit
4d68a82563
9 changed files with 272 additions and 4 deletions
|
@ -28,12 +28,14 @@ public:
|
|||
void ReadPassiveMode(std::span<u8> buffer);
|
||||
|
||||
/// Handles data from active packages
|
||||
void ReadActiveMode(std::span<u8> buffer, const MotionStatus& motion_status);
|
||||
void ReadActiveMode(std::span<u8> buffer, const MotionStatus& motion_status,
|
||||
const RingStatus& ring_status);
|
||||
|
||||
/// Handles data from nfc or ir packages
|
||||
void ReadNfcIRMode(std::span<u8> buffer, const MotionStatus& motion_status);
|
||||
|
||||
void UpdateColor(const Color& color);
|
||||
void UpdateRing(s16 value, const RingStatus& ring_status);
|
||||
|
||||
private:
|
||||
void UpdateActiveLeftPadInput(const InputReportActive& input,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue