mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-22 21:25:48 +00:00
Include SL/SR default bindings for single joycons (ryubing/ryujinx!149)
See merge request ryubing/ryujinx!149
This commit is contained in:
@@ -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,
|
||||||
|
|
||||||
|
|||||||
@@ -174,8 +174,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>
|
||||||
@@ -196,8 +196,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>
|
||||||
|
|||||||
@@ -732,8 +732,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>
|
||||||
{
|
{
|
||||||
@@ -751,8 +751,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>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user