Advertisement
mamedoc

ddr.cfg

Jun 3rd, 2019 (edited)
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.91 KB | None | 0 0
  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.     Mapa do controle do Playstation 2
  5.  
  6.     triângulo  / Botão 0 / JOYCODE_1_BUTTON1
  7.     círculo        / Botão 1 / JOYCODE_1_BUTTON2
  8.     xis         / Botão 2 / JOYCODE_1_BUTTON3
  9.     quadrado    / Botão 3 / JOYCODE_1_BUTTON4
  10.     L2          / Botão 4 / JOYCODE_1_BUTTON5
  11.     R2          / Botão 5 / JOYCODE_1_BUTTON6
  12.     L1          / Botão 6 / JOYCODE_1_BUTTON7
  13.     R1          / Botão 7 / JOYCODE_1_BUTTON8
  14.     select      / Botão 8 / JOYCODE_1_BUTTON9
  15.     Start       / Botão 9 / JOYCODE_1_BUTTON10
  16.  
  17.     cima        = triângulo
  18.     baixo       = xis
  19.     esquerda    = quadrado
  20.     direita     = círculo
  21.     L1          = seta esquerda
  22.     R1          = seta direita
  23.     L2          = baixo
  24.     R2          = cima
  25. -->
  26.  
  27. <mameconfig version="10">
  28.     <system name="default">
  29.         <input>
  30.             <port tag=":IN2" type="P1_BUTTON1" mask="4096" defvalue="4096">
  31.                 <newseq type="standard">
  32.                     JOYCODE_1_BUTTON5
  33.                 </newseq>
  34.             </port>
  35.             <port tag=":IN2" type="P1_BUTTON2" mask="8192" defvalue="8192">
  36.                 <newseq type="standard">
  37.                     JOYCODE_1_BUTTON7
  38.                 </newseq>
  39.             </port>
  40.             <port tag=":IN2" type="P1_BUTTON3" mask="16384" defvalue="16384">
  41.                 <newseq type="standard">
  42.                     JOYCODE_1_BUTTON8
  43.                 </newseq>
  44.             </port>
  45.             <port tag=":IN3" type="P1_BUTTON4" mask="256" defvalue="256">
  46.                 <newseq type="standard">
  47.                     JOYCODE_1_BUTTON6
  48.                 </newseq>
  49.             </port>
  50.             <port tag=":IN3" type="P1_BUTTON5" mask="512" defvalue="512">
  51.                 <newseq type="standard">
  52.                     JOYCODE_1_BUTTON9
  53.                 </newseq>
  54.             </port>
  55.             <port tag=":IN3" type="P1_BUTTON6" mask="2048" defvalue="2048">
  56.                 <newseq type="standard">
  57.                     JOYCODE_1_BUTTON10
  58.                 </newseq>
  59.             </port>
  60.             <port tag=":STAGE" type="P1_JOYSTICK_LEFT" mask="256" defvalue="256">
  61.                 <newseq type="standard">
  62.                     JOYCODE_1_XAXIS_LEFT_SWITCH
  63.                 </newseq>
  64.             </port>
  65.             <port tag=":STAGE" type="P1_JOYSTICK_RIGHT" mask="512" defvalue="512">
  66.                 <newseq type="standard">
  67.                     JOYCODE_1_BUTTON2 OR JOYCODE_1_XAXIS_RIGHT_SWITCH
  68.                 </newseq>
  69.             </port>
  70.             <port tag=":STAGE" type="P1_JOYSTICK_UP" mask="1024" defvalue="1024">
  71.                 <newseq type="standard">
  72.                     JOYCODE_1_BUTTON1 OR JOYCODE_1_BUTTON6 OR JOYCODE_1_YAXIS_UP_SWITCH
  73.                 </newseq>
  74.             </port>
  75.             <port tag=":STAGE" type="P1_JOYSTICK_DOWN" mask="2048" defvalue="2048">
  76.                 <newseq type="standard">
  77.                     JOYCODE_1_BUTTON3 OR JOYCODE_1_BUTTON5 OR JOYCODE_1_YAXIS_DOWN_SWITCH
  78.                 </newseq>
  79.             </port>
  80.         </input>
  81.     </system>
  82. </mameconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement