[Feature Request] Dual JoyCon support w/ independent gyro motion control on each ; required for Ring Fit Adventure, Fitness Boxing series, and many other titles #361
Open
opened 2024-12-08 05:20:12 +00:00 by RanceJustice
·
3 comments
No Branch/Tag Specified
No results found.
Canary-1.2.447
Canary-1.2.446
1.2.86
Canary-1.2.445
Canary-1.2.444
Canary-1.2.443
Canary-1.2.442
Canary-1.2.441
Canary-1.2.440
Canary-1.2.439
Canary-1.2.438
Canary-1.2.437
Canary-1.2.436
Canary-1.2.435
Canary-1.2.434
Canary-1.2.433
Canary-1.2.432
Canary-1.2.431
Canary-1.2.430
Canary-1.2.429
Canary-1.2.428
Canary-1.2.427
Canary-1.2.426
Canary-1.2.425
Canary-1.2.424
Canary-1.2.423
Canary-1.2.422
Canary-1.2.421
Canary-1.2.420
Canary-1.2.419
Canary-1.2.418
Canary-1.2.417
Canary-1.2.416
Canary-1.2.415
Canary-1.2.414
Canary-1.2.413
Canary-1.2.412
Canary-1.2.411
Canary-1.2.410
Canary-1.2.409
Canary-1.2.408
Canary-1.2.407
Canary-1.2.406
Canary-1.2.405
Canary-1.2.404
Canary-1.2.403
Canary-1.2.402
Canary-1.2.401
Canary-1.2.400
Canary-1.2.399
Canary-1.2.398
Canary-1.2.397
Canary-1.2.396
1.2.82
Canary-1.2.395
Canary-1.2.394
Canary-1.2.393
Canary-1.2.392
Canary-1.2.391
Canary-1.2.390
Canary-1.2.389
Canary-1.2.388
Canary-1.2.387
Canary-1.2.386
Canary-1.2.385
Canary-1.2.384
Canary-1.2.383
Canary-1.2.382
Canary-1.2.381
Canary-1.2.380
Canary-1.2.379
Canary-1.2.378
Canary-1.2.377
Canary-1.2.376
Canary-1.2.375
Canary-1.2.374
Canary-1.2.373
Canary-1.2.372
Canary-1.2.371
Canary-1.2.370
Canary-1.2.369
Canary-1.2.368
Canary-1.2.367
Canary-1.2.366
Canary-1.2.365
Canary-1.2.364
Canary-1.2.363
Canary-1.2.362
Canary-1.2.361
Canary-1.2.360
Canary-1.2.359
Canary-1.2.358
Canary-1.2.357
Canary-1.2.356
Canary-1.2.355
Canary-1.2.354
Canary-1.2.353
Canary-1.2.352
Canary-1.2.351
Canary-1.2.350
Canary-1.2.349
Canary-1.2.348
Canary-1.2.347
Canary-1.2.346
Canary-1.2.345
Canary-1.2.344
Canary-1.2.343
Canary-1.2.342
Canary-1.2.341
Canary-1.2.340
Canary-1.2.339
Canary-1.2.338
Canary-1.2.337
Canary-1.2.336
Canary-1.2.335
Canary-1.2.334
Canary-1.2.333
Canary-1.2.332
Canary-1.2.331
Canary-1.2.330
Canary-1.2.329
Canary-1.2.328
Canary-1.2.327
Canary-1.2.326
Canary-1.2.325
Canary-1.2.324
Canary-1.2.323
Canary-1.2.322
Canary-1.2.321
Canary-1.2.320
Canary-1.2.319
Canary-1.2.318
Canary-1.2.317
Canary-1.2.316
Canary-1.2.315
Canary-1.2.314
Canary-1.2.313
Canary-1.2.312
Canary-1.2.311
Canary-1.2.310
Canary-1.2.309
Canary-1.2.308
Canary-1.2.307
Canary-1.2.306
Canary-1.2.305
Canary-1.2.304
Canary-1.2.303
Canary-1.2.302
Canary-1.2.301
Canary-1.2.300
Canary-1.2.299
Canary-1.2.297
Canary-1.2.296
Canary-1.2.295
Canary-1.2.294
Canary-1.2.293
Canary-1.2.292
Canary-1.2.291
Canary-1.2.290
Canary-1.2.289
Canary-1.2.288
Canary-1.2.287
Canary-1.2.286
Canary-1.2.285
1.2.81
Canary-1.2.284
Canary-1.2.283
Canary-1.2.282
Canary-1.2.281
Canary-1.2.280
Canary-1.2.279
Canary-1.2.278
Canary-1.2.277
Canary-1.2.276
Canary-1.2.275
Canary-1.2.274
Canary-1.2.273
Canary-1.2.272
Canary-1.2.271
Canary-1.2.270
Canary-1.2.269
Canary-1.2.268
1.2.80
Canary-1.2.267
Canary-1.2.266
Canary-1.2.265
Canary-1.2.264
Canary-1.2.263
Canary-1.2.262
Canary-1.2.261
Canary-1.2.260
Canary-1.2.259
Canary-1.2.258
Canary-1.2.257
Canary-1.2.256
Canary-1.2.255
Canary-1.2.254
Canary-1.2.253
Canary-1.2.252
Canary-1.2.251
Canary-1.2.250
Canary-1.2.249
Canary-1.2.248
Canary-1.2.247
Canary-1.2.246
Canary-1.2.245
Canary-1.2.244
Canary-1.2.243
Canary-1.2.242
Canary-1.2.241
Canary-1.2.240
Canary-1.2.239
Canary-1.2.238
Canary-1.2.237
Canary-1.2.236
Canary-1.2.235
Canary-1.2.234
Canary-1.2.233
Canary-1.2.232
Canary-1.2.231
Canary-1.2.230
Canary-1.2.229
Canary-1.2.228
Canary-1.2.227
Canary-1.2.226
Canary-1.2.225
Canary-1.2.224
Canary-1.2.223
Canary-1.2.222
Canary-1.2.221
Canary-1.2.220
Canary-1.2.219
Canary-1.2.218
Canary-1.2.217
Canary-1.2.216
Canary-1.2.215
Canary-1.2.214
Canary-1.2.213
Canary-1.2.212
Canary-1.2.211
Canary-1.2.210
Canary-1.2.209
Canary-1.2.208
Canary-1.2.207
Canary-1.2.206
Canary-1.2.205
Canary-1.2.204
Canary-1.2.203
Canary-1.2.202
Canary-1.2.201
Canary-1.2.200
Canary-1.2.199
Canary-1.2.198
Canary-1.2.197
Canary-1.2.196
Canary-1.2.195
Canary-1.2.194
Canary-1.2.193
Canary-1.2.192
Canary-1.2.191
Canary-1.2.190
Canary-1.2.189
Canary-1.2.188
Canary-1.2.187
Canary-1.2.186
Canary-1.2.185
Canary-1.2.184
Canary-1.2.183
Canary-1.2.182
Canary-1.2.180
Canary-1.2.179
Canary-1.2.178
Canary-1.2.177
Canary-1.2.176
Canary-1.2.175
Canary-1.2.174
Canary-1.2.173
Canary-1.2.172
Canary-1.2.171
Canary-1.2.170
Canary-1.2.169
Canary-1.2.168
Canary-1.2.167
Canary-1.2.166
Canary-1.2.165
Canary-1.2.164
Canary-1.2.163
Canary-1.2.162
Canary-1.2.161
Canary-1.2.160
Canary-1.2.159
Canary-1.2.158
Canary-1.2.157
Canary-1.2.156
Canary-1.2.155
Canary-1.2.146
Canary-1.2.145
Canary-1.2.144
Canary-1.2.143
Canary-1.2.142
Canary-1.2.141
Canary-1.2.140
Canary-1.2.139
Canary-1.2.138
Canary-1.2.137
Canary-1.2.136
Canary-1.2.135
Canary-1.2.134
Canary-1.2.133
Canary-1.2.132
Canary-1.2.131
Canary-1.2.130
Canary-1.2.129
Canary-1.2.128
Canary-1.2.127
Canary-1.2.126
Canary-1.2.125
Canary-1.2.124
Canary-1.2.123
Canary-1.2.122
Canary-1.2.121
Canary-1.2.120
Canary-1.2.119
Canary-1.2.118
Canary-1.2.117
Canary-1.2.116
Canary-1.2.115
Canary-1.2.114
Canary-1.2.113
Canary-1.2.112
Canary-1.2.111
Canary-1.2.110
Canary-1.2.109
Canary-1.2.108
Canary-1.2.107
Canary-1.2.106
Canary-1.2.105
Canary-1.2.104
Canary-1.2.103
Canary-1.2.102
Canary-1.2.101
Canary-1.2.100
Canary-1.2.99
Canary-1.2.98
Canary-1.2.97
1.2.79
1.2.78
Canary-1.2.96
Canary-1.2.95
Canary-1.2.94
Canary-1.2.93
Canary-1.2.92
Canary-1.2.91
Canary-1.2.90
Canary-1.2.89
Canary-1.2.88
Canary-1.2.87
Canary-1.2.86
Canary-1.2.85
Canary-1.2.84
Canary-1.2.83
Canary-1.2.82
Canary-1.2.81
Canary-1.2.80
Canary-1.2.79
Canary-1.2.78
Canary-1.2.77
Canary-1.2.76
Canary-1.2.75
Canary-1.2.74
Canary-1.2.73
Canary-1.2.72
Canary-1.2.71
Canary-1.2.70
Canary-1.2.69
Canary-1.2.68
Canary-1.2.67
Canary-1.2.66
Canary-1.2.65
Canary-1.2.64
Canary-1.2.63
Canary-1.2.62
Canary-1.2.61
Canary-1.2.59
Canary-1.2.58
Canary-1.2.57
Canary-1.2.56
Canary-1.2.55
Canary-1.2.54
Canary-1.2.53
Canary-1.2.52
Canary-1.2.51
Canary-1.2.50
Canary-1.2.49
Canary-1.2.48
Canary-1.2.47
1.2.76
Canary-1.2.46
1.2.75
1.2.74
1.2.73
Canary-1.2.45
Canary-1.2.44
Canary-1.2.43
Canary-1.2.42
Canary-1.2.41
Canary-1.2.40
Canary-1.2.38
Canary-1.2.37
Canary-1.2.36
Canary-1.2.35
Canary-1.2.34
Canary-1.2.33
Canary-1.2.32
Canary-1.2.31
Canary-1.2.30
Canary-1.2.29
Canary-1.2.28
Canary-1.2.27
Canary-1.2.26
Canary-1.2.25
Canary-1.2.24
Canary-1.2.23
Canary-1.2.22
Canary-1.2.21
Canary-1.2.20
Canary-1.2.19
Canary-1.2.18
Canary-1.2.17
Canary-1.2.16
Canary-1.2.15
Canary-1.2.14
Canary-1.2.13
Canary-1.2.12
Canary-1.2.11
Canary-1.2.10
Canary-1.2.9
Canary-1.2.8
Canary-1.2.7
Canary-1.2.5
Canary-1.2.4
Canary-1.2.3
Canary-1.2.2
1.2.72
1.2.71
1.2.70
1.2.69
1.2.68
1.2.67
1.2.65
1.2.64
1.2.59
1.2.57
1.2.56
1.2.50
1.2.49
1.2.45
1.2.44
1.2.43
1.2.42
1.2.41
1.2.40
1.2.39
1.2.38
1.2.37
1.2.36
1.2.35
1.2.34
1.2.33
1.2.32
1.2.31
1.2.30
1.2.29
1.2.28
1.2.26
1.2.25
1.2.24
1.2.22
1.2.21
1.2.20
1.2.19
1.2.18
Labels
Clear labels
audio
Affects Audio playback during emulation
blocked on external progress
This cannot move forward without work on an external project or service.
bug
Something isn't working
cpu
An issue with ARMeilleure, the JIT, or Hypervisor
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
good first issue
Good first issues to work on for new contributors
gpu
Affects GPU emulation
graphics-backend:metal
Affects the Metal Graphics backend
graphics-backend:opengl
Affects the OpenGL Graphics backend
graphics-backend:vulkan
Affects the Vulkan Graphics backend
gui
Affects the Avalonia UI or translations.
help wanted
Extra attention is needed
horizon
Affects the Horizon OS HLE components.
infra
Updates to dependencies
invalid
This doesn't seem right
kernel
Affects the kernel HLE components.
ldn
Affects the LDN functionality
linux
Linux only issue
macOS
macOS only issue
not planned but open to a PR
I do not intend on working on this myself, but I would not be opposed to an implementation.
question
Further information is requested
windows
Windows only issue
wontfix
This will not be worked on
No Label
enhancement
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MeloNX/Ryujinx-ryubing#361
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
At the moment Ryujinx does not have native support Dual Joycons controller inputs. One commonly suggest work around is to use a 3rd party driver utility like BetterJoy , DS4Windows, or even Steam's very comprehensive Controller configuration, which have support for joining both Joycon L and Joycon R into a single input. Unfortunately , these solutions lack a very critical feature - the ability for BOTH JoyCons to have detectable Gyro/Motion and Rumble support. Its possible through these workarounds to enable Gyro functionality from only one source, either L or R, but not both, which creates impossibilities playing certain games as intended, if at all. With this in mind, it would be a significant QoL improvement to solve this issue.
I'd like to request that Ryujinx adds native support for Dual Joycon layouts ( AKA a single player using physical Left Joycon and Right Joycon together to form one functional layout), particularly with support for motion control gyro input (and secondarily, rumble) on both concurrently.
Smaller details
I am aware that other FOSS emulation projects, including one for Switch, has implemented one solution to this issue. In the version with which I was familiar, it had excellent results allowing users, so long as they connected both Joycon L and Joycon R to their PC via Bluetooth, to successfully combine and select a Dual Joycon layout from within the emulator settings and then apply control mappings as they wish, including enabling motion and rumble on both. It worked seamlessly as any other sort of controller selection and configuration, including motion calibration and other features
If I am correct, that emulator was using SDL for its input, including motion (ie it did not require cemuhook or any form of separate servers for gyro specified locally or otherwise, but it did maintain this method as an optional backup), but this required a custom driver or module to enable Dual Joycon support given that , I think, SDL only supports a single device by default. I am unsure what manner of alterations were necessary atop this to add independent gyro/motion sensors for both JoyCons, but on the good side given that the project is FOSS perhaps assessing its method will prove helpful .
It is my understanding that Ryujinx, especially this fork, already has comprehensive native support for many other gamepads (Switch Pro, DualSense, DualShock4, Xbox Series X/S etc...as well as JoyCon L and JoyCon R used independently) including motion control and rumble (both native SDL by default and option for Cemuhook UDP servers). Thus, much of the secondary functionality is already there, the primary and likely greatest challenges being A) native support to join both sides of the physical JoyCons into a single unified Dual JoyCon layout and B) properly reading from both gyro/motion sensors concurrently as part of a user's Dual Joycon inputs, while also C) applying appropriate HD Rumble states to both JoyCons as directed.
Nature of request
I believe I covered the nature of the request above, if there is some particulars I missed please let me know
Why would this feature be useful?
Support for Dual JoyCon w/ Gyro/Motion Control on both devices is a critical, required input methodology to play certain Nintendo Switch titles. Games that have a full body movement component, such as exercise focused or involved titles are perhaps the best examples that require this input method. Perhaps most famously, the popular "Ring Fit Adventure" requires Dual JoyCon w/ Motion sensors on both concurrently, as does "Fitness Circuit" and the boxing focused titles "Fitness Boxing 3" and its predecessors 1 and 2 plus variants like "Fitness Boxing: Fist of the North Star" or "Fitness Boxing featuring Hatsune Miku" . In these sorts of titles, for instance the Fitness Boxing series, players hold Dual JoyCons,one in each hand, and follow the instructions to punch, dodge, and the like. Having motion control on just one site, such as JoyCon R will be insufficient as it means every time you punch with your left hand holding JoyCon L, it will not be detected.
I'd hypothesize when it comes to emulation, these sorts of games are the primary reason a user would choose to make use of the Dual Joycon layout at all, as opposed to the more conventional Switch Pro Controller layout. Without Gyro/Motion-capable Dual Joycons, the above titles and many others either cannot be played at all, or certainly not anywhere close to the intended experience. Thus, it provides not only an improvement to QoL, but adds a large component to playabiity and thus is even a more meaningful improvement . Thanks.
Note that this would also be useful because dual joycon cannot use any motion on Mac.
@RanceJustice Could you check out PR #434? It addresses these issues by feeding separate L and R joycon motion data into Ryujinx without the use of 3rd party software.
Thank you, InstantRamenPack! I've started testing it, very promising indeed!