Joypad

初期設定

# vi /opt/retropie/configs/all/emulationstation/es_input.cfg

es_input.cfg
<?xml version="1.0"?>
<inputList>
  <inputAction type="onfinish">
    <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
  </inputAction>
  <inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
    <input name="start" type="key" id="122" value="1"/>
    <input name="up" type="key" id="1073741906" value="1"/>
    <input name="a" type="key" id="106" value="1"/>
    <input name="b" type="key" id="107" value="1"/>
    <input name="down" type="key" id="1073741905" value="1"/>
    <input name="right" type="key" id="1073741903" value="1"/>
    <input name="x" type="key" id="117" value="1"/>
    <input name="select" type="key" id="120" value="1"/>
    <input name="y" type="key" id="105" value="1"/>
    <input name="left" type="key" id="1073741904" value="1"/>
  </inputConfig>
  <inputConfig type="joystick" deviceName="USB Gamepad " deviceGUID="03000000790000001100000010010000">
    <input name="pageup" type="button" id="4" value="1"/>
    <input name="start" type="button" id="7" value="1"/>
    <input name="up" type="axis" id="1" value="-1"/>
    <input name="a" type="button" id="3" value="1"/>
    <input name="b" type="button" id="2" value="1"/>
    <input name="down" type="axis" id="1" value="1"/>
    <input name="pagedown" type="button" id="5" value="1"/>
    <input name="right" type="axis" id="0" value="1"/>
    <input name="x" type="button" id="1" value="1"/>
    <input name="select" type="button" id="6" value="1"/>
    <input name="y" type="button" id="0" value="1"/>
    <input name="left" type="axis" id="0" value="-1"/>
  </inputConfig>
  <inputConfig type="joystick" deviceName="HORI CO.,LTD  HORI PAD 3 TURBO" deviceGUID="030000000d0f00000900000011010000">
    <input name="pageup" type="button" id="4" value="1"/>
    <input name="start" type="button" id="9" value="1"/>
    <input name="up" type="hat" id="0" value="1"/>
    <input name="a" type="button" id="2" value="1"/>
    <input name="b" type="button" id="1" value="1"/>
    <input name="down" type="hat" id="0" value="4"/>
    <input name="pagedown" type="button" id="5" value="1"/>
    <input name="right" type="hat" id="0" value="2"/>
    <input name="x" type="button" id="3" value="1"/>
    <input name="select" type="button" id="8" value="1"/>
    <input name="y" type="button" id="0" value="1"/>
    <input name="left" type="hat" id="0" value="8"/>
  </inputConfig>
  <inputConfig type="joystick" deviceName="8Bitdo NES30 Pro" deviceGUID="05000000c82d00002038000000010000">
    <input name="pageup" type="button" id="8" value="1"/>
    <input name="up" type="hat" id="0" value="1"/>
    <input name="a" type="button" id="0" value="1"/>
    <input name="b" type="button" id="1" value="1"/>
    <input name="down" type="hat" id="0" value="4"/>
    <input name="pagedown" type="button" id="9" value="1"/>
    <input name="right" type="hat" id="0" value="2"/>
    <input name="x" type="button" id="3" value="1"/>
    <input name="select" type="button" id="10" value="1"/>
    <input name="y" type="button" id="4" value="1"/>
    <input name="left" type="hat" id="0" value="8"/>
    <input name="start" type="button" id="11" value="1"/>
  </inputConfig>
</inputList>

コントローラB=「J」
コントローラA=「K」
にするならば次の様に設定

es_input.cfg
    <input name="a" type="key" id="13" value="1"/>
    <input name="b" type="key" id="27" value="1"/>
retropie/030-020joypad.txt · 最終更新: 2017/07/22 22:48 by admin
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0