Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Update BizHawk setup script to disable some annoying default control …
Browse files Browse the repository at this point in the history
…settings
  • Loading branch information
LegendaryLinux committed Feb 28, 2022
1 parent c780e68 commit 9a9826e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions get-bizhawk.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ $config = $config -replace '"Bindings": ".*"', '"Bindings": ""' # Disable all ho
$config = $config -replace '"DefaultBinding": ".*"', '"DefaultBinding": ""' # Disable all default hotkeys
$config = $config -replace '"RunInBackground": false', '"RunInBackground": true' # Run in background
$config = $config -replace '"AcceptBackgroundInput": false', '"AcceptBackgroundInput": true' # Enable background input

# Disable some annoying default control settings
echo "Disabling annoying default control settings..."
$config = $config -replace '"P1 A Up": ".*"', '"P1 A Up": ""'
$config = $config -replace '"P1 A Down": ".*"', '"P1 A Down": ""'
$config = $config -replace '"P1 A Left": ".*"', '"P1 A Left": ""'
$config = $config -replace '"P1 A Right": ".*"', '"P1 A Right": ""'

# Write the updated config file
Out-File -FilePath "$bizHawkDir\config.ini" -InputObject $config

# Download LuaSocket
Expand Down

0 comments on commit 9a9826e

Please sign in to comment.