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
/
core
/
hle
/
service
/
hid
/
controllers
/
npad.cpp
(
unfollow
)
Commit message (
Expand
)
Author
Files
Lines
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