MonsterDruide1
ffc89d8b84
TAS: Immediately switch stick to TAS on input
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
3 years ago
MonsterDruide1
f33599d41c
TAS: Increase accuracy of Stick inputs
3 years ago
german77
3cc666b845
input_common: Add virtual gamepad
3 years ago
Lioncash
7a349e99ee
emulated_controller: Remove unused parameter in GetMappedDevices()
This isn't used, so it can be removed to make the function a little
nicer.
3 years ago
Lioncash
68d9621a8b
emulated_controller: Use std::move() in GetMappedDevices()
Avoids churning allocations in a loop.
3 years ago
Liam
8fbec5d298
externals: update dynarmic, SDL2
3 years ago
Lioncash
a9892677ed
core/hid/emulated_controller: Use ranges version of transform
Makes the transform calls much nicer to read.
3 years ago
Lioncash
0862aabdc6
common/input: Add helpers functions for creating input and output devices
Avoids the redundancy of needing to explictly specify the common
namespace and the type.
3 years ago
ameerj
19ca666e9f
Configuration: Add per-game input profiles
3 years ago
german77
06555ad6c0
core: hid: Add handheld to nfc devices
3 years ago
Morph
9fba74d245
general: Enforce C4800 everywhere except in video_core
3 years ago
german77
96881efdc3
input_common: cache vibration tests
3 years ago
Narr the Reg
280a232e27
service: nfp: Fix errors to pass unit testing
3 years ago
german77
3be3a16c01
core: hid: Add nfc support to emulated controller
3 years ago
Zwip-Zwap Zapony
2eb08dac0f
Fix "controller.colors_state.right" being "left"
3 years ago
Narr the Reg
07d2e08272
core: hid: Fix GC triggers overwritting ZL and ZR buttons
3 years ago
Narr the Reg
67f4daf029
hid: core: Properly emulate controller color and battery level
3 years ago
Narr the Reg
7cf52e6eb8
hid: core: Delay the stop vibration command when testing
3 years ago
german77
2cb57c0f7f
core: hid: Add cammera support
4 years ago
german77
412221d1a1
core: hid: Add fallback for dualjoycon and pro controllers
4 years ago
Narr the Reg
3cd7b067e0
input_common: Make vibration request async
4 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
Narr the Reg
b12a44a5ea
core: hid: Fix double lock on softlock and forced updates
4 years ago
Narr the Reg
c5b3ff2238
core: hid: Replace lock_guard with scoped_lock
4 years ago
german77
48ac3b1b60
core: hid: Reduce the amount of dataraces
4 years ago
german77
68ed8e2388
nfp: Improve implementation
5 years ago
Morph
e47b5e6a26
general: Rename NewUUID to UUID, and remove the previous UUID impl
This completes the removal of the old UUID implementation.
4 years ago
Morph
51c445f7e8
input/hid: Migrate to the new UUID implementation
4 years ago
german77
1fca7203d3
input_common: Add option to configure gyro threshold
4 years ago
Valeri
8b3ea1258c
hid: fix std::transform call
Found by static analysis with PVS-Studio.
4 years ago
german77
a52791af6b
yuzu: Use pad parameter to choose the correct controller
4 years ago
german77
353317f31e
yuzu: Add controller hotkeys
4 years ago
german77
06d840652f
core/hid: Add home and screenshot button support
4 years ago
german77
0e9f010ed6
core/hid: Add fallback to fullkey controllers
4 years ago
german77
5dab578691
core/hid: Fix controller type validation
4 years ago
Narr the Reg
3554c18269
core/hid: Cancel any vibration after the test
4 years ago
Narr the Reg
3e0a577553
core/hid: Fix faulty analog triggers
4 years ago
Lioncash
726de453bb
common/input: Avoid numerous large copies of CallbackStatus
CallbackStatus instances aren't the cheapest things to copy around
(relative to everything else), given that they're currently 520 bytes in
size and are currently copied numerous times when callbacks are invoked.
Instead, we can pass the status by const reference to avoid all the
copying.
4 years ago
german77
2ba6890141
core/hid: Add missing controller type
4 years ago
german77
5fae083bc3
core/hid: Ensure only valid npad are connected
4 years ago
german77
b7357d95a7
settings: Add debug setting to enable all controllers
4 years ago
german77
8df8dd6c5c
config: Remove vibration configuration
4 years ago
Narr the Reg
d20817d2f1
service/hid: Finish converting LIFO objects and address some nits
4 years ago
german77
99485a06a7
core/hid: Remove usage of native types, fix a couple of errors with motion
4 years ago
german77
0cf8201c5d
settings: Fix controller preview not displaying the correct controller
4 years ago
german77
8517d89be0
core/hid: Rename NpadType to NpadStyleIndex
4 years ago
german77
a4cdafed54
core/hid: Prevent Emulated controller from flapping with multiple inputs devices
4 years ago
german77
93997b234f
core/hid: Fully emulate motion from button
4 years ago
german77
4736326a05
second commit lion review
4 years ago
german77
a8852024b6
settings: Fix Debug controller type options
4 years ago