Skip to content

Commit

Permalink
Merge pull request #181 from kloptops/main
Browse files Browse the repository at this point in the history
Fixed Knulli/Batocera mapper.txt issue for now, added fixed gptokeyb2 builds.
  • Loading branch information
kloptops authored Nov 6, 2024
2 parents c5aa884 + de90558 commit 8148440
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions PortMaster/batocera/control.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ get_controls() {
echo "" > /tmp/gamecontrollerdb.txt
fi

if [ -f "${HOME}/configs/emulationstation/es_input.cfg" ]; then
$controlfolder/mapper.txt /tmp/gamecontrollerdb.txt > /dev/null 2>&1
if [ -f "$controlfolder/cwtbe_flag" ]; then
if [ -f "${HOME}/configs/emulationstation/es_input.cfg" ]; then
$controlfolder/mapper.txt /tmp/gamecontrollerdb.txt > /dev/null 2>&1
fi
fi

sdl_controllerconfig="$(< "${SDL_GAMECONTROLLERCONFIG_FILE}")"
Expand Down
Binary file modified PortMaster/gptokeyb2
Binary file not shown.
Binary file modified PortMaster/gptokeyb2.armhf
Binary file not shown.
Binary file modified PortMaster/gptokeyb2.x86_64
Binary file not shown.
8 changes: 6 additions & 2 deletions PortMaster/knulli/control.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ get_controls() {
ANALOGSTICKS="2"
LOWRES="N"

DEVICE="Deeplay-keys"

export SDL_GAMECONTROLLERCONFIG_FILE="/tmp/gamecontrollerdb.txt"

# Spit the controller of the device our heuristics found (if it did).
Expand All @@ -31,8 +33,10 @@ get_controls() {
echo "" > /tmp/gamecontrollerdb.txt
fi

if [ -f "${HOME}/configs/emulationstation/es_input.cfg" ]; then
$controlfolder/mapper.txt /tmp/gamecontrollerdb.txt > /dev/null 2>&1
if [ -f "$controlfolder/cwtbe_flag" ]; then
if [ -f "${HOME}/configs/emulationstation/es_input.cfg" ]; then
$controlfolder/mapper.txt /tmp/gamecontrollerdb.txt > /dev/null 2>&1
fi
fi

sdl_controllerconfig="$(< "${SDL_GAMECONTROLLERCONFIG_FILE}")"
Expand Down
Binary file modified PortMaster/libinterpose.aarch64.so
Binary file not shown.

0 comments on commit 8148440

Please sign in to comment.