Commit graph

91 commits

Author SHA1 Message Date
Narr the Reg
420560f4d3 core: hid: Use gyro thresholds modes set by the game 2023-02-09 19:07:50 -06:00
german77
db99ab5431 input_common: Implement turbo buttons 2023-02-01 12:42:05 -06:00
Narr the Reg
a8579f0b26 Revert 9617 and fix it on input_common 2023-01-25 13:52:50 -06:00
liamwhite
6c7db928fd Merge pull request #9492 from german77/joycon_release
Input_common: Implement custom joycon driver v2
2023-01-24 09:29:37 -05:00
Narr the Reg
9f9cf5732b core: hid: Make use of SCOPE_EXIT and SCOPE_GUARD where applicable 2023-01-20 00:51:46 -06:00
Narr the Reg
000a5852ee core: hid: Only set the polling mode to the correct side 2023-01-19 18:05:23 -06:00
Narr the Reg
91f98f57b3 input_common: Implement joycon ir camera 2023-01-19 18:05:22 -06:00
german77
22eb8ce395 yuzu: Add ring controller test button 2023-01-19 18:05:22 -06:00
german77
5cbeb6f1c4 input_common: Use DriverResult on all engines 2023-01-19 18:05:22 -06:00
Narr the Reg
8dbef30cb7 core: hid: Fix input regressions 2023-01-19 18:05:22 -06:00
german77
b40c5ba2c3 input_common: Implement joycon nfc 2023-01-19 18:05:21 -06:00
Narr the Reg
59e89afde4 core: hid: Enable pulling color data from controllers 2023-01-19 18:05:20 -06:00
Narr the Reg
3672362ce1 core: hid: Migrate ring from emulated devices to emulated controller 2023-01-19 18:05:20 -06:00
german77
c76721182c core: hid: Fix stick minimum range 2023-01-14 11:53:43 -06:00
Narr the Reg
243f2931b5 input_common: Create an update engine 2023-01-05 19:24:29 -06:00
MonsterDruide1
ffc89d8b84 TAS: Immediately switch stick to TAS on input
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2023-01-03 20:08:25 +01:00
MonsterDruide1
f33599d41c TAS: Increase accuracy of Stick inputs 2022-12-25 21:49:09 +01:00
german77
3cc666b845 input_common: Add virtual gamepad 2022-12-16 18:26:11 -06:00
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.
2022-12-05 18:27:18 -05:00
Lioncash
68d9621a8b emulated_controller: Use std::move() in GetMappedDevices()
Avoids churning allocations in a loop.
2022-12-05 18:27:15 -05:00
liamwhite
caa1555bc2 Merge pull request #9273 from ameerj/per-game-profile
Configuration: Add per-game input profiles
2022-12-04 13:38:01 -05:00
Liam
8fbec5d298 externals: update dynarmic, SDL2 2022-12-04 10:12:26 -05:00
Lioncash
a9892677ed core/hid/emulated_controller: Use ranges version of transform
Makes the transform calls much nicer to read.
2022-11-28 10:00:42 -05:00
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.
2022-11-28 10:00:37 -05:00
ameerj
19ca666e9f Configuration: Add per-game input profiles 2022-11-20 14:06:31 -05:00
liamwhite
1910dce4a4 Merge pull request #9113 from german77/peer_pressure
service: nfp: Allow amiibos without keys
2022-10-25 12:13:31 -04:00
liamwhite
f25243fd9d Merge pull request #9107 from german77/gidoly_rules
input_common: cache vibration tests
2022-10-25 12:13:18 -04:00
german77
06555ad6c0 core: hid: Add handheld to nfc devices 2022-10-22 14:05:00 -05:00
Morph
9fba74d245 general: Enforce C4800 everywhere except in video_core 2022-10-22 15:02:04 -04:00
german77
96881efdc3 input_common: cache vibration tests 2022-10-21 00:24:08 -05:00
Narr the Reg
280a232e27 service: nfp: Fix errors to pass unit testing 2022-10-03 18:06:55 -05:00
bunnei
e23adcd481 Merge pull request #8955 from german77/amiibo-rewrite
core: nfp: Rewrite implementation to remove direct access from the frontend
2022-10-02 14:28:43 -07:00
german77
3be3a16c01 core: hid: Add nfc support to emulated controller 2022-10-02 12:32:26 -05:00
Zwip-Zwap Zapony
2eb08dac0f Fix "controller.colors_state.right" being "left" 2022-10-01 18:18:08 +02:00
Narr the Reg
07d2e08272 core: hid: Fix GC triggers overwritting ZL and ZR buttons 2022-09-05 16:09:21 -05:00
bunnei
52dc2cbe57 Merge pull request #8566 from german77/galaxy
core: hid: Add fallback for dualjoycon and pro controllers
2022-08-26 16:23:41 -07:00
bunnei
ada0bbe928 Merge pull request #8722 from german77/ds4_goes_brrr
hid: core: Delay the stop vibration command when testing
2022-08-09 16:22:33 -07:00
Narr the Reg
67f4daf029 hid: core: Properly emulate controller color and battery level 2022-08-08 13:12:02 -05:00
Narr the Reg
7cf52e6eb8 hid: core: Delay the stop vibration command when testing 2022-08-05 17:20:05 -05:00
german77
2cb57c0f7f core: hid: Add cammera support 2022-07-23 19:40:25 -05:00
german77
412221d1a1 core: hid: Add fallback for dualjoycon and pro controllers 2022-07-10 20:27:40 -05:00
Narr the Reg
3cd7b067e0 input_common: Make vibration request async 2022-05-23 12:25:02 -05:00
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.
2022-04-23 05:55:32 -04:00
Narr the Reg
b12a44a5ea core: hid: Fix double lock on softlock and forced updates 2022-04-07 17:08:01 -05:00
Narr the Reg
c5b3ff2238 core: hid: Replace lock_guard with scoped_lock 2022-04-07 13:52:51 -05:00
german77
48ac3b1b60 core: hid: Reduce the amount of dataraces 2022-04-07 13:18:03 -05:00
bunnei
5e81f38950 Merge pull request #7867 from german77/amiibo
nfp: Improve amiibo support
2022-02-19 00:57:47 -07:00
german77
68ed8e2388 nfp: Improve implementation 2022-02-08 10:08:04 -06:00
Morph
e47b5e6a26 general: Rename NewUUID to UUID, and remove the previous UUID impl
This completes the removal of the old UUID implementation.
2022-02-05 13:56:21 -05:00
Morph
51c445f7e8 input/hid: Migrate to the new UUID implementation 2022-02-05 13:18:41 -05:00