mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-12-03 19:33:33 +01:00
Upcoming Qt will feature native support for multiple controllers + remapping for all relevant OSes. This makes the step a bit easier. Rationale: Windows has cleaner code (becoming just like OnePad) and no more DS4/DualSense/Switch Pro/... wrapper such as steam or DS4Windows (ryochan7) though will still work if you want it. Linux will have OnePad legacy remapping. Mac will have feature parity to some extent.
30 lines
1.2 KiB
YAML
30 lines
1.2 KiB
YAML
name: 🏭 Update Controller Database
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 16 * * 1" # every monday @ 12pm EST - https://crontab.guru/#0_16_*_*_1
|
|
|
|
jobs:
|
|
update-controller-db:
|
|
if: github.repository == 'PCSX2/pcsx2'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Get Latest DB and Prepare DB File
|
|
run: |
|
|
cd .github/workflows/scripts/controller-db/
|
|
wget -O game_controller_db.txt https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
|
|
python ./update-db.py
|
|
mv ./game_controller_db.txt ${{github.workspace}}/bin/resources/game_controller_db.txt
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v3
|
|
with:
|
|
title: "pad-windows/unix: Update to latest controller database"
|
|
commit-message: "pad-windows/unix: Update to latest controller database."
|
|
committer: "PCSX2 Bot <PCSX2Bot@users.noreply.github.com>"
|
|
author: "PCSX2 Bot <PCSX2Bot@users.noreply.github.com>"
|
|
body: "Weekly automatic update of SDL Controller DB for Windows / macOS / Linux"
|
|
reviewers: lightningterror
|