Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | debug_pad: Avoid loading input for nonexistent buttons (Home and Screenshot) | Zach Hilman | 2018-11-22 | 1 | -2/+3 |
| | | | | Prevents memory exceptions when the debug pad is enabled. | ||||
* | hid: Use player-defined controller type as PREFERRED_CONTROLLER | Zach Hilman | 2018-11-19 | 4 | -174/+61 |
| | |||||
* | hid/npad: Update NPad to use player controller bindings and type | Zach Hilman | 2018-11-19 | 2 | -55/+108 |
| | |||||
* | hid/touchscreen: Update Touchscreen to use advanced parameters | Zach Hilman | 2018-11-19 | 1 | -6/+6 |
| | | | | Including finger ID, diamater x/y, and angle. Additionally, checks if the touchscreen is enabled. | ||||
* | hid: Add controller bindings for Mouse controller | Zach Hilman | 2018-11-19 | 2 | -4/+30 |
| | |||||
* | hid: Add keyboard bindings for Keyboard controller | Zach Hilman | 2018-11-19 | 2 | -2/+24 |
| | |||||
* | hid: Add controller bindings for DebugPad controller | Zach Hilman | 2018-11-19 | 2 | -21/+43 |
| | | | | Used by developers to test games, not present on retail systems. Some games are known to respond to DebugPad input though, for example Kirby Star Allies. | ||||
* | Added missing start/end touch attributes to touchscreen | David Marcec | 2018-11-19 | 2 | -1/+18 |
| | |||||
* | Added debugpad skeleton | David Marcec | 2018-11-19 | 2 | -2/+55 |
| | |||||
* | Added controller helper funcs | David Marcec | 2018-11-19 | 2 | -0/+35 |
| | |||||
* | Left joycon rotation button remapping | David Marcec | 2018-11-19 | 2 | -7/+21 |
| | |||||
* | Added automatic npad switch based on supported stylesets | David Marcec | 2018-11-19 | 2 | -4/+124 |
| | |||||
* | Added multi-input support and controller assignment at any port | David Marcec | 2018-11-19 | 2 | -122/+181 |
| | |||||
* | Fixed priority switching edge case for handheld (#1675) | David | 2018-11-16 | 1 | -12/+46 |
| | | | | | | | | * Fixed priority switching edge case for handheld We accidently used controller index instead of npad id * Moved NPadIdToIndex | ||||
* | hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate() | Lioncash | 2018-11-14 | 1 | -0/+1 |
| | |||||
* | Updated npad styles on holdtype switches | David Marcec | 2018-11-07 | 1 | -0/+2 |
| | | | | Fixes input for megaman | ||||
* | Fixed HID crash when launching more than 1 game & signaled syleset change event | David Marcec | 2018-11-02 | 1 | -0/+3 |
| | | | | This should fix crashes when launching multiple games in yuzu | ||||
* | npad: Remove unused controller variable from OnInit() | Lioncash | 2018-10-24 | 1 | -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 rotation | David Marcec | 2018-10-20 | 2 | -4/+189 |
| | | | | 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 inclusions | Lioncash | 2018-10-18 | 9 | -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 variable | Lioncash | 2018-10-18 | 1 | -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 constructor | Lioncash | 2018-10-18 | 1 | -1/+1 |
| | |||||
* | hid/controller/npad: Remove #pragma once from the cpp file | Lioncash | 2018-10-18 | 1 | -2/+0 |
| | | | | This is only useful in headers. | ||||
* | hid/controller/npad: Move npad_id_list into the cpp file | Lioncash | 2018-10-18 | 2 | -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 type | Lioncash | 2018-10-18 | 2 | -2/+2 |
| | | | | This literally does nothing. | ||||
* | hid/controller: Default the destructors of all controller types in the cpp file | Lioncash | 2018-10-18 | 16 | -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 file | Lioncash | 2018-10-18 | 2 | -2/+4 |
| | | | | The destructor doesn't need to be a pure-virtual function. | ||||
* | Using dual joycons as the default controller | David Marcec | 2018-10-17 | 2 | -74/+58 |
| | | | | Reason for the change is to allow both docked and undocked mode to work | ||||
* | Wip | David Marcec | 2018-10-12 | 1 | -2/+18 |
| | |||||
* | Dynamically decide handheld variant based on supported npad id priority | David Marcec | 2018-10-11 | 2 | -19/+58 |
| | | | | Kirby input still doesn't work, should fix a lot of other games | ||||
* | Added BeginPermitVibrationSession and EndPermitVibrationSession | David Marcec | 2018-10-10 | 2 | -0/+8 |
| | | | | Used by Mario Party | ||||
* | Added GetLedPattern and HandheldVariant | David Marcec | 2018-10-10 | 2 | -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 8 | David Marcec | 2018-10-10 | 1 | -2/+8 |
| | |||||
* | Added the ability to "disconnect" individual npads | David Marcec | 2018-10-10 | 2 | -15/+36 |
| | | | | Fixes arms | ||||
* | Removed unneeded forward declarations | David Marcec | 2018-10-10 | 2 | -13/+2 |
| | |||||
* | Addressed changes for better hid | David Marcec | 2018-10-10 | 18 | -130/+208 |
| | |||||
* | "Better Hid" rework part 1 | David Marcec | 2018-10-10 | 18 | -0/+1289 |