index
:
anonymous/yuzu
master
yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra. It is written in C++ with portability in mind,
mirror
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
hid_core
/
resources
/
npad
/
npad.cpp
(
unfollow
)
Commit message (
Expand
)
Author
Files
Lines
2024-01-30
service: hid: Implement GetPlayerLedPattern accurately
Narr the Reg
1
-11
/
+0
2024-01-29
service: hid: Fully implement touch resource
Narr the Reg
1
-0
/
+3
2024-01-26
service: set: Implement more settings functions for Qlaunch
Narr the Reg
1
-1
/
+4
2024-01-21
service: hid: Implement EnableAppletForInput
Narr the Reg
1
-0
/
+13
2024-01-19
service: hid: Clear controller status when aruid is no longer used
Narr the Reg
1
-0
/
+7
2024-01-16
service: hid: Fully implement abstract vibration
Narr the Reg
1
-186
/
+106
2024-01-12
service: hid: Create abstracted pad structure
german77
1
-4
/
+4
2024-01-07
service: hid: Make sure there's an active aruid handle
german77
1
-0
/
+5
2024-01-07
service: hid: Implement GetLastActiveNpad
german77
1
-0
/
+6
2024-01-07
service: hid: Implement AssigningSingleOnSlSrPress
german77
1
-0
/
+10
2024-01-07
service: hid: Implement SetNpadSystemExtStateEnabled
german77
1
-0
/
+12
2024-01-07
service: hid: Implement CaptureButtonAssignment
german77
1
-0
/
+17
2024-01-05
hid_core: Move hid to it's own subproject
Narr the Reg
1
-7
/
+7
2024-01-04
service: hid: Remove data races when handling shared memory
Narr the Reg
1
-1
/
+1
2024-01-04
service: hid: Implement NpadResource and NpadData
Narr the Reg
1
-496
/
+492
2023-12-31
service: hid: Use applet resource to get latest shared memory handle
Narr the Reg
1
-29
/
+22
2023-12-14
service: hid: Allow to create multiple instances of shared memory
Narr the Reg
1
-15
/
+13
2023-11-21
service: hid: Create appropriate hid resources
Narr the Reg
1
-488
/
+98
2023-11-19
Implemented qlaunch version of the controller applet
FrozenAra
1
-0
/
+16
2023-11-12
core: hid: Split SL and SR buttons
german77
1
-2
/
+4
2023-11-03
core: hid: Fix wrong battery values
german77
1
-3
/
+3
2023-09-24
service: hid: Set last connected controller as active
german77
1
-0
/
+1
2023-09-16
service: hid: Implement ApplyNpadSystemCommonPolicy
german77
1
-0
/
+25
2023-09-16
hid: service: Remove outdated field from npad
german77
1
-11
/
+10
2023-09-16
hid: service: Implement Last active Npad
german77
1
-0
/
+4
2023-09-16
service: hid: Ensure state is correct
german77
1
-8
/
+8
2023-08-23
general: Use console mode helper across project
lat9nq
1
-1
/
+1
2023-08-22
general: Convert use_docked_mode to an enumeration
lat9nq
1
-1
/
+1
2023-05-15
service: hid: Use span instead of vector reference
german77
1
-2
/
+2
2023-05-08
core: hid: Update motion on a better place
german77
1
-2
/
+2
2023-04-02
service: hid: Fix handle validation
german77
1
-5
/
+1
2023-03-30
service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination
german77
1
-16
/
+16
2023-03-27
service: hid: Silence warning on MergeSingleJoyAsDualJoy
Narr the Reg
1
-1
/
+2
2023-02-14
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
arades79
1
-5
/
+5
2023-02-14
apply clang-format
arades79
1
-3
/
+3
2023-02-14
add static lifetime to constexpr values to force compile time evaluation where possible
arades79
1
-3
/
+3
2023-02-10
core: hid: Use gyro thresholds modes set by the game
Narr the Reg
1
-2
/
+5
2023-02-08
service: hid: Return error if arguments of SetSupportedNpadIdType is invalid
Narr the Reg
1
-2
/
+10
2023-02-03
Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"
ameerj
1
-2
/
+3
2023-02-02
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
liamwhite
1
-3
/
+2
2023-02-01
input_common: Implement turbo buttons
german77
1
-0
/
+3
2023-01-20
core: hid: Only set the polling mode to the correct side
Narr the Reg
1
-1
/
+13
2023-01-20
core: hid: Fix input regressions
Narr the Reg
1
-0
/
+1
2023-01-20
service: hid: Set led pattern and fix color detection
Narr the Reg
1
-0
/
+5
2022-12-29
hidbus: Use ReadBufferSpan
ameerj
1
-2
/
+3
2022-12-25
service: Use ReadBufferSpan where it is trivial to do so
ameerj
1
-1
/
+1
2022-10-22
general: Enforce C4800 everywhere except in video_core
Morph
1
-10
/
+10
2022-10-21
input_common: cache vibration tests
german77
1
-2
/
+2
2022-10-21
hid/npad: Fix copy size in GetSupportedNpadIdTypes
Lioncash
1
-2
/
+3
2022-10-13
kernel: remove KWritableEvent
Liam
1
-3
/
+2
2022-09-25
service: hid: Partially implement palma controller
Narr the Reg
1
-1
/
+5
2022-08-08
hid: core: Properly emulate controller color and battery level
Narr the Reg
1
-15
/
+62
2022-06-29
input_common: sdl: lower vibration frequency and use it's own unique thread
german77
1
-2
/
+2
2022-06-29
service: hid: Correct some mistakes and add more validations
Narr the Reg
1
-8
/
+26
2022-06-27
core: Replace all instances of ResultCode with Result
german77
1
-30
/
+30
2022-06-14
common: Change semantics of UNREACHABLE to unconditionally crash
Liam
1
-4
/
+4
2022-05-27
service: hid: Implement ResetIsSixAxisSensorDeviceNewlyAssigned
german77
1
-2
/
+75
2022-05-27
service: hid: Implement LoadSixAxisSensorCalibrationParameter and GetSixAxisSensorIcInformation
german77
1
-1
/
+31
2022-05-27
service: hid: Implement EnableSixAxisSensorUnalteredPassthrough and IsSixAxisSensorUnalteredPassthroughEnabled
german77
1
-0
/
+26
2022-05-27
service: hid: Add error handling to sixaxis functions
german77
1
-30
/
+52
2022-05-27
service: hid: Refractor sixaxis functions
german77
1
-176
/
+74
2022-05-27
service: hid: Implement MergeSingleJoyAsDualJoy according to RE
german77
1
-61
/
+50
2022-05-27
service: hid: Add error handling to setNpadAssignment and variants
german77
1
-10
/
+12
2022-05-27
service: hid: Quick RE fixes and comments
german77
1
-20
/
+30
2022-05-06
service: hid: Fix motion refresh rate
Narr the Reg
1
-0
/
+5
2022-05-06
service: hid: Disable correctly motion input
german77
1
-50
/
+41
2022-04-23
service: hid: Access shared memory directly
Narr the Reg
1
-148
/
+142
2022-04-23
general: Convert source file copyright comments over to SPDX
Morph
1
-3
/
+2
2022-04-18
service: hid: Improve accuracy of sixaxis functions
Narr the Reg
1
-43
/
+230
2022-04-07
core/hle: Replace lock_guard with scoped_lock
Merry
1
-1
/
+1
2022-03-31
service: hid: Remove inaccurate behavior on initialization
german77
1
-13
/
+19
2021-12-16
core/hid: Cancel any vibration after the test
Narr the Reg
1
-3
/
+4
2021-12-05
service/hid: Implement SetNpadJoyAssignmentMode
german77
1
-23
/
+142
2021-12-05
core/hid: Ensure only valid npad are connected
german77
1
-17
/
+13
2021-11-30
npad: Return NpadButton in GetAndResetPressState
Morph
1
-3
/
+3
2021-11-29
general: Fix handheld typo
Morph
1
-1
/
+1
2021-11-28
settings: Add debug setting to enable all controllers
german77
1
-0
/
+4
2021-11-25
service/hid: Finish converting LIFO objects and address some nits
Narr the Reg
1
-0
/
+2
2021-11-25
kraken: Address comments from review
german77
1
-1
/
+1
2021-11-25
core/hid: Remove usage of native types, fix a couple of errors with motion
german77
1
-200
/
+298
2021-11-25
service/hid: Remove includes of core.h and settings.h
german77
1
-8
/
+7
2021-11-25
service/hid: Add support for new controllers
german77
1
-1
/
+30
2021-11-25
core/hid: Rename NpadType to NpadStyleIndex
german77
1
-63
/
+66
2021-11-25
second commit lion review
german77
1
-0
/
+2
2021-11-25
core/hid: Update structs to 13.1.0
german77
1
-7
/
+8
2021-11-25
core/hid: Rework battery mappings
german77
1
-2
/
+9
2021-11-25
Morph review first wave
german77
1
-3
/
+1
2021-11-25
service/hid: Match shared memory closer to HW
german77
1
-18
/
+40
2021-11-25
kraken: Address comments from review
german77
1
-5
/
+5
2021-11-25
core/hid: Only signal when needed
german77
1
-2
/
+4
2021-11-25
hid: Fix controller connection/disconnection
german77
1
-25
/
+52
2021-11-25
core/hid: Add output devices
german77
1
-23
/
+4
2021-11-25
service/hid: Rewrite npad to use ring lifo and the emulated controller
german77
1
-627
/
+473
2021-11-04
core: Remove unused includes
ameerj
1
-1
/
+0
2021-07-21
hle: service: hid: npad: Remove unused kernel reference.
bunnei
1
-1
/
+0
2021-07-21
hle: service: Add a helper module for managing kernel objects.
bunnei
1
-5
/
+7
2021-07-11
npad: Disable vibration check if disabled
german77
1
-0
/
+5
2021-06-22
npad: Fix data race when updating devices
Rodrigo Locatti
1
-0
/
+4
2021-05-06
hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.
bunnei
1
-5
/
+4
2021-05-06
hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps.
bunnei
1
-2
/
+6
2021-05-06
hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
bunnei
1
-0
/
+1
2021-05-06
hle: kernel: Migrate KEvent to KAutoObject.
bunnei
1
-3
/
+2
2021-05-06
hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.
bunnei
1
-2
/
+1
2021-05-04
service: Resolve cases of member field shadowing
Lioncash
1
-1
/
+1
2021-04-24
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
german77
1
-2
/
+2
2021-04-19
npad: Remove duplicated class member variable
Lioncash
1
-1
/
+1
2021-04-15
common: Move settings to common from core.
bunnei
1
-1
/
+1
2021-04-08
service: hid: Stub SetAnalogStickUseCenterClamp
Morph
1
-0
/
+4
2021-04-02
HID: Fix SL and SR buttons for right joycon
german77
1
-2
/
+6
2021-02-08
hid: Implement GC controller
german
1
-0
/
+63
2021-02-05
hle: kernel: Reimplement KReadableEvent and KWritableEvent.
bunnei
1
-5
/
+7
2021-02-05
hle: kernel: Rename WritableEvent to KWritableEvent.
bunnei
1
-2
/
+2
2021-02-05
hle: kernel: Rename ReadableEvent to KReadableEvent.
bunnei
1
-2
/
+3
2021-02-04
Add footer types and address comments
german
1
-33
/
+46
2021-02-04
Fix npad struct to match switchbrew
german
1
-65
/
+64
2021-02-04
Adds missing controller types and properties
german
1
-0
/
+12
2021-01-27
npad: Remove unused device handle parameter
Morph
1
-4
/
+3
2021-01-24
Stub Set/Get/Reset SixaxisSensorFusionParameters
german
1
-0
/
+18
2021-01-18
npad: Add check for HANDHELD_INDEX in UpdateControllerAt()
Morph
1
-1
/
+1
2021-01-15
core: Silence Wclass-memaccess warnings
ReinUsesLisp
1
-2
/
+4
2020-12-18
controllers/npad: Make press_state atomic
Morph
1
-1
/
+1
2020-12-12
controllers/npad: Validate device handles before use
Morph
1
-0
/
+41
2020-11-27
Stub set and get NpadCommunicationMode
german
1
-0
/
+8
2020-11-16
hid: Reimplement Begin/EndPermitVibrationSession
Morph
1
-2
/
+6
2020-11-16
controllers/npad: Load input devices on init
Morph
1
-0
/
+2
2020-11-16
general: Fix compiler warnings on linux and miscellaneous changes
Morph
1
-7
/
+10
2020-11-16
controllers/npad: Remove the old vibration filter
Morph
1
-49
/
+59
2020-11-16
hid: Implement InitializeVibrationDevice and IsVibrationDeviceMounted
Morph
1
-1
/
+41
2020-11-16
input_common: Add VibrationDevice and VibrationDeviceFactory
Morph
1
-30
/
+18
2020-11-16
configure_input: Add per-player vibration
Morph
1
-2
/
+11
2020-11-16
settings: Remove global vibration strength modifier
Morph
1
-3
/
+1
2020-11-16
hid: Mark Begin/EndPermitVibrationSession as stubs
Morph
1
-9
/
+1
2020-11-16
controllers/npad: Send an empty vibration on destruction/deactivation
Morph
1
-14
/
+28
2020-11-16
controllers/npad: Add heuristics to reduce rumble state changes
Morph
1
-5
/
+46
2020-11-16
configure_input: Hook up the vibration percentage spinbox
Morph
1
-1
/
+2
2020-11-16
controllers/npad: Stop games from vibrating incorrect controllers
Morph
1
-0
/
+10
2020-11-16
hid: Fix controller rumble based on new research
Morph
1
-18
/
+27
2020-11-16
hid: Reorder all HID commands
Morph
1
-17
/
+17
2020-11-16
controllers/npad: Rename NPadType to NpadStyleSet
Morph
1
-2
/
+2
2020-11-16
settings: Preparation for per-game input settings
Morph
1
-18
/
+24
2020-11-16
controllers/npad: Connect a controller on init if none are connected
Morph
1
-0
/
+13
2020-10-21
Revert "core: Fix clang build"
bunnei
1
-42
/
+27
2020-10-18
core: Fix clang build
Lioncash
1
-27
/
+42
2020-10-13
core/CMakeLists: Make some warnings errors
Lioncash
1
-25
/
+0
2020-10-02
Only use inputs corresponding to controller type
german
1
-49
/
+58
2020-09-30
hid: Stub HomeButtonInputProtection service commands
Morph
1
-0
/
+9
2020-09-29
First implementation of controller rumble
german
1
-7
/
+18
2020-09-24
Use different timing for motion
german
1
-73
/
+129
2020-09-18
hid: Implement Get/SetNpadHandheldActivationMode
Morph
1
-0
/
+8
2020-09-05
configure_input: Hook up the motion button and checkbox
Morph
1
-1
/
+1
2020-09-05
Add cemu hook changes related to PR #4609
german
1
-2
/
+1
2020-09-05
Remove RealMotionDevice
german
1
-2
/
+3
2020-09-05
controllers/npad: Simplify motion entry assignment
Morph
1
-29
/
+18
2020-09-05
Include HID and configuration changes related to motion
german
1
-0
/
+117
2020-09-04
hid: Implement MergeSingleJoyasDualJoy
Morph
1
-0
/
+16
2020-09-04
applets/controller: Implement fallback applet for the SDL frontend
Morph
1
-88
/
+0
2020-09-04
Project Mjölnir: Part 2 - Controller Applet
Morph
1
-10
/
+18
2020-08-26
controllers/npad: Fix inconsistencies with controller connection statuses
Morph
1
-1
/
+7
2020-08-26
controllers/npad: Fix LibNX controller connection statuses
Morph
1
-1
/
+9
2020-08-26
controllers/npad: Fix LedPattern for P1-4
Morph
1
-3
/
+3
2020-08-26
Project Mjölnir: Part 1
Morph
1
-114
/
+99
2020-08-14
core: Resolve several -Wextra-semi warnings
Lioncash
1
-2
/
+2
2020-06-27
General: Recover Prometheus project from harddrive failure
Fernando Sahmkow
1
-1
/
+1
2020-06-21
hid: Implement Get/ResetGyroscopeZeroDriftMode
Morph
1
-0
/
+8
2020-06-21
Clang Formatting
Ameer
1
-26
/
+16
2020-06-21
GC Adapter Implementation
Ameer
1
-16
/
+26
2020-04-20
npad: Lower log level for VibrateController to Debug
FearlessTobi
1
-1
/
+1
2020-04-18
service: hid: npad: Fix implicit fallthrough errors.
bunnei
1
-0
/
+2
2020-02-18
analog_from_button get direction implementation
CJBok
1
-5
/
+5
2020-01-15
Moved analog direction logic to sdl_impl
CJBok
1
-9
/
+22
2020-01-14
Corrected directional states sensitivity
CJBok
1
-9
/
+9
2020-01-09
hid: Fix analog sticks directional states
CJBok
1
-12
/
+12
2019-11-25
kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)
bunnei
1
-2
/
+1
2019-11-03
kernel: events: Remove ResetType::Automatic.
bunnei
1
-1
/
+1
2019-10-18
hid/npad: Fix incorrect connection boolean value in ConnectAllDisconnectedControllers()
Lioncash
1
-1
/
+1
2019-10-18
hid/npad: Add missing break in default case
Lioncash
1
-0
/
+1
2019-10-18
hid/npad: Replace std::for_each with ranged for loops
Lioncash
1
-13
/
+12
2019-10-18
hid/npad: Remove redundant non-const variant of IsControllerSupported()
Lioncash
1
-33
/
+5
2019-10-05
service/hid: Silence -Wunused and -Wswitch
ReinUsesLisp
1
-2
/
+6
2019-09-24
Signal styleset changes at a better time
David Marcec
1
-8
/
+2
2019-09-22
removed comment
David Marcec
1
-1
/
+0
2019-09-22
Rebased
David Marcec
1
-8
/
+15
2019-09-22
Rebase
David Marcec
1
-2
/
+2
2019-09-22
Deglobalize System: Hid
David Marcec
1
-2
/
+2
2019-09-04
IsVibrationEnabled() as a const member func
Morph1984
1
-1
/
+1
2019-09-04
Update npad.cpp
Morph1984
1
-0
/
+6
2019-07-08
addressed issues
David Marcec
1
-6
/
+7
2019-07-01
hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment
David Marcec
1
-0
/
+30
2019-05-18
core/kernel/object: Rename ResetType enum members
Lioncash
1
-1
/
+1
2019-02-16
core_timing: Convert core timing into a class
Lioncash
1
-2
/
+3
2019-02-12
core_timing: Rename CoreTiming namespace to Core::Timing
Lioncash
1
-1
/
+1
2018-12-29
web_browser: Add bounds checking to applet interface
Zach Hilman
1
-4
/
+2
2018-12-28
hid: Make Hid service accessible and add GetPressState
Zach Hilman
1
-0
/
+8
2018-12-26
npad: Remove code to invert input in horizontal mode.
bunnei
1
-46
/
+0
2018-12-02
Fixed crash with SetNpadMode
David Marcec
1
-2
/
+3
2018-11-29
kernel/event: Reference ReadableEvent from WritableEvent
Zach Hilman
1
-7
/
+5
2018-11-29
core: Port all current usages of Event to Readable/WritableEvent
Zach Hilman
1
-5
/
+9
2018-11-28
npad: Use NPadIdToIndex to prevent invalid array access
Zach Hilman
1
-2
/
+2
2018-11-26
Changed logging to be "Log before execution", Added more error logging, all services should now log on some level
David Marcec
1
-1
/
+2
2018-11-19
hid: Use player-defined controller type as PREFERRED_CONTROLLER
Zach Hilman
1
-163
/
+50
2018-11-19
hid/npad: Update NPad to use player controller bindings and type
Zach Hilman
1
-53
/
+101
2018-11-19
Added controller helper funcs
David Marcec
1
-0
/
+31
2018-11-19
Left joycon rotation button remapping
David Marcec
1
-5
/
+16
2018-11-19
Added automatic npad switch based on supported stylesets
David Marcec
1
-3
/
+121
2018-11-19
Added multi-input support and controller assignment at any port
David Marcec
1
-119
/
+168
2018-11-16
Fixed priority switching edge case for handheld (#1675)
David
1
-12
/
+46
2018-11-14
hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate()
Lioncash
1
-0
/
+1
2018-11-07
Updated npad styles on holdtype switches
David Marcec
1
-0
/
+2
2018-11-02
Fixed HID crash when launching more than 1 game & signaled syleset change event
David Marcec
1
-0
/
+3
2018-10-24
npad: Remove unused controller variable from OnInit()
Lioncash
1
-2
/
+3
2018-10-20
Added auto controller switching to supported controllers and single joycon button rotation
David Marcec
1
-4
/
+187
2018-10-18
hid/controller: Remove unused header inclusions
Lioncash
1
-1
/
+0
2018-10-18
hid/controller/npad: Remove #pragma once from the cpp file
Lioncash
1
-2
/
+0
2018-10-18
hid/controller/npad: Move npad_id_list into the cpp file
Lioncash
1
-1
/
+10
2018-10-18
hid/controller/npad: Remove unnecessary const from void return type
Lioncash
1
-1
/
+1
2018-10-18
hid/controller: Default the destructors of all controller types in the cpp file
Lioncash
1
-0
/
+1
2018-10-17
Using dual joycons as the default controller
David Marcec
1
-68
/
+47
2018-10-12
Wip
David Marcec
1
-2
/
+18
2018-10-11
Dynamically decide handheld variant based on supported npad id priority
David Marcec
1
-16
/
+55
2018-10-10
Added BeginPermitVibrationSession and EndPermitVibrationSession
David Marcec
1
-0
/
+6
2018-10-10
Added GetLedPattern and HandheldVariant
David Marcec
1
-2
/
+34
2018-10-10
Kirby expects handheld controllers to be at position 8
David Marcec
1
-2
/
+8
2018-10-10
Added the ability to "disconnect" individual npads
David Marcec
1
-12
/
+24
2018-10-10
Addressed changes for better hid
David Marcec
1
-49
/
+52
2018-10-10
"Better Hid" rework part 1
David Marcec
1
-0
/
+336