From 98916a4f905955581b841c513299d37faf05f26f Mon Sep 17 00:00:00 2001
From: Mary <me@thog.eu>
Date: Wed, 2 Jun 2021 13:50:48 +0200
Subject: [PATCH] Update SDL2-CS (#2327)

Changelog:
- SDL2 was updated to lastest master
- DInput was disabled from build configuration (Close #2238)
- HIDAPI was forced enabled on Linux and libusb library name was fixed (Close #2226)

NOTE about HIDAPI support on Linux:
Make sure that your gamepad is accesible to your user for it to be detected by HIDAPI. This can be done via a udev rule like:

```
KERNEL=="hidraw*", MODE="0660", TAG+="uaccess"
```

**NOTE: This rule is given as an example, this can present a security
risk. Make sure to filter by vendor and product ids.**
---
 Ryujinx.SDL2.Common/Ryujinx.SDL2.Common.csproj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Ryujinx.SDL2.Common/Ryujinx.SDL2.Common.csproj b/Ryujinx.SDL2.Common/Ryujinx.SDL2.Common.csproj
index a35f874329..61aee2d2c5 100644
--- a/Ryujinx.SDL2.Common/Ryujinx.SDL2.Common.csproj
+++ b/Ryujinx.SDL2.Common/Ryujinx.SDL2.Common.csproj
@@ -5,7 +5,7 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="ppy.SDL2-CS" Version="1.0.225-alpha" />
+    <PackageReference Include="Ryujinx.SDL2-CS" Version="2.0.15-build9" />
   </ItemGroup>
 
   <ItemGroup>