mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-24 18:32:19 -05:00
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
This commit is contained in:
parent
f88343839e
commit
aff9f40933
2
.github/workflows/apt-deps.txt
vendored
2
.github/workflows/apt-deps.txt
vendored
@ -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
|
||||||
|
16
.github/workflows/generate-builds.yml
vendored
16
.github/workflows/generate-builds.yml
vendored
@ -25,10 +25,10 @@ jobs:
|
|||||||
if: ${{ !vars.LINUX_RUNNER }}
|
if: ${{ !vars.LINUX_RUNNER }}
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
||||||
wget https://www.libsdl.org/release/SDL2-2.26.1.tar.gz
|
wget https://www.libsdl.org/release/SDL2-2.28.5.tar.gz
|
||||||
tar -xzf SDL2-2.26.1.tar.gz
|
tar -xzf SDL2-2.28.5.tar.gz
|
||||||
cd SDL2-2.26.1
|
cd SDL2-2.28.5
|
||||||
./configure
|
./configure --enable-hidapi-libusb
|
||||||
make -j 10
|
make -j 10
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo cp -av /usr/local/lib/libSDL* /lib/x86_64-linux-gnu/
|
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) }}
|
if: ${{ (matrix.os == 'ubuntu-20.04' && !vars.LINUX_COMPATIBILITY_RUNNER) || (matrix.os == 'ubuntu-22.04' && !vars.LINUX_PERFORMANCE_RUNNER) }}
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
||||||
wget https://www.libsdl.org/release/SDL2-2.26.1.tar.gz
|
wget https://www.libsdl.org/release/SDL2-2.28.5.tar.gz
|
||||||
tar -xzf SDL2-2.26.1.tar.gz
|
tar -xzf SDL2-2.28.5.tar.gz
|
||||||
cd SDL2-2.26.1
|
cd SDL2-2.28.5
|
||||||
./configure
|
./configure --enable-hidapi-libusb
|
||||||
make -j 10
|
make -j 10
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo cp -av /usr/local/lib/libSDL* /lib/x86_64-linux-gnu/
|
sudo cp -av /usr/local/lib/libSDL* /lib/x86_64-linux-gnu/
|
||||||
|
Loading…
Reference in New Issue
Block a user