Add Yuzu Rumble Strength Feature
This commit is contained in:
parent
fea1f9f2ee
commit
c265044212
2 changed files with 26 additions and 0 deletions
|
@ -41,6 +41,7 @@ ln -sf /storage/roms/bios/yuzu/keys /storage/.config/yuzu/keys
|
|||
IRES=$(get_setting internal_resolution switch "${GAME}")
|
||||
PFILTER=$(get_setting pixel_filter switch "${GAME}")
|
||||
RUMBLE=$(get_setting rumble switch "${GAME}")
|
||||
RUMBLESTR=$(get_setting rumble_strength switch "${GAME}")
|
||||
SDOCK=$(get_setting switch_mode switch "${GAME}")
|
||||
SUI=$(get_setting start_ui switch "${GAME}")
|
||||
VSYNC=$(get_setting vsync switch "${GAME}")
|
||||
|
@ -195,6 +196,25 @@ ln -sf /storage/roms/bios/yuzu/keys /storage/.config/yuzu/keys
|
|||
sed -i '/^vibration_enabled=/c\vibration_enabled=true' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#RUMBLE STRENGTH
|
||||
sed -i '/^player_0_vibration_strength\\default=/c\player_0_vibration_strength\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$RUMBLESTR" = "100" ]
|
||||
then
|
||||
sed -i '/^player_0_vibration_strength=/c\player_0_vibration_strength=100' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$RUMBLESTR" = "75" ]
|
||||
then
|
||||
sed -i '/^player_0_vibration_strength=/c\player_0_vibration_strength=75' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$RUMBLESTR" = "50" ]
|
||||
then
|
||||
sed -i '/^player_0_vibration_strength=/c\player_0_vibration_strength=50' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
if [ "$RUMBLESTR" = "25" ]
|
||||
then
|
||||
sed -i '/^player_0_vibration_strength=/c\player_0_vibration_strength=25' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#Switch Mode
|
||||
sed -i '/^use_docked_mode\\default=/c\use_docked_mode\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$SDOCK" = "0" ]
|
||||
|
|
|
@ -598,6 +598,12 @@
|
|||
<choice name="off" value="0"/>
|
||||
<choice name="on" value="1"/>
|
||||
</feature>
|
||||
<feature name="rumble strength">
|
||||
<choice name="100%" value="100"/>
|
||||
<choice name="75%" value="75"/>
|
||||
<choice name="50%" value="50"/>
|
||||
<choice name="25%" value="25"/>
|
||||
</feature>
|
||||
<feature name="switch mode">
|
||||
<choice name="handheld" value="0"/>
|
||||
<choice name="docked" value="1"/>
|
||||
|
|
Loading…
Reference in a new issue