summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-02-12core_timing: Rename CoreTiming namespace to Core::TimingLioncash1-1/+1
Places all of the timing-related functionality under the existing Core namespace to keep things consistent, rather than having the timing utilities sitting in its own completely separate namespace.
2018-12-29web_browser: Add bounds checking to applet interfaceZach Hilman1-4/+2
2018-12-28hid: Make Hid service accessible and add GetPressStateZach Hilman1-0/+8
2018-12-26npad: Remove code to invert input in horizontal mode.bunnei1-46/+0
- This was incorrect, the game appears to handle this for us. - Fixes horizontal mode with Puyo Puyo Tetris and Super Mario Odyssey.
2018-12-02Fixed crash with SetNpadModeDavid Marcec1-2/+3
fixed crash due to handheld
2018-11-29kernel/event: Reference ReadableEvent from WritableEventZach Hilman1-7/+5
2018-11-29core: Port all current usages of Event to Readable/WritableEventZach Hilman1-5/+9
2018-11-28npad: Use NPadIdToIndex to prevent invalid array accessZach Hilman1-2/+2
2018-11-26Changed logging to be "Log before execution", Added more error logging, all services should now log on some levelDavid Marcec1-1/+2
2018-11-19hid: Use player-defined controller type as PREFERRED_CONTROLLERZach Hilman1-163/+50
2018-11-19hid/npad: Update NPad to use player controller bindings and typeZach Hilman1-53/+101
2018-11-19Added controller helper funcsDavid Marcec1-0/+31
2018-11-19Left joycon rotation button remappingDavid Marcec1-5/+16
2018-11-19Added automatic npad switch based on supported stylesetsDavid Marcec1-3/+121
2018-11-19Added multi-input support and controller assignment at any portDavid Marcec1-119/+168
2018-11-16Fixed priority switching edge case for handheld (#1675)David1-12/+46
* Fixed priority switching edge case for handheld We accidently used controller index instead of npad id * Moved NPadIdToIndex
2018-11-14hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate()Lioncash1-0/+1
2018-11-07Updated npad styles on holdtype switchesDavid Marcec1-0/+2
Fixes input for megaman
2018-11-02Fixed HID crash when launching more than 1 game & signaled syleset change eventDavid Marcec1-0/+3
This should fix crashes when launching multiple games in yuzu
2018-10-24npad: Remove unused controller variable from OnInit()Lioncash1-2/+3
This also gets rid of variable shadowing related to the lambda parameter a little bit below this code as well.
2018-10-20Added auto controller switching to supported controllers and single joycon button rotationDavid Marcec1-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
2018-10-18hid/controller: Remove unused header inclusionsLioncash1-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
2018-10-18hid/controller/npad: Remove #pragma once from the cpp fileLioncash1-2/+0
This is only useful in headers.
2018-10-18hid/controller/npad: Move npad_id_list into the cpp fileLioncash1-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.
2018-10-18hid/controller/npad: Remove unnecessary const from void return typeLioncash1-1/+1
This literally does nothing.
2018-10-18hid/controller: Default the destructors of all controller types in the cpp fileLioncash1-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.
2018-10-17Using dual joycons as the default controllerDavid Marcec1-68/+47
Reason for the change is to allow both docked and undocked mode to work
2018-10-12WipDavid Marcec1-2/+18
2018-10-11Dynamically decide handheld variant based on supported npad id priorityDavid Marcec1-16/+55
Kirby input still doesn't work, should fix a lot of other games
2018-10-10Added BeginPermitVibrationSession and EndPermitVibrationSessionDavid Marcec1-0/+6
Used by Mario Party
2018-10-10Added GetLedPattern and HandheldVariantDavid Marcec1-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)
2018-10-10Kirby expects handheld controllers to be at position 8David Marcec1-2/+8
2018-10-10Added the ability to "disconnect" individual npadsDavid Marcec1-12/+24
Fixes arms
2018-10-10Addressed changes for better hidDavid Marcec1-49/+52
2018-10-10"Better Hid" rework part 1David Marcec1-0/+336