WIP: Added a new window for shortcut configuration #607
@ -82,11 +82,12 @@ namespace Ryujinx.Ava.UI.Windows
|
||||
|
||||
GameName,
|
||||
GameId,
|
||||
GameIconData,
|
||||
SetArguments()
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
GetArguments()
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
);
|
||||
}
|
||||
|
||||
private string SetArguments() {
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
private string GetArguments()
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
{
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
|
||||
string line = "";
|
||||
|
||||
@ -155,12 +156,6 @@ namespace Ryujinx.Ava.UI.Windows
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
|
||||
protected override void OnClosing(WindowClosingEventArgs e)
|
||||
{
|
||||
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
foreach (IGamepad gamepad in RyujinxApp.MainWindow.InputManager.GamepadDriver.GetGamepads())
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
{
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
gamepad?.ClearLed();
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
}
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
||||
base.OnClosing(e);
|
||||
}
|
||||
}
|
||||
|
||||
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() I don't think the LED clearing logic is needed here I don't think the LED clearing logic is needed here
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
![]() Drop the brace into a new line; rename the method to Drop the brace into a new line; rename the method to `GetArguments`; it is returning a value and not setting anything
|
I don't think the LED clearing logic is needed here
I don't think the LED clearing logic is needed here
Drop the brace into a new line; rename the method to
GetArguments
; it is returning a value and not setting anythingDrop the brace into a new line; rename the method to
GetArguments
; it is returning a value and not setting anything