Revert "Add UI to configure keyboard-to-controller mapping (#308)"

This reverts commit fdb13a3b90.
This commit is contained in:
georgemoralis 2024-09-11 12:56:27 +03:00
parent c27d79c2e7
commit dd61c2a0d1
18 changed files with 173 additions and 1436 deletions

View file

@ -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