mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-28 14:23:18 +00:00
Revert "Add UI to configure keyboard-to-controller mapping (#308)"
This reverts commit fdb13a3b90
.
This commit is contained in:
parent
c27d79c2e7
commit
dd61c2a0d1
18 changed files with 173 additions and 1436 deletions
|
@ -3,11 +3,6 @@
|
|||
# SPDX-FileCopyrightText: 2023 Citra Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
fix=false
|
||||
if [ "$1" == "--fix" ]; then
|
||||
fix=true
|
||||
fi
|
||||
|
||||
if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop \
|
||||
dist/*.svg dist/*.xml; then
|
||||
echo Trailing whitespace found, aborting
|
||||
|
@ -30,15 +25,11 @@ fi
|
|||
set +x
|
||||
|
||||
for f in $files_to_lint; do
|
||||
if [ "$fix" = true ]; then
|
||||
$CLANG_FORMAT -i "$f"
|
||||
else
|
||||
d=$(diff -u "$f" <($CLANG_FORMAT "$f") || true)
|
||||
if ! [ -z "$d" ]; then
|
||||
echo "!!! $f not compliant to coding style, here is the fix:"
|
||||
echo "$d"
|
||||
fail=1
|
||||
fi
|
||||
d=$(diff -u "$f" <($CLANG_FORMAT "$f") || true)
|
||||
if ! [ -z "$d" ]; then
|
||||
echo "!!! $f not compliant to coding style, here is the fix:"
|
||||
echo "$d"
|
||||
fail=1
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue