summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* service: hid: Use applet resource to get latest shared memory handleNarr the Reg2023-12-311-29/+22
* service: hid: Allow to create multiple instances of shared memoryNarr the Reg2023-12-141-15/+13
* service: hid: Create appropriate hid resourcesNarr the Reg2023-11-211-488/+98
* Implemented qlaunch version of the controller appletFrozenAra2023-11-191-0/+16
* core: hid: Split SL and SR buttonsgerman772023-11-121-2/+4
* core: hid: Fix wrong battery valuesgerman772023-11-031-3/+3
* service: hid: Set last connected controller as activegerman772023-09-241-0/+1
* Merge pull request #11519 from german77/system-policyliamwhite2023-09-161-0/+25
|\
| * service: hid: Implement ApplyNpadSystemCommonPolicygerman772023-09-161-0/+25
* | hid: service: Remove outdated field from npadgerman772023-09-161-11/+10
* | hid: service: Implement Last active Npadgerman772023-09-161-0/+4
* | service: hid: Ensure state is correctgerman772023-09-161-8/+8
|/
* general: Use console mode helper across projectlat9nq2023-08-231-1/+1
* general: Convert use_docked_mode to an enumerationlat9nq2023-08-221-1/+1
* service: hid: Use span instead of vector referencegerman772023-05-151-2/+2
* core: hid: Update motion on a better placegerman772023-05-081-2/+2
* service: hid: Fix handle validationgerman772023-04-021-5/+1
* Merge pull request #9999 from german77/new_hid_hurraliamwhite2023-04-011-16/+16
|\
| * service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestinationgerman772023-03-301-16/+16
* | service: hid: Silence warning on MergeSingleJoyAsDualJoyNarr the Reg2023-03-271-1/+2
|/
* core: hid: Use gyro thresholds modes set by the gameNarr the Reg2023-02-101-2/+5
* service: hid: Return error if arguments of SetSupportedNpadIdType is invalidNarr the Reg2023-02-081-2/+10
* Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"ameerj2023-02-031-2/+3
* Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"liamwhite2023-02-021-3/+2
* Merge pull request #9696 from german77/please_forgive_me_for_this_sinbunnei2023-02-011-0/+3
|\
| * input_common: Implement turbo buttonsgerman772023-02-011-0/+3
* | Merge pull request #9508 from ameerj/hle-ipc-buffer-spanbunnei2023-01-301-2/+3
|\ \ | |/ |/|
| * hidbus: Use ReadBufferSpanameerj2022-12-291-2/+3
| * service: Use ReadBufferSpan where it is trivial to do soameerj2022-12-251-1/+1
* | core: hid: Only set the polling mode to the correct sideNarr the Reg2023-01-201-1/+13
* | core: hid: Fix input regressionsNarr the Reg2023-01-201-0/+1
* | service: hid: Set led pattern and fix color detectionNarr the Reg2023-01-201-0/+5
|/
* Merge pull request #9107 from german77/gidoly_rulesliamwhite2022-10-251-2/+2
|\
| * input_common: cache vibration testsgerman772022-10-211-2/+2
* | general: Enforce C4800 everywhere except in video_coreMorph2022-10-221-10/+10
* | hid/npad: Fix copy size in GetSupportedNpadIdTypesLioncash2022-10-211-2/+3
|/
* kernel: remove KWritableEventLiam2022-10-131-3/+2
* service: hid: Partially implement palma controllerNarr the Reg2022-09-251-1/+5
* hid: core: Properly emulate controller color and battery levelNarr the Reg2022-08-081-15/+62
* Merge pull request #8510 from german77/vibrationliamwhite2022-07-151-2/+2
|\
| * input_common: sdl: lower vibration frequency and use it's own unique threadgerman772022-06-291-2/+2
* | service: hid: Correct some mistakes and add more validationsNarr the Reg2022-06-291-8/+26
|/
* core: Replace all instances of ResultCode with Resultgerman772022-06-271-30/+30
* common: Change semantics of UNREACHABLE to unconditionally crashLiam2022-06-141-4/+4
* service: hid: Implement ResetIsSixAxisSensorDeviceNewlyAssignedgerman772022-05-271-2/+75
* service: hid: Implement LoadSixAxisSensorCalibrationParameter and GetSixAxisSensorIcInformationgerman772022-05-271-1/+31
* service: hid: Implement EnableSixAxisSensorUnalteredPassthrough and IsSixAxisSensorUnalteredPassthroughEnabledgerman772022-05-271-0/+26
* service: hid: Add error handling to sixaxis functionsgerman772022-05-271-30/+52
* service: hid: Refractor sixaxis functionsgerman772022-05-271-176/+74
* service: hid: Implement MergeSingleJoyAsDualJoy according to REgerman772022-05-271-61/+50
* service: hid: Add error handling to setNpadAssignment and variantsgerman772022-05-271-10/+12
* service: hid: Quick RE fixes and commentsgerman772022-05-271-20/+30
* service: hid: Fix motion refresh rateNarr the Reg2022-05-061-0/+5
* service: hid: Disable correctly motion inputgerman772022-05-061-50/+41
* service: hid: Access shared memory directlyNarr the Reg2022-04-231-148/+142
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
* service: hid: Improve accuracy of sixaxis functionsNarr the Reg2022-04-181-43/+230
* core/hle: Replace lock_guard with scoped_lockMerry2022-04-071-1/+1
* service: hid: Remove inaccurate behavior on initializationgerman772022-03-311-13/+19
* core/hid: Cancel any vibration after the testNarr the Reg2021-12-161-3/+4
* service/hid: Implement SetNpadJoyAssignmentModegerman772021-12-051-23/+142
* core/hid: Ensure only valid npad are connectedgerman772021-12-051-17/+13
* npad: Return NpadButton in GetAndResetPressStateMorph2021-11-301-3/+3
* general: Fix handheld typoMorph2021-11-291-1/+1
* settings: Add debug setting to enable all controllersgerman772021-11-281-0/+4
* service/hid: Finish converting LIFO objects and address some nitsNarr the Reg2021-11-251-0/+2
* kraken: Address comments from reviewgerman772021-11-251-1/+1
* core/hid: Remove usage of native types, fix a couple of errors with motiongerman772021-11-251-200/+298
* service/hid: Remove includes of core.h and settings.hgerman772021-11-251-8/+7
* service/hid: Add support for new controllersgerman772021-11-251-1/+30
* core/hid: Rename NpadType to NpadStyleIndexgerman772021-11-251-63/+66
* second commit lion reviewgerman772021-11-251-0/+2
* core/hid: Update structs to 13.1.0german772021-11-251-7/+8
* core/hid: Rework battery mappingsgerman772021-11-251-2/+9
* Morph review first wavegerman772021-11-251-3/+1
* service/hid: Match shared memory closer to HWgerman772021-11-251-18/+40
* kraken: Address comments from reviewgerman772021-11-251-5/+5
* core/hid: Only signal when neededgerman772021-11-251-2/+4
* hid: Fix controller connection/disconnectiongerman772021-11-251-25/+52
* core/hid: Add output devicesgerman772021-11-251-23/+4
* service/hid: Rewrite npad to use ring lifo and the emulated controllergerman772021-11-251-627/+473
* core: Remove unused includesameerj2021-11-041-1/+0
* hle: service: hid: npad: Remove unused kernel reference.bunnei2021-07-211-1/+0
* hle: service: Add a helper module for managing kernel objects.bunnei2021-07-211-5/+7
* npad: Disable vibration check if disabledgerman772021-07-111-0/+5
* npad: Fix data race when updating devicesRodrigo Locatti2021-06-221-0/+4
* hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.bunnei2021-05-061-5/+4
* hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps.bunnei2021-05-061-2/+6
* hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei2021-05-061-0/+1
* hle: kernel: Migrate KEvent to KAutoObject.bunnei2021-05-061-3/+2
* hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.bunnei2021-05-061-2/+1
* service: Resolve cases of member field shadowingLioncash2021-05-041-1/+1
* hid: Implement SevenSixAxis and ConsoleSixAxisSensorgerman772021-04-241-2/+2
* npad: Remove duplicated class member variableLioncash2021-04-191-1/+1
* common: Move settings to common from core.bunnei2021-04-151-1/+1
* service: hid: Stub SetAnalogStickUseCenterClampMorph2021-04-081-0/+4
* HID: Fix SL and SR buttons for right joycongerman772021-04-021-2/+6
* hid: Implement GC controllergerman2021-02-081-0/+63
* Merge pull request #5326 from german77/hidUpdate1bunnei2021-02-061-92/+116
|\
| * Add footer types and address commentsgerman2021-02-041-33/+46
| * Fix npad struct to match switchbrewgerman2021-02-041-65/+64
| * Adds missing controller types and propertiesgerman2021-02-041-0/+12
* | hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei2021-02-051-5/+7
* | hle: kernel: Rename WritableEvent to KWritableEvent.bunnei2021-02-051-2/+2
* | hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei2021-02-051-2/+3
|/
* npad: Remove unused device handle parameterMorph2021-01-271-4/+3
* Stub Set/Get/Reset SixaxisSensorFusionParametersgerman2021-01-241-0/+18
* npad: Add check for HANDHELD_INDEX in UpdateControllerAt()Morph2021-01-181-1/+1
* core: Silence Wclass-memaccess warningsReinUsesLisp2021-01-151-2/+4
* controllers/npad: Make press_state atomicMorph2020-12-181-1/+1
* controllers/npad: Validate device handles before useMorph2020-12-121-0/+41
* Stub set and get NpadCommunicationModegerman2020-11-271-0/+8
* hid: Reimplement Begin/EndPermitVibrationSessionMorph2020-11-161-2/+6
* controllers/npad: Load input devices on initMorph2020-11-161-0/+2
* general: Fix compiler warnings on linux and miscellaneous changesMorph2020-11-161-7/+10
* controllers/npad: Remove the old vibration filterMorph2020-11-161-49/+59
* hid: Implement InitializeVibrationDevice and IsVibrationDeviceMountedMorph2020-11-161-1/+41
* input_common: Add VibrationDevice and VibrationDeviceFactoryMorph2020-11-161-30/+18
* configure_input: Add per-player vibrationMorph2020-11-161-2/+11
* settings: Remove global vibration strength modifierMorph2020-11-161-3/+1
* hid: Mark Begin/EndPermitVibrationSession as stubsMorph2020-11-161-9/+1
* controllers/npad: Send an empty vibration on destruction/deactivationMorph2020-11-161-14/+28
* controllers/npad: Add heuristics to reduce rumble state changesMorph2020-11-161-5/+46
* configure_input: Hook up the vibration percentage spinboxMorph2020-11-161-1/+2
* controllers/npad: Stop games from vibrating incorrect controllersMorph2020-11-161-0/+10
* hid: Fix controller rumble based on new researchMorph2020-11-161-18/+27
* hid: Reorder all HID commandsMorph2020-11-161-17/+17
* controllers/npad: Rename NPadType to NpadStyleSetMorph2020-11-161-2/+2
* settings: Preparation for per-game input settingsMorph2020-11-161-18/+24
* controllers/npad: Connect a controller on init if none are connectedMorph2020-11-161-0/+13
* Revert "core: Fix clang build"bunnei2020-10-211-42/+27
* core: Fix clang buildLioncash2020-10-181-27/+42
* core/CMakeLists: Make some warnings errorsLioncash2020-10-131-25/+0
* Merge pull request #4736 from Morph1984/home-button-input-protection-stubbunnei2020-10-071-0/+9
|\
| * hid: Stub HomeButtonInputProtection service commandsMorph2020-09-301-0/+9
* | Only use inputs corresponding to controller typegerman2020-10-021-49/+58
* | Merge pull request #4291 from german77/ImplementControllerRumbleDavid2020-09-301-7/+18
|\ \ | |/ |/|
| * First implementation of controller rumblegerman2020-09-291-7/+18
* | Use different timing for motiongerman2020-09-241-73/+129
|/
* Merge pull request #4683 from Morph1984/NpadHandheldActivationMode-implbunnei2020-09-201-0/+8
|\
| * hid: Implement Get/SetNpadHandheldActivationModeMorph2020-09-181-0/+8
* | Merge pull request #4594 from german77/MotionHIDbunnei2020-09-171-0/+106
|\ \ | |/ |/|
| * configure_input: Hook up the motion button and checkboxMorph2020-09-051-1/+1
| * Add cemu hook changes related to PR #4609german2020-09-051-2/+1
| * Remove RealMotionDevicegerman2020-09-051-2/+3
| * controllers/npad: Simplify motion entry assignmentMorph2020-09-051-29/+18
| * Include HID and configuration changes related to motiongerman2020-09-051-0/+117
* | Merge pull request #4597 from Morph1984/mjolnir-p2bunnei2020-09-111-98/+18
|\ \ | |/ |/|
| * applets/controller: Implement fallback applet for the SDL frontendMorph2020-09-041-88/+0
| * Project Mjölnir: Part 2 - Controller AppletMorph2020-09-041-10/+18
* | hid: Implement MergeSingleJoyasDualJoyMorph2020-09-041-0/+16
|/
* controllers/npad: Fix inconsistencies with controller connection statusesMorph2020-08-261-1/+7
* controllers/npad: Fix LibNX controller connection statusesMorph2020-08-261-1/+9
* controllers/npad: Fix LedPattern for P1-4Morph2020-08-261-3/+3
* Project Mjölnir: Part 1Morph2020-08-261-114/+99
* core: Resolve several -Wextra-semi warningsLioncash2020-08-141-2/+2
* General: Recover Prometheus project from harddrive failure Fernando Sahmkow2020-06-271-1/+1
* hid: Implement Get/ResetGyroscopeZeroDriftModeMorph2020-06-211-0/+8
* npad: Lower log level for VibrateController to DebugFearlessTobi2020-04-201-1/+1
* service: hid: npad: Fix implicit fallthrough errors.bunnei2020-04-181-0/+2
* analog_from_button get direction implementationCJBok2020-02-181-5/+5
* Moved analog direction logic to sdl_implCJBok2020-01-151-9/+22
* Corrected directional states sensitivityCJBok2020-01-141-9/+9
* hid: Fix analog sticks directional statesCJBok2020-01-091-12/+12
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei2019-11-251-2/+1
* kernel: events: Remove ResetType::Automatic.bunnei2019-11-031-1/+1
* hid/npad: Fix incorrect connection boolean value in ConnectAllDisconnectedControllers()Lioncash2019-10-181-1/+1
* hid/npad: Add missing break in default caseLioncash2019-10-181-0/+1
* hid/npad: Replace std::for_each with ranged for loopsLioncash2019-10-181-13/+12
* hid/npad: Remove redundant non-const variant of IsControllerSupported()Lioncash2019-10-181-33/+5
* service/hid: Silence -Wunused and -WswitchReinUsesLisp2019-10-051-2/+6
* Signal styleset changes at a better timeDavid Marcec2019-09-241-8/+2
* removed commentDavid Marcec2019-09-221-1/+0
* RebasedDavid Marcec2019-09-221-8/+15
* RebaseDavid Marcec2019-09-221-2/+2
* Deglobalize System: HidDavid Marcec2019-09-221-2/+2
* IsVibrationEnabled() as a const member funcMorph19842019-09-041-1/+1
* Update npad.cppMorph19842019-09-041-0/+6
* addressed issuesDavid Marcec2019-07-081-6/+7
* hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignmentDavid Marcec2019-07-011-0/+30
* core/kernel/object: Rename ResetType enum membersLioncash2019-05-181-1/+1
* core_timing: Convert core timing into a classLioncash2019-02-161-2/+3
* core_timing: Rename CoreTiming namespace to Core::TimingLioncash2019-02-121-1/+1
* web_browser: Add bounds checking to applet interfaceZach Hilman2018-12-291-4/+2
* hid: Make Hid service accessible and add GetPressStateZach Hilman2018-12-281-0/+8
* npad: Remove code to invert input in horizontal mode.bunnei2018-12-261-46/+0
* Merge pull request #1803 from DarkLordZach/k-able-eventbunnei2018-12-031-8/+10
|\
| * kernel/event: Reference ReadableEvent from WritableEventZach Hilman2018-11-291-7/+5
| * core: Port all current usages of Event to Readable/WritableEventZach Hilman2018-11-291-5/+9
* | Fixed crash with SetNpadModeDavid Marcec2018-12-021-2/+3
|/
* Merge pull request #1801 from ogniK5377/log-before-executebunnei2018-11-291-1/+2
|\
| * Changed logging to be "Log before execution", Added more error logging, all services should now log on some levelDavid Marcec2018-11-261-1/+2
* | npad: Use NPadIdToIndex to prevent invalid array accessZach Hilman2018-11-281-2/+2
|/
* hid: Use player-defined controller type as PREFERRED_CONTROLLERZach Hilman2018-11-191-163/+50
* hid/npad: Update NPad to use player controller bindings and typeZach Hilman2018-11-191-53/+101
* Added controller helper funcsDavid Marcec2018-11-191-0/+31
* Left joycon rotation button remappingDavid Marcec2018-11-191-5/+16
* Added automatic npad switch based on supported stylesetsDavid Marcec2018-11-191-3/+121
* Added multi-input support and controller assignment at any portDavid Marcec2018-11-191-119/+168
* Fixed priority switching edge case for handheld (#1675)David2018-11-161-12/+46
* hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate()Lioncash2018-11-141-0/+1
* Updated npad styles on holdtype switchesDavid Marcec2018-11-071-0/+2
* Fixed HID crash when launching more than 1 game & signaled syleset change eventDavid Marcec2018-11-021-0/+3
* npad: Remove unused controller variable from OnInit()Lioncash2018-10-241-2/+3
* Added auto controller switching to supported controllers and single joycon button rotationDavid Marcec2018-10-201-4/+187
* hid/controller: Remove unused header inclusionsLioncash2018-10-181-1/+0
* hid/controller/npad: Remove #pragma once from the cpp fileLioncash2018-10-181-2/+0
* hid/controller/npad: Move npad_id_list into the cpp fileLioncash2018-10-181-1/+10
* hid/controller/npad: Remove unnecessary const from void return typeLioncash2018-10-181-1/+1
* hid/controller: Default the destructors of all controller types in the cpp fileLioncash2018-10-181-0/+1
* Using dual joycons as the default controllerDavid Marcec2018-10-171-68/+47
* WipDavid Marcec2018-10-121-2/+18
* Dynamically decide handheld variant based on supported npad id priorityDavid Marcec2018-10-111-16/+55
* Added BeginPermitVibrationSession and EndPermitVibrationSessionDavid Marcec2018-10-101-0/+6
* Added GetLedPattern and HandheldVariantDavid Marcec2018-10-101-2/+34
* Kirby expects handheld controllers to be at position 8David Marcec2018-10-101-2/+8
* Added the ability to "disconnect" individual npadsDavid Marcec2018-10-101-12/+24
* Addressed changes for better hidDavid Marcec2018-10-101-49/+52
* "Better Hid" rework part 1David Marcec2018-10-101-0/+336