修正PS5000 Batocera按鈕參數

 Batocera for PS5000 key map setting(correct)


變更 emulation key map

input name=""是按鈕名稱, 不是對應鍵盤的值

id 是固定的, 我自己稱作腳位位置

id=3 實體位置 Right   按鈕名稱 A

id=8 實體位置 Down  按鈕名稱  B

id=1 實體位置 Top     按鈕名稱  X

id=6 實體位置 Left  按鈕名稱 Y

機車的是實際按鈕印刷為 Right A, Down B, Left X, Top Y


修改檔案位置

\share\system\configs\emulationstation\es_input.cfg

內容:

<inputConfig type="joystick" deviceName="ps5000-gamepad" deviceGUID="000000007073353030302d67616d6500">

<input name="a" type="button" id="3" value="1" code="30" />

<input name="b" type="button" id="8" value="1" code="48" />

<input name="down" type="button" id="13" value="1" code="108" />

<input name="hotkey" type="button" id="9" value="1" code="54" />

<input name="joystick1left" type="axis" id="0" value="-1" code="0" />

<input name="joystick1up" type="axis" id="1" value="-1" code="1" />

<input name="joystick2left" type="axis" id="2" value="1" code="2" />

<input name="joystick2up" type="axis" id="3" value="1" code="5" />

<input name="l2" type="button" id="5" value="1" code="44" />

<input name="left" type="button" id="11" value="1" code="105" />

<input name="pagedown" type="button" id="0" value="1" code="19" />

<input name="pageup" type="button" id="4" value="1" code="38" />

<input name="r2" type="button" id="7" value="1" code="46" />

<input name="right" type="button" id="12" value="1" code="106" />

<input name="select" type="button" id="9" value="1" code="54" />

<input name="start" type="button" id="2" value="1" code="28" />

<input name="up" type="button" id="10" value="1" code="103" />

<input name="x" type="button" id="1" value="1" code="21" />

<input name="y" type="button" id="6" value="1" code="45" />

</inputConfig>


Batocera全域設定設定參考網頁

https://wiki.batocera.org/advanced_retroarch_settings


global.retroarch.input_player1_a = > 玩家1的A按鈕為鍵盤什麼值

swap_ok_cancel_buttons 交換A確認B取消 ->設為false不交換


RetroArch裡面的對應按鈕順序為

Button A = right button

Button B  = down button

Button Y  = Top button

Button X  =  Down button


修改檔案位置

\share\system\batocera.conf

內容:

global.retroarch.input_player1_a=a

global.retroarch.input_player1_b=b

global.retroarch.input_player1_x=y

global.retroarch.input_player1_y=x

global.retroarch.menu_swap_ok_cancel_buttons=false



emulation選單預設B確認A取消 ->設為true交換選取方式

修改檔案位置

\share\system\configs\emulationstation\es_settings.cfg

內容

<bool name="InvertButtons" value="true" />


#Batocera

#PS5000

留言