summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed HID crash when launching more than 1 game & signaled syleset change eventDavid Marcec2018-11-021-0/+3
| | | | This should fix crashes when launching multiple games in yuzu
* npad: Remove unused controller variable from OnInit()Lioncash2018-10-241-2/+3
| | | | | This also gets rid of variable shadowing related to the lambda parameter a little bit below this code as well.
* Added auto controller switching to supported controllers and single joycon button rotationDavid Marcec2018-10-201-4/+187
| | | | This is a subset of the better-hid-2 changes, this fixes input in various games which don't support dual joycons. This pr will search for the next best controller which is supported by the current game
* hid/controller: Remove unused header inclusionsLioncash2018-10-181-1/+0
| | | | | | swap.h only needs to be present in the header for the type aliases and definitions, it's not actually needed in the cpp files though. input.h is just unused entirely in xpad.h
* hid/controller/npad: Remove #pragma once from the cpp fileLioncash2018-10-181-2/+0
| | | | This is only useful in headers.
* hid/controller/npad: Move npad_id_list into the cpp fileLioncash2018-10-181-1/+10
| | | | | This is just a lookup table, and since it's private, there's nothing really stateful about it, so we can just move it into the cpp file.
* hid/controller/npad: Remove unnecessary const from void return typeLioncash2018-10-181-1/+1
| | | | This literally does nothing.
* hid/controller: Default the destructors of all controller types in the cpp fileLioncash2018-10-181-0/+1
| | | | | | These classes are non-trivial and are definitely going to be changed in the future, so we default these to prevent issues with forward declarations, and to keep the compiler from inlining tear-down code.
* Using dual joycons as the default controllerDavid Marcec2018-10-171-68/+47
| | | | Reason for the change is to allow both docked and undocked mode to work
* WipDavid Marcec2018-10-121-2/+18
|
* Dynamically decide handheld variant based on supported npad id priorityDavid Marcec2018-10-111-16/+55
| | | | Kirby input still doesn't work, should fix a lot of other games
* Added BeginPermitVibrationSession and EndPermitVibrationSessionDavid Marcec2018-10-101-0/+6
| | | | Used by Mario Party
* Added GetLedPattern and HandheldVariantDavid Marcec2018-10-101-2/+34
| | | | HandheldVariant is for specific games which expect handheld controllers to be at position 8(kirby), however this doesn't fix all games as some games require handhelds to be at position 0(snipperclips)
* Kirby expects handheld controllers to be at position 8David Marcec2018-10-101-2/+8
|
* Added the ability to "disconnect" individual npadsDavid Marcec2018-10-101-12/+24
| | | | Fixes arms
* Addressed changes for better hidDavid Marcec2018-10-101-49/+52
|
* "Better Hid" rework part 1David Marcec2018-10-101-0/+336