aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE
diff options
context:
space:
mode:
authorJohn Clemis <dudejoe870@gmail.com>2018-07-02 17:08:54 -0500
committergdkchan <gab.dark.100@gmail.com>2018-07-02 19:08:54 -0300
commitd24ea0d51b988195f5d3cf8c1194cb012067fa9d (patch)
tree2c6fb177e4a35a54fef979f666850073a2ea8cfe /Ryujinx.HLE
parent0c96e22d403eaf8ff5e3524c8b2348229bfe79c4 (diff)
Add Controller Support (#196)
* 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
Diffstat (limited to 'Ryujinx.HLE')
-rw-r--r--Ryujinx.HLE/Hid/JoyCon.cs45
1 files changed, 0 insertions, 45 deletions
diff --git a/Ryujinx.HLE/Hid/JoyCon.cs b/Ryujinx.HLE/Hid/JoyCon.cs
deleted file mode 100644
index e45e1a47..00000000
--- a/Ryujinx.HLE/Hid/JoyCon.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-//TODO: This is only used by Config, it doesn't belong to Core.
-namespace Ryujinx.HLE.Input
-{
- public struct JoyConLeft
- {
- public int StickUp;
- public int StickDown;
- public int StickLeft;
- public int StickRight;
- public int StickButton;
- public int DPadUp;
- public int DPadDown;
- public int DPadLeft;
- public int DPadRight;
- public int ButtonMinus;
- public int ButtonL;
- public int ButtonZL;
- public int ButtonSL;
- public int ButtonSR;
- }
-
- public struct JoyConRight
- {
- public int StickUp;
- public int StickDown;
- public int StickLeft;
- public int StickRight;
- public int StickButton;
- public int ButtonA;
- public int ButtonB;
- public int ButtonX;
- public int ButtonY;
- public int ButtonPlus;
- public int ButtonR;
- public int ButtonZR;
- public int ButtonSL;
- public int ButtonSR;
- }
-
- public struct JoyCon
- {
- public JoyConLeft Left;
- public JoyConRight Right;
- }
-}