diff options
author | Zach Hilman <DarkLordZach@users.noreply.github.com> | 2019-07-08 15:35:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-08 15:35:19 +0200 |
commit | 6c3cceafdc9383551d5abf91bad141c2caf58620 (patch) | |
tree | 3fcbcca15ce207b08e360d0f504155b255234a12 /src/core/hle/service/hid/controllers/npad.h | |
parent | Merge pull request #2651 from DarkLordZach/apm-boost-mode-1 (diff) | |
parent | addressed issues (diff) | |
download | yuzu-6c3cceafdc9383551d5abf91bad141c2caf58620.tar yuzu-6c3cceafdc9383551d5abf91bad141c2caf58620.tar.gz yuzu-6c3cceafdc9383551d5abf91bad141c2caf58620.tar.bz2 yuzu-6c3cceafdc9383551d5abf91bad141c2caf58620.tar.lz yuzu-6c3cceafdc9383551d5abf91bad141c2caf58620.tar.xz yuzu-6c3cceafdc9383551d5abf91bad141c2caf58620.tar.zst yuzu-6c3cceafdc9383551d5abf91bad141c2caf58620.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.h')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h index 4ff50b3cd..4b6c1083f 100644 --- a/src/core/hle/service/hid/controllers/npad.h +++ b/src/core/hle/service/hid/controllers/npad.h @@ -124,6 +124,10 @@ public: void ConnectAllDisconnectedControllers(); void ClearAllControllers(); + void StartLRAssignmentMode(); + void StopLRAssignmentMode(); + bool SwapNpadAssignment(u32 npad_id_1, u32 npad_id_2); + // Logical OR for all buttons presses on all controllers // Specifically for cheat engine and other features. u32 GetAndResetPressState(); @@ -321,5 +325,6 @@ private: void RequestPadStateUpdate(u32 npad_id); std::array<ControllerPad, 10> npad_pad_states{}; bool IsControllerSupported(NPadControllerType controller); + bool is_in_lr_assignment_mode{false}; }; } // namespace Service::HID |