mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-13 13:37:00 +00:00
Merge branch 'pkctrl' into 'master'
Input: HLE: NpadManager: ignore handheld inputs when docked See merge request [ryubing/ryujinx!177](https://git.ryujinx.app/ryubing/ryujinx/-/merge_requests/177)
This commit is contained in:
commit
d92a70141a
1 changed files with 4 additions and 0 deletions
|
|
@ -226,6 +226,10 @@ namespace Ryujinx.Input.HLE
|
||||||
|
|
||||||
foreach (InputConfig inputConfig in _inputConfig)
|
foreach (InputConfig inputConfig in _inputConfig)
|
||||||
{
|
{
|
||||||
|
// ignore handheld inputs if docked
|
||||||
|
if (_device.System.State.DockedMode && inputConfig.PlayerIndex == Common.Configuration.Hid.PlayerIndex.Handheld)
|
||||||
|
continue;
|
||||||
|
|
||||||
GamepadInput inputState = default;
|
GamepadInput inputState = default;
|
||||||
(SixAxisInput, SixAxisInput) motionState = default;
|
(SixAxisInput, SixAxisInput) motionState = default;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue