Skip to content

Commit

Permalink
Merge pull request #1355 from JanTrueno/main
Browse files Browse the repository at this point in the history
Fix small issue on "The founders of [redacted]"
  • Loading branch information
kloptops authored Mar 3, 2025
2 parents e06c543 + 0fdd27c commit 6a87dc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ports/thefoundersofredacted/The founders of [redacted].sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"
value=$(( 4 + (DISPLAY_WIDTH >= 640) + 2 * (DISPLAY_WIDTH >= 1280) + 3 * (DISPLAY_WIDTH >= 1920) ))

echo "Setting dpad_mouse_step and deadzone_scale to $value"
sed -i -E "s/(dpad_mouse_step|deadzone_scale) = [0-9]/\1 = $value/g" "thefoundersofredacted.gptk"
sed -i -E "s/(dpad_mouse_step|deadzone_scale) = [0-9]+/\1 = $value/g" "thefoundersofredacted.gptk"

# Source love2d runtime
source $controlfolder/runtimes/"love_11.5"/love.txt
Expand All @@ -43,4 +43,4 @@ pm_platform_helper "$LOVE_BINARY"
$LOVE_RUN "$GAMEDIR/gamedata/game.love"

# Cleanup any running gptokeyb instances, and any platform specific stuff.
pm_finish
pm_finish

0 comments on commit 6a87dc0

Please sign in to comment.