summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hid: Implement Get/SetNpadHandheldActivationModeMorph2020-09-181-0/+10
| | | | - Used in Clubhouse Games: 51 Worldwide Classics
* Merge pull request #4597 from Morph1984/mjolnir-p2bunnei2020-09-111-2/+5
|\ | | | | Project Mjölnir: Part 2 - Controller Applet
| * applets/controller: Implement fallback applet for the SDL frontendMorph2020-09-041-1/+0
| | | | | | | | Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required.
| * Project Mjölnir: Part 2 - Controller AppletMorph2020-09-041-1/+5
| | | | | | | | Co-authored-by: Its-Rei <kupfel@gmail.com>
* | hid: Implement MergeSingleJoyasDualJoyMorph2020-09-041-0/+1
|/ | | | - Used in multiple games such as Super Mario Odyssey.
* Project Mjölnir: Part 1Morph2020-08-261-4/+7
| | | | | Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
* hid: Implement Get/ResetGyroscopeZeroDriftModeMorph2020-06-211-1/+9
| | | | - Used by Captain Toad Treasure Tracker
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei2019-11-251-1/+1
| | | | | | * kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details.
* hid/npad: Remove redundant non-const variant of IsControllerSupported()Lioncash2019-10-181-1/+0
| | | | | | The const qualified variant can also be called in non-const contexts, so we can remove the non-const variant to eliminate a bit of code duplication.
* hid/npad: Move function declarationsLioncash2019-10-181-5/+6
| | | | | Clearly separate these from the variable declarations to make them more visible.
* RebasedDavid Marcec2019-09-221-2/+3
|
* marked controller constructors as explicitDavid Marcec2019-09-221-1/+1
|
* RebaseDavid Marcec2019-09-221-2/+3
|
* Deglobalize System: HidDavid Marcec2019-09-221-1/+1
|
* dittoMorph19842019-09-041-1/+1
| | | Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
* Update npad.hMorph19842019-09-041-0/+1
|
* hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignmentDavid Marcec2019-07-011-0/+5
| | | | StartLrAssignmentMode and StopLrAssignmentMode don't require any implementation as it's just used for showing the screen of changing the controller orientation if the user wishes to do so. Ever since #1634 this has not been needed as users can specify the controller orientation from the config and swap at any time. We store a private member just in case this gets used for anything extra in the future
* Merge pull request #2090 from FearlessTobi/port-4599bunnei2019-03-211-51/+51
|\ | | | | Port citra-emu/citra#4244 and citra-emu/citra#4599: Changes to BitField
| * remove all occurance of specifying endianness inside BitFieldWeiyi Wang2019-02-061-51/+51
| | | | | | | | | | | | | | This commit it automatically generated by command in zsh: sed -i -- 's/BitField<\(.*\)_le>/BitField<\1>/g' **/*(D.) BitField is now aware to endianness and default to little endian. It expects a value representation type without storage specification for its template parameter.
* | core_timing: Convert core timing into a classLioncash2019-02-161-1/+1
|/ | | | | | | | | | | Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces.
* web_browser: Add bounds checking to applet interfaceZach Hilman2018-12-291-1/+1
|
* hid: Make Hid service accessible and add GetPressStateZach Hilman2018-12-281-0/+6
|
* kernel/event: Reference ReadableEvent from WritableEventZach Hilman2018-11-291-6/+2
|
* core: Port all current usages of Event to Readable/WritableEventZach Hilman2018-11-291-3/+8
|
* npad: Fix copy/paste error with LED position assignmentsZach Hilman2018-11-271-3/+3
|
* hid: Use player-defined controller type as PREFERRED_CONTROLLERZach Hilman2018-11-191-3/+8
|
* hid/npad: Update NPad to use player controller bindings and typeZach Hilman2018-11-191-2/+7
|
* Added controller helper funcsDavid Marcec2018-11-191-0/+4
|
* Left joycon rotation button remappingDavid Marcec2018-11-191-2/+5
|
* Added automatic npad switch based on supported stylesetsDavid Marcec2018-11-191-1/+3
|
* Added multi-input support and controller assignment at any portDavid Marcec2018-11-191-3/+13
|
* Added auto controller switching to supported controllers and single joycon button rotationDavid Marcec2018-10-201-0/+2
| | | | 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/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: Move npad_id_list into the cpp fileLioncash2018-10-181-1/+0
| | | | | 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-6/+11
| | | | Reason for the change is to allow both docked and undocked mode to work
* Dynamically decide handheld variant based on supported npad id priorityDavid Marcec2018-10-111-3/+3
| | | | Kirby input still doesn't work, should fix a lot of other games
* Added BeginPermitVibrationSession and EndPermitVibrationSessionDavid Marcec2018-10-101-0/+2
| | | | Used by Mario Party
* Added GetLedPattern and HandheldVariantDavid Marcec2018-10-101-2/+20
| | | | 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)
* Added the ability to "disconnect" individual npadsDavid Marcec2018-10-101-3/+12
| | | | Fixes arms
* Removed unneeded forward declarationsDavid Marcec2018-10-101-7/+1
|
* Addressed changes for better hidDavid Marcec2018-10-101-26/+37
|
* "Better Hid" rework part 1David Marcec2018-10-101-0/+249