summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hid/controller: Remove unused header inclusionsLioncash2018-10-189-9/+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 unused dump_idx member variableLioncash2018-10-181-1/+0
| | | | Given it's unused, we may as well toss it.
* hid/controller/npad: Remove unnecessary semicolon from the closing brace of LedPattern's constructorLioncash2018-10-181-1/+1
|
* 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-182-2/+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-182-2/+2
| | | | This literally does nothing.
* hid/controller: Default the destructors of all controller types in the cpp fileLioncash2018-10-1816-0/+16
| | | | | | 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.
* controller_base: Default the base class constructor and destructor in the cpp fileLioncash2018-10-182-2/+4
| | | | The destructor doesn't need to be a pure-virtual function.
* Using dual joycons as the default controllerDavid Marcec2018-10-172-74/+58
| | | | 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-112-19/+58
| | | | Kirby input still doesn't work, should fix a lot of other games
* Added BeginPermitVibrationSession and EndPermitVibrationSessionDavid Marcec2018-10-102-0/+8
| | | | Used by Mario Party
* Added GetLedPattern and HandheldVariantDavid Marcec2018-10-102-4/+54
| | | | 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-102-15/+36
| | | | Fixes arms
* Removed unneeded forward declarationsDavid Marcec2018-10-102-13/+2
|
* Addressed changes for better hidDavid Marcec2018-10-1018-130/+208
|
* "Better Hid" rework part 1David Marcec2018-10-1018-0/+1289