mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-12 10:11:06 +01:00
d24ea0d51b
* Added Basic Controller Support * Added Extra Configuration Options Added a GamePad_Enable option and GamePad_Index option * Revert "Added Extra Configuration Options" This reverts commit 6cc56bfe7ed473fedf8dfe79c7a888bbe7cfe147. * Revert "Revert "Added Extra Configuration Options"" This reverts commit 4809e5effe7f54cdb67bc5e2b4f01315ae34efc5. * Forgot to change the Gamepad Index * Added Configuration for the A B X Y Buttons * Added Button Configuration for all other Buttons * Added Basic Joystick Configuration * Fixed Joystick Axis Problems Fixed Joystick Axis Problems when switching around the Joysticks (Left Stick is Right and Right stick is Left) * Refactored all of the button mapping code * Changes in compliance with review * Changes in compliance with review * Fixed problems in the configuration file with different regions * Changes in compliance with review
39 lines
914 B
C#
39 lines
914 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Ryujinx.UI.Input
|
|
{
|
|
public struct JoyConControllerLeft
|
|
{
|
|
public string Stick;
|
|
public string StickButton;
|
|
public string DPadUp;
|
|
public string DPadDown;
|
|
public string DPadLeft;
|
|
public string DPadRight;
|
|
public string ButtonMinus;
|
|
public string ButtonL;
|
|
public string ButtonZL;
|
|
}
|
|
|
|
public struct JoyConControllerRight
|
|
{
|
|
public string Stick;
|
|
public string StickButton;
|
|
public string ButtonA;
|
|
public string ButtonB;
|
|
public string ButtonX;
|
|
public string ButtonY;
|
|
public string ButtonPlus;
|
|
public string ButtonR;
|
|
public string ButtonZR;
|
|
}
|
|
|
|
public struct JoyConController
|
|
{
|
|
public JoyConControllerLeft Left;
|
|
public JoyConControllerRight Right;
|
|
}
|
|
}
|