diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-03-02 22:49:17 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-02 22:49:17 -0300 |
| commit | c14c69a10c936f485a4420c93499bd4c3efa8b09 (patch) | |
| tree | c83af4bfc35dc65e229c6185fd54d961fb8bb768 /Ryujinx.Core/Hid/HidControllerId.cs | |
| parent | efef605b260119642fa023c8488fb3ff4501cafd (diff) | |
Refactor HID, fix issues (#48)
* Refactor HID, fix issues
* Fix on touch screen code with wrong offset
* Don't use magic values
* Replace more magic values with actual variables, fix touch screen coordinates on different window sizes
Diffstat (limited to 'Ryujinx.Core/Hid/HidControllerId.cs')
| -rw-r--r-- | Ryujinx.Core/Hid/HidControllerId.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Ryujinx.Core/Hid/HidControllerId.cs b/Ryujinx.Core/Hid/HidControllerId.cs new file mode 100644 index 00000000..84b68d27 --- /dev/null +++ b/Ryujinx.Core/Hid/HidControllerId.cs @@ -0,0 +1,16 @@ +namespace Ryujinx.Core.Input +{ + public enum HidControllerId + { + CONTROLLER_PLAYER_1 = 0, + CONTROLLER_PLAYER_2 = 1, + CONTROLLER_PLAYER_3 = 2, + CONTROLLER_PLAYER_4 = 3, + CONTROLLER_PLAYER_5 = 4, + CONTROLLER_PLAYER_6 = 5, + CONTROLLER_PLAYER_7 = 6, + CONTROLLER_PLAYER_8 = 7, + CONTROLLER_HANDHELD = 8, + CONTROLLER_UNKNOWN = 9 + } +}
\ No newline at end of file |
