aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid
AgeCommit message (Collapse)Author
2018-11-29Merge pull request #1801 from ogniK5377/log-before-executebunnei
Changed logging to be "Log before execution", Added more error logging, all services/svc should now log on some level
2018-11-28Merge pull request #1817 from DarkLordZach/npad-idx-fixbunnei
npad: Use NPadIdToIndex to prevent invalid array access
2018-11-28npad: Use NPadIdToIndex to prevent invalid array accessZach Hilman
2018-11-27npad: Fix copy/paste error with LED position assignmentsZach Hilman
2018-11-26Changed logging to be "Log before execution", Added more error logging, all ↵David Marcec
services should now log on some level
2018-11-22debug_pad: Avoid loading input for nonexistent buttons (Home and Screenshot)Zach Hilman
Prevents memory exceptions when the debug pad is enabled.
2018-11-18hid: Use player-defined controller type as PREFERRED_CONTROLLERZach Hilman
2018-11-18hid/npad: Update NPad to use player controller bindings and typeZach Hilman
2018-11-18hid/touchscreen: Update Touchscreen to use advanced parametersZach Hilman
Including finger ID, diamater x/y, and angle. Additionally, checks if the touchscreen is enabled.
2018-11-18hid: Add controller bindings for Mouse controllerZach Hilman
2018-11-18hid: Add keyboard bindings for Keyboard controllerZach Hilman
2018-11-18hid: Add controller bindings for DebugPad controllerZach Hilman
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.
2018-11-18Added missing start/end touch attributes to touchscreenDavid Marcec
2018-11-18Added debugpad skeletonDavid Marcec
2018-11-18Added controller helper funcsDavid Marcec
2018-11-18Changed polling rate of hid and Right joycon rotationDavid Marcec
2018-11-18Left joycon rotation button remappingDavid Marcec
2018-11-18Added automatic npad switch based on supported stylesetsDavid Marcec
2018-11-18Added multi-input support and controller assignment at any portDavid Marcec
2018-11-17Added SetIsPalmaAllConnectable, SetPalmaBoostModeDavid Marcec
Currently unclear what these do yet, will be researched at a later time when we want to implement palma.
2018-11-15Fixed priority switching edge case for handheld (#1675)David
* 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 ↵Lioncash
Controller_NPad::OnUpdate()
2018-11-08Updated npad styles on holdtype switchesDavid Marcec
Fixes input for megaman
2018-11-02Fixed HID crash when launching more than 1 game & signaled syleset change eventDavid Marcec
This should fix crashes when launching multiple games in yuzu
2018-10-24npad: Remove unused controller variable from OnInit()Lioncash
This also gets rid of variable shadowing related to the lambda parameter a little bit below this code as well.
2018-10-21hid: Update service function table for hidbusLioncash
Updated based off information provided by Switchbrew.
2018-10-20Added auto controller switching to supported controllers and single joycon ↵David Marcec
button rotation 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-19Merge pull request #1526 from lioncash/svc-idbunnei
service: Update function tables
2018-10-19hid: Update service function tablesLioncash
Updated based off information provided by Switchbrew.
2018-10-17hid/controller: Remove unused header inclusionsLioncash
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-17hid/controller/npad: Remove unused dump_idx member variableLioncash
Given it's unused, we may as well toss it.
2018-10-17hid/controller/npad: Remove unnecessary semicolon from the closing brace of ↵Lioncash
LedPattern's constructor
2018-10-17hid/controller/npad: Remove #pragma once from the cpp fileLioncash
This is only useful in headers.
2018-10-17hid/controller/npad: Move npad_id_list into the cpp fileLioncash
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-17hid/controller/npad: Remove unnecessary const from void return typeLioncash
This literally does nothing.
2018-10-17hid/controller: Default the destructors of all controller types in the cpp fileLioncash
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-17controller_base: Default the base class constructor and destructor in the ↵Lioncash
cpp file The destructor doesn't need to be a pure-virtual function.
2018-10-18Using dual joycons as the default controllerDavid Marcec
Reason for the change is to allow both docked and undocked mode to work
2018-10-12WipDavid Marcec
2018-10-12Dynamically decide handheld variant based on supported npad id priorityDavid Marcec
Kirby input still doesn't work, should fix a lot of other games
2018-10-11Added BeginPermitVibrationSession and EndPermitVibrationSessionDavid Marcec
Used by Mario Party
2018-10-10Added GetLedPattern and HandheldVariantDavid Marcec
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 Marcec
2018-10-10Added the ability to "disconnect" individual npadsDavid Marcec
Fixes arms
2018-10-10Removed unneeded forward declarationsDavid Marcec
2018-10-10Addressed changes for better hidDavid Marcec
2018-10-10"Better Hid" rework part 1David Marcec
2018-09-23Stubbed IRS (#1349)David
* Stubbed IRS Currently we have no ideal way of implementing IRS. For the time being we should have the functions stubbed until we come up with a way to emulate IRS properly. * Added IRS to logging backend * Forward declared shared memory for irs
2018-09-19Fixed GetAccountId stub, Added error code for OpenDirectory and added ↵David Marcec
ActivateNpadWithRevision With these, `Nintendo Entertainment System - Nintendo Switch Online` loads
2018-09-19Added ActivateGestureDavid Marcec