diff options
| author | bunnei <bunneidev@gmail.com> | 2018-10-20 21:47:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-20 21:47:15 -0400 |
| commit | f0341216202fe4d9a070a75edd5f998c3587f520 (patch) | |
| tree | eba2a70fcaa3c2ad15d166261e63827a61c117fc /src/core/hle/service/hid/controllers/npad.h | |
| parent | 8dc7db7e33ff47700d0d08c9d20f0b47a0b9622b (diff) | |
| parent | a03600ba28698ba2c9a7ded20c6da1c22986bf9e (diff) | |
Merge pull request #1531 from ogniK5377/hid-fixes
Added auto controller switching to supported controllers and single joycon button rotation
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.h')
| -rw-r--r-- | src/core/hle/service/hid/controllers/npad.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h index 7c0f93acf..ac86985ff 100644 --- a/src/core/hle/service/hid/controllers/npad.h +++ b/src/core/hle/service/hid/controllers/npad.h @@ -283,5 +283,7 @@ private: bool can_controllers_vibrate{true}; void InitNewlyAddedControler(std::size_t controller_idx); + bool IsControllerSupported(NPadControllerType controller) const; + NPadControllerType DecideBestController(NPadControllerType priority) const; }; } // namespace Service::HID |
