mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-15 19:37:05 +00:00
Include SL/SR default bindings for single joycons
Single L/R Joycons default to unbound for the SL/SR inputs - so by default you can't progress past 'press L + R to continue' type screens. But * ConfigGamepadInputId.SingleLeftTrigger0(L) * ConfigGamepadInputId.SingleRightTrigger0(L) * ConfigGamepadInputId.SingleLeftTrigger1(R) * ConfigGamepadInputId.SingleRightTrigger1(R) already exist (and I verified these are the inputs triggered by the SL/SR buttons), so my change would default to these instead.
This commit is contained in:
parent
0f2b11d4d5
commit
6e5bd0c9f2
3 changed files with 10 additions and 9 deletions
|
|
@ -46,10 +46,11 @@ namespace Ryujinx.Common.Configuration.Hid.Controller
|
||||||
// PS5 touchpad button
|
// PS5 touchpad button
|
||||||
Touchpad,
|
Touchpad,
|
||||||
|
|
||||||
// Virtual buttons for single joycon
|
// Virtual buttons for single joycon (left)
|
||||||
SingleLeftTrigger0,
|
SingleLeftTrigger0,
|
||||||
SingleRightTrigger0,
|
SingleRightTrigger0,
|
||||||
|
|
||||||
|
// Virtual buttons for single joycon (right)
|
||||||
SingleLeftTrigger1,
|
SingleLeftTrigger1,
|
||||||
SingleRightTrigger1,
|
SingleRightTrigger1,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -176,8 +176,8 @@ namespace Ryujinx.Headless
|
||||||
ButtonMinus = ConfigGamepadInputId.Minus,
|
ButtonMinus = ConfigGamepadInputId.Minus,
|
||||||
ButtonL = ConfigGamepadInputId.LeftShoulder,
|
ButtonL = ConfigGamepadInputId.LeftShoulder,
|
||||||
ButtonZl = ConfigGamepadInputId.LeftTrigger,
|
ButtonZl = ConfigGamepadInputId.LeftTrigger,
|
||||||
ButtonSl = ConfigGamepadInputId.Unbound,
|
ButtonSl = ConfigGamepadInputId.SingleLeftTrigger0,
|
||||||
ButtonSr = ConfigGamepadInputId.Unbound,
|
ButtonSr = ConfigGamepadInputId.SingleRightTrigger0,
|
||||||
},
|
},
|
||||||
|
|
||||||
LeftJoyconStick = new JoyconConfigControllerStick<ConfigGamepadInputId, ConfigStickInputId>
|
LeftJoyconStick = new JoyconConfigControllerStick<ConfigGamepadInputId, ConfigStickInputId>
|
||||||
|
|
@ -198,8 +198,8 @@ namespace Ryujinx.Headless
|
||||||
ButtonPlus = ConfigGamepadInputId.Plus,
|
ButtonPlus = ConfigGamepadInputId.Plus,
|
||||||
ButtonR = ConfigGamepadInputId.RightShoulder,
|
ButtonR = ConfigGamepadInputId.RightShoulder,
|
||||||
ButtonZr = ConfigGamepadInputId.RightTrigger,
|
ButtonZr = ConfigGamepadInputId.RightTrigger,
|
||||||
ButtonSl = ConfigGamepadInputId.Unbound,
|
ButtonSl = ConfigGamepadInputId.SingleLeftTrigger1,
|
||||||
ButtonSr = ConfigGamepadInputId.Unbound,
|
ButtonSr = ConfigGamepadInputId.SingleRightTrigger1,
|
||||||
},
|
},
|
||||||
|
|
||||||
RightJoyconStick = new JoyconConfigControllerStick<ConfigGamepadInputId, ConfigStickInputId>
|
RightJoyconStick = new JoyconConfigControllerStick<ConfigGamepadInputId, ConfigStickInputId>
|
||||||
|
|
|
||||||
|
|
@ -634,8 +634,8 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
||||||
ButtonMinus = ConfigGamepadInputId.Minus,
|
ButtonMinus = ConfigGamepadInputId.Minus,
|
||||||
ButtonL = ConfigGamepadInputId.LeftShoulder,
|
ButtonL = ConfigGamepadInputId.LeftShoulder,
|
||||||
ButtonZl = ConfigGamepadInputId.LeftTrigger,
|
ButtonZl = ConfigGamepadInputId.LeftTrigger,
|
||||||
ButtonSl = ConfigGamepadInputId.Unbound,
|
ButtonSl = ConfigGamepadInputId.SingleLeftTrigger0,
|
||||||
ButtonSr = ConfigGamepadInputId.Unbound,
|
ButtonSr = ConfigGamepadInputId.SingleRightTrigger0,
|
||||||
},
|
},
|
||||||
LeftJoyconStick = new JoyconConfigControllerStick<ConfigGamepadInputId, ConfigStickInputId>
|
LeftJoyconStick = new JoyconConfigControllerStick<ConfigGamepadInputId, ConfigStickInputId>
|
||||||
{
|
{
|
||||||
|
|
@ -653,8 +653,8 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
||||||
ButtonPlus = ConfigGamepadInputId.Plus,
|
ButtonPlus = ConfigGamepadInputId.Plus,
|
||||||
ButtonR = ConfigGamepadInputId.RightShoulder,
|
ButtonR = ConfigGamepadInputId.RightShoulder,
|
||||||
ButtonZr = ConfigGamepadInputId.RightTrigger,
|
ButtonZr = ConfigGamepadInputId.RightTrigger,
|
||||||
ButtonSl = ConfigGamepadInputId.Unbound,
|
ButtonSl = ConfigGamepadInputId.SingleLeftTrigger1,
|
||||||
ButtonSr = ConfigGamepadInputId.Unbound,
|
ButtonSr = ConfigGamepadInputId.SingleRightTrigger1,
|
||||||
},
|
},
|
||||||
RightJoyconStick = new JoyconConfigControllerStick<ConfigGamepadInputId, ConfigStickInputId>
|
RightJoyconStick = new JoyconConfigControllerStick<ConfigGamepadInputId, ConfigStickInputId>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue