Update mGBA config script

This commit is contained in:
2019-07-09 06:47:59 -04:00
parent 046d0dfa42
commit b077d1c709
8 changed files with 49 additions and 17 deletions

View File

@@ -290,6 +290,7 @@ bindsym $mod+F5 workspace $ws5; exec $browser
# bindsym Mod4+g workspace $ws5; layout stacking; exec urxvt -e steam
# bindsym Mod4+g workspace $ws5; layout tabbed; exec gimp
bindsym Mod4+g workspace $ws5; exec mgba-qt
bindsym Mod4+i workspace $ws5; exec idea
bindsym Mod4+t workspace $ws5; exec thunderbird
bindsym Mod4+5 workspace $ws5; exec godot
bindsym Mod4+F5 workspace $ws5; exec cd ~/coding/ada-mario && godot -e

View File

@@ -19,7 +19,7 @@ logToStdout=0
useDiscordPresence=0
logLevel=7
sampleRate=44100
mute=0
mute=1
rewindBufferCapacity=300
allowOpposingDirections=0
suspendScreensaver=1
@@ -44,7 +44,7 @@ cheatAutoload=1
loadStateExtdata=9
gb.bios=
videoSync=0
fastForwardMute=0
fastForwardMute=1
pauseOnFocusLost=1
showLibrary=0
useCgbColors=1
@@ -86,8 +86,8 @@ axisLeftValue=-12288
keySelect=6
[gba.input.SDLB]
keyR=5
keyL=4
keyR=-1
keyL=-1
axisUpAxis=-1
hat0Right=4
gyroSensitivity=2e+09
@@ -101,11 +101,11 @@ keyUp=-1
hat0Down=7
axisRightValue=12288
axisRightAxis=+0
axisUpValue=-8297
axisUpValue=-10593
axisDownAxis=+1
gyroAxisX=0
tiltAxisX=2
axisDownValue=16279
axisDownValue=13983
keyA=0
keyRight=-1
device0=Microsoft X-Box 360 pad
@@ -128,8 +128,8 @@ keyRight=16777236
keySelect=65
[gba.input-profile.Microsoft X-Box 360 pad]
keyR=5
keyL=4
keyR=-1
keyL=-1
axisUpAxis=-1
hat0Right=4
gyroSensitivity=2e+09
@@ -143,11 +143,11 @@ keyUp=-1
hat0Down=7
axisRightValue=12288
axisRightAxis=+0
axisUpValue=-8297
axisUpValue=-10593
axisDownAxis=+1
gyroAxisX=0
tiltAxisX=2
axisDownValue=16279
axisDownValue=13983
keyA=0
keyRight=-1
hat0Up=6

View File

@@ -27,14 +27,20 @@ scale%5B2%5D=1
[shortcutAxis]
autofireA=@String(\0-1)
fastForward=@String(\0-1)
holdFastForward=@String(\0-1)
holdFastForward=+2
holdRewind=@String(\0-1)
quickLoad.1=@String(\0-1)
quickSave.1=@String(\0-1)
quickSave.2=@String(\0-1)
[shortcutButton]
autofireA=2
fastForward=3
holdFastForward=-1
holdRewind=-1
quickLoad.1=5
quickSave.1=4
quickSave.2=-1
[shortcutKey]
autofireA=E
@@ -44,8 +50,11 @@ holdFastForward=R
[shortcutProfileAxis.Microsoft%20X-Box%20360%20pad]
autofireA=@String(\0-1)
fastForward=@String(\0-1)
holdFastForward=@String(\0-1)
holdFastForward=+2
holdRewind=@String(\0-1)
quickLoad.1=@String(\0-1)
quickSave.1=@String(\0-1)
quickSave.2=@String(\0-1)
[shortcutProfileAxis.XInput%20Controller%20%231]
autofireA=@String(\0-1)
@@ -58,6 +67,9 @@ autofireA=2
fastForward=3
holdFastForward=-1
holdRewind=-1
quickLoad.1=5
quickSave.1=4
quickSave.2=-1
[shortcutProfileButton.XInput%20Controller%20%231]
autofireA=2

View File

@@ -0,0 +1,7 @@
#!/usr/bin/fish
set mgba_config_dir "/home/kevin/.config/mgba"
set chez_dir "/home/kevin/linux-config/dot_config/mgba"
for ini_file in config qt
cp "$mgba_config_dir/$ini_file.ini" "$chez_dir/$ini_file-tmpl.ini"
end