summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorbriaguya <70942617+briaguya-ai@users.noreply.github.com>2024-02-01 23:55:53 -0500
committerGitHub <noreply@github.com>2024-02-01 22:55:53 -0600
commitaff9f40933c751277a07839f78d53b0780362bff (patch)
tree482767253b5f6ee43c3d14ab026b1554baabfa39 /.github
parentf88343839ebf5f349a8f329801a6dae303b23640 (diff)
gc controllers via sdl on linux (#3869)
* try gc via sdl basing this idea on this comment https://github.com/Ryujinx/Ryujinx/issues/2425#issuecomment-1269658650 * libusb? * fix * use latest lus main * don't bump lus yet
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/apt-deps.txt2
-rw-r--r--.github/workflows/generate-builds.yml16
2 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/apt-deps.txt b/.github/workflows/apt-deps.txt
index 2a12d368c..43286f69e 100644
--- a/.github/workflows/apt-deps.txt
+++ b/.github/workflows/apt-deps.txt
@@ -1 +1 @@
-libsdl2-dev libsdl2-net-dev libpng-dev libglew-dev ninja-build
+libusb-dev libusb-1.0-0-dev libsdl2-dev libsdl2-net-dev libpng-dev libglew-dev ninja-build
diff --git a/.github/workflows/generate-builds.yml b/.github/workflows/generate-builds.yml
index 0a3cc4f0e..99fa2d3bd 100644
--- a/.github/workflows/generate-builds.yml
+++ b/.github/workflows/generate-builds.yml
@@ -25,10 +25,10 @@ jobs:
if: ${{ !vars.LINUX_RUNNER }}
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
- wget https://www.libsdl.org/release/SDL2-2.26.1.tar.gz
- tar -xzf SDL2-2.26.1.tar.gz
- cd SDL2-2.26.1
- ./configure
+ wget https://www.libsdl.org/release/SDL2-2.28.5.tar.gz
+ tar -xzf SDL2-2.28.5.tar.gz
+ cd SDL2-2.28.5
+ ./configure --enable-hidapi-libusb
make -j 10
sudo make install
sudo cp -av /usr/local/lib/libSDL* /lib/x86_64-linux-gnu/
@@ -135,10 +135,10 @@ jobs:
if: ${{ (matrix.os == 'ubuntu-20.04' && !vars.LINUX_COMPATIBILITY_RUNNER) || (matrix.os == 'ubuntu-22.04' && !vars.LINUX_PERFORMANCE_RUNNER) }}
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
- wget https://www.libsdl.org/release/SDL2-2.26.1.tar.gz
- tar -xzf SDL2-2.26.1.tar.gz
- cd SDL2-2.26.1
- ./configure
+ wget https://www.libsdl.org/release/SDL2-2.28.5.tar.gz
+ tar -xzf SDL2-2.28.5.tar.gz
+ cd SDL2-2.28.5
+ ./configure --enable-hidapi-libusb
make -j 10
sudo make install
sudo cp -av /usr/local/lib/libSDL* /lib/x86_64-linux-gnu/