Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: ControllerRemap GUI  (Read 21113 times)

0 Members and 1 Guest are viewing this topic.

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 733
  • Last login:June 21, 2025, 05:31:09 pm
  • I want to build my own arcade controls!
Re: ControllerRemap GUI
« Reply #80 on: April 25, 2016, 07:38:35 am »
I can't setup my Spinners correctly. They should use the spot "Dial Analog" in the default config but will not be bound to them in MAME. Controller Port says DIAL only, might that be a problem? Changing it to P1_DIAL_ANALOG didn't help though.

Looking at the Default Config (launched by RemapGUI) it will change the Guns correctly but Spinner 1, Spinner 2 and Trackball are all set to Mouse 1. I can however set them in the Mame default.cfg (which I deleted afterwards). Am I missing something here?

Here is my ctrl.cfg:

Code: [Select]
<mameconfig version="10">
  <controlleralias>
    <id>keyboard</id>
    <alias>keyboard</alias>
  </controlleralias>
  <controlleralias>
    <id>HID#VID_D209_PID_1601_MI_02#9_375eebb1</id>
    <alias>Gun 1 Mouse</alias>
  </controlleralias>
  <controlleralias>
    <id>HID#VID_D209_PID_1602_MI_02#a_2d683b22</id>
    <alias>Gun 2 Mouse</alias>
  </controlleralias>
  <controlleralias>
    <id>HID#VID_1241_PID_1111#8_1933e90a</id>
    <alias>Spinner 2</alias>
  </controlleralias>
  <controlleralias>
    <id>HID#VID_D209_PID_15A1#8_1d39b884</id>
    <alias>Trackball</alias>
  </controlleralias>
  <controlleralias>
    <id>ATRAK Device #1</id>
    <alias>Gun 1 Pad</alias>
  </controlleralias>
  <controlleralias>
    <id>ATRAK Device #2</id>
    <alias>Gun 2 PAD</alias>
  </controlleralias>
  <controlleralias>
    <id>HID#VID_1241_PID_1111#8_2bed99af</id>
    <alias>Spinner 1</alias>
  </controlleralias>
  <system name="default">
    <controller id="keyboard">
      <input>
        <port type="P1_JOYSTICK_UP">
          <newseq type="standard">KEYCODE_UP</newseq>
        </port>
        <port type="P1_JOYSTICK_DOWN">
          <newseq type="standard">KEYCODE_DOWN</newseq>
        </port>
        <port type="P1_JOYSTICK_LEFT">
          <newseq type="standard">KEYCODE_LEFT</newseq>
        </port>
        <port type="P1_JOYSTICK_RIGHT">
          <newseq type="standard">KEYCODE_RIGHT</newseq>
        </port>
        <port type="P1_JOYSTICKRIGHT_UP">
          <newseq type="standard">KEYCODE_UP</newseq>
        </port>
        <port type="P1_JOYSTICKRIGHT_DOWN">
          <newseq type="standard">KEYCODE_DOWN</newseq>
        </port>
        <port type="P1_JOYSTICKRIGHT_LEFT">
          <newseq type="standard">KEYCODE_LEFT</newseq>
        </port>
        <port type="P1_JOYSTICKRIGHT_RIGHT">
          <newseq type="standard">KEYCODE_RIGHT</newseq>
        </port>
        <port type="P1_JOYSTICKLEFT_UP">
          <newseq type="standard">KEYCODE_Q</newseq>
        </port>
        <port type="P1_JOYSTICKLEFT_DOWN">
          <newseq type="standard">KEYCODE_W</newseq>
        </port>
        <port type="P1_JOYSTICKLEFT_LEFT">
          <newseq type="standard">KEYCODE_E</newseq>
        </port>
        <port type="P1_JOYSTICKLEFT_RIGHT">
          <newseq type="standard">KEYCODE_R</newseq>
        </port>
        <port type="P1_BUTTON2">
          <newseq type="standard">KEYCODE_S</newseq>
        </port>
        <port type="P1_BUTTON3">
          <newseq type="standard">KEYCODE_D</newseq>
        </port>
        <port type="P1_BUTTON4">
          <newseq type="standard">KEYCODE_Z</newseq>
        </port>
        <port type="P1_BUTTON5">
          <newseq type="standard">KEYCODE_X</newseq>
        </port>
        <port type="P1_BUTTON6">
          <newseq type="standard">KEYCODE_C</newseq>
        </port>
        <port type="P1_BUTTON7">
          <newseq type="standard">KEYCODE_F</newseq>
        </port>
        <port type="P1_BUTTON8">
          <newseq type="standard">NONE</newseq>
        </port>
        <port type="P1_BUTTON9">
          <newseq type="standard">NONE</newseq>
        </port>
        <port type="P1_BUTTON10">
          <newseq type="standard">NONE</newseq>
        </port>
        <port type="P1_BUTTON11">
          <newseq type="standard">NONE</newseq>
        </port>
        <port type="P1_BUTTON12">
          <newseq type="standard">NONE</newseq>
        </port>
        <port type="P1_BUTTON13">
          <newseq type="standard">NONE</newseq>
        </port>
        <port type="P1_BUTTON14">
          <newseq type="standard">NONE</newseq>
        </port>
        <port type="P1_BUTTON15">
          <newseq type="standard">NONE</newseq>
        </port>
        <port type="P1_BUTTON16">
          <newseq type="standard">NONE</newseq>
        </port>
        <port type="P2_JOYSTICK_UP">
          <newseq type="standard">KEYCODE_8PAD</newseq>
        </port>
        <port type="P2_JOYSTICK_DOWN">
          <newseq type="standard">KEYCODE_5PAD</newseq>
        </port>
        <port type="P2_JOYSTICK_LEFT">
          <newseq type="standard">KEYCODE_4PAD</newseq>
        </port>
        <port type="P2_JOYSTICK_RIGHT">
          <newseq type="standard">KEYCODE_6PAD</newseq>
        </port>
        <port type="P2_JOYSTICKRIGHT_UP">
          <newseq type="standard">KEYCODE_T</newseq>
        </port>
        <port type="P2_JOYSTICKRIGHT_DOWN">
          <newseq type="standard">KEYCODE_Y</newseq>
        </port>
        <port type="P2_JOYSTICKRIGHT_LEFT">
          <newseq type="standard">KEYCODE_U</newseq>
        </port>
        <port type="P2_JOYSTICKRIGHT_RIGHT">
          <newseq type="standard">KEYCODE_I</newseq>
        </port>
        <port type="P2_JOYSTICKLEFT_UP">
          <newseq type="standard">KEYCODE_8PAD</newseq>
        </port>
        <port type="P2_JOYSTICKLEFT_DOWN">
          <newseq type="standard">KEYCODE_5PAD</newseq>
        </port>
        <port type="P2_JOYSTICKLEFT_LEFT">
          <newseq type="standard">KEYCODE_4PAD</newseq>
        </port>
        <port type="P2_JOYSTICKLEFT_RIGHT">
          <newseq type="standard">KEYCODE_6PAD</newseq>
        </port>
        <port type="P2_BUTTON2">
          <newseq type="standard">KEYCODE_H</newseq>
        </port>
        <port type="P2_BUTTON3">
          <newseq type="standard">KEYCODE_J</newseq>
        </port>
        <port type="P2_BUTTON4">
          <newseq type="standard">KEYCODE_B</newseq>
        </port>
        <port type="P2_BUTTON5">
          <newseq type="standard">KEYCODE_N</newseq>
        </port>
        <port type="P2_BUTTON6">
          <newseq type="standard">KEYCODE_M</newseq>
        </port>
        <port type="P2_BUTTON7">
          <newseq type="standard">KEYCODE_K</newseq>
        </port>
        <port type="P2_BUTTON8">
          <newseq type="standard">NONE</newseq>
        </port>
        <port type="P3_JOYSTICK_UP">
          <newseq type="standard">KEYCODE_Q</newseq>
        </port>
        <port type="P3_JOYSTICK_DOWN">
          <newseq type="standard">KEYCODE_W</newseq>
        </port>
        <port type="P3_JOYSTICK_LEFT">
          <newseq type="standard">KEYCODE_E</newseq>
        </port>
        <port type="P3_JOYSTICK_RIGHT">
          <newseq type="standard">KEYCODE_R</newseq>
        </port>
        <port type="P3_BUTTON1">
          <newseq type="standard">KEYCODE_1PAD</newseq>
        </port>
        <port type="P3_BUTTON2">
          <newseq type="standard">KEYCODE_2PAD</newseq>
        </port>
        <port type="P3_BUTTON3">
          <newseq type="standard">KEYCODE_3PAD</newseq>
        </port>
        <port type="P3_BUTTON4">
          <newseq type="standard">KEYCODE_0PAD</newseq>
        </port>
        <port type="P4_JOYSTICK_UP">
          <newseq type="standard">KEYCODE_T</newseq>
        </port>
        <port type="P4_JOYSTICK_DOWN">
          <newseq type="standard">KEYCODE_Y</newseq>
        </port>
        <port type="P4_JOYSTICK_LEFT">
          <newseq type="standard">KEYCODE_U</newseq>
        </port>
        <port type="P4_JOYSTICK_RIGHT">
          <newseq type="standard">KEYCODE_I</newseq>
        </port>
        <port type="P4_BUTTON1">
          <newseq type="standard">KEYCODE_SLASHPAD</newseq>
        </port>
        <port type="P4_BUTTON2">
          <newseq type="standard">KEYCODE_ASTERISK</newseq>
        </port>
        <port type="P4_BUTTON3">
          <newseq type="standard">KEYCODE_MINUSPAD</newseq>
        </port>
        <port type="P4_BUTTON4">
          <newseq type="standard">KEYCODE_PLUSPAD</newseq>
        </port>
        <port type="UI_CONFIGURE">
          <newseq type="standard">KEYCODE_5 KEYCODE_DELPAD</newseq>
        </port>
        <port type="UI_PAUSE">
          <newseq type="standard">KEYCODE_DELPAD</newseq>
        </port>
        <port type="P1_BUTTON1">
          <newseq type="standard">KEYCODE_A</newseq>
        </port>
        <port type="P2_BUTTON1">
          <newseq type="standard">KEYCODE_G</newseq>
        </port>
      </input>
    </controller>
    <controller id="Gun 1 Mouse">
      <input>
        <port type="P1_LIGHTGUN_X">
          <newseq type="standard">GUNCODE_5_XAXIS</newseq>
        </port>
        <port type="P1_LIGHTGUN_Y">
          <newseq type="standard">GUNCODE_5_YAXIS</newseq>
        </port>
        <port type="P1_BUTTON1">
          <newseq type="standard">GUNCODE_1_BUTTON1</newseq>
        </port>
      </input>
    </controller>
    <controller id="Gun 2 Mouse">
      <input>
        <port type="P2_LIGHTGUN_X">
          <newseq type="standard">GUNCODE_1_XAXIS</newseq>
        </port>
        <port type="P2_LIGHTGUN_Y">
          <newseq type="standard">GUNCODE_1_YAXIS</newseq>
        </port>
        <port type="P2_BUTTON1">
          <newseq type="standard">GUNCODE_2_BUTTON1</newseq>
        </port>
      </input>
    </controller>
    <controller id="Spinner 2">
      <input>
        <port type="P2_DIAL">
          <newseq type="standard">MOUSECODE_3_XAXIS</newseq>
        </port>
      </input>
    </controller>
    <controller id="Trackball">
      <input>
        <port type="P1_TRACKBALL_X">
          <newseq type="standard">MOUSECODE_2_XAXIS</newseq>
        </port>
        <port type="P2_TRACKBALL_X">
          <newseq type="standard">MOUSECODE_2_XAXIS</newseq>
        </port>
        <port type="P1_TRACKBALL_Y">
          <newseq type="standard">MOUSECODE_2_YAXIS</newseq>
        </port>
        <port type="P2_TRACKBALL_Y">
          <newseq type="standard">MOUSECODE_2_YAXIS</newseq>
        </port>
        <port type="P1_MOUSE_X">
          <newseq type="standard">MOUSECODE_2_XAXIS</newseq>
        </port>
        <port type="P1_MOUSE_Y">
          <newseq type="standard">MOUSECODE_2_YAXIS</newseq>
        </port>
      </input>
    </controller>
    <controller id="Gun 1 Pad">
      <input>
        <port type="P1_BUTTON2">
          <newseq type="standard">JOYCODE_1_BUTTON1</newseq>
        </port>
      </input>
    </controller>
    <controller id="Gun 2 PAD">
      <input>
        <port type="P2_BUTTON2">
          <newseq type="standard">JOYCODE_2_BUTTON1</newseq>
        </port>
      </input>
    </controller>
    <controller id="Spinner 1">
      <input>
        <port type="P1_DIAL">
          <newseq type="standard">MOUSECODE_4_XAXIS</newseq>
        </port>
      </input>
    </controller>
    <input>
      <port type="P1_JOYSTICK_UP">
        <newseq type="standard">KEYCODE_UP</newseq>
      </port>
      <port type="P1_JOYSTICK_DOWN">
        <newseq type="standard">KEYCODE_DOWN</newseq>
      </port>
      <port type="P1_JOYSTICK_LEFT">
        <newseq type="standard">KEYCODE_LEFT</newseq>
      </port>
      <port type="P1_JOYSTICK_RIGHT">
        <newseq type="standard">KEYCODE_RIGHT</newseq>
      </port>
      <port type="P1_JOYSTICKRIGHT_UP">
        <newseq type="standard">KEYCODE_UP</newseq>
      </port>
      <port type="P1_JOYSTICKRIGHT_DOWN">
        <newseq type="standard">KEYCODE_DOWN</newseq>
      </port>
      <port type="P1_JOYSTICKRIGHT_LEFT">
        <newseq type="standard">KEYCODE_LEFT</newseq>
      </port>
      <port type="P1_JOYSTICKRIGHT_RIGHT">
        <newseq type="standard">KEYCODE_RIGHT</newseq>
      </port>
      <port type="P1_JOYSTICKLEFT_UP">
        <newseq type="standard">KEYCODE_Q</newseq>
      </port>
      <port type="P1_JOYSTICKLEFT_DOWN">
        <newseq type="standard">KEYCODE_W</newseq>
      </port>
      <port type="P1_JOYSTICKLEFT_LEFT">
        <newseq type="standard">KEYCODE_E</newseq>
      </port>
      <port type="P1_JOYSTICKLEFT_RIGHT">
        <newseq type="standard">KEYCODE_R</newseq>
      </port>
      <port type="P1_BUTTON2">
        <newseq type="standard">KEYCODE_S OR JOYCODE_1_BUTTON1</newseq>
      </port>
      <port type="P1_BUTTON3">
        <newseq type="standard">KEYCODE_D</newseq>
      </port>
      <port type="P1_BUTTON4">
        <newseq type="standard">KEYCODE_Z</newseq>
      </port>
      <port type="P1_BUTTON5">
        <newseq type="standard">KEYCODE_X</newseq>
      </port>
      <port type="P1_BUTTON6">
        <newseq type="standard">KEYCODE_C</newseq>
      </port>
      <port type="P1_BUTTON7">
        <newseq type="standard">KEYCODE_F</newseq>
      </port>
      <port type="P1_BUTTON8">
        <newseq type="standard">NONE</newseq>
      </port>
      <port type="P1_BUTTON9">
        <newseq type="standard">NONE</newseq>
      </port>
      <port type="P1_BUTTON10">
        <newseq type="standard">NONE</newseq>
      </port>
      <port type="P1_BUTTON11">
        <newseq type="standard">NONE</newseq>
      </port>
      <port type="P1_BUTTON12">
        <newseq type="standard">NONE</newseq>
      </port>
      <port type="P1_BUTTON13">
        <newseq type="standard">NONE</newseq>
      </port>
      <port type="P1_BUTTON14">
        <newseq type="standard">NONE</newseq>
      </port>
      <port type="P1_BUTTON15">
        <newseq type="standard">NONE</newseq>
      </port>
      <port type="P1_BUTTON16">
        <newseq type="standard">NONE</newseq>
      </port>
      <port type="P2_JOYSTICK_UP">
        <newseq type="standard">KEYCODE_8PAD</newseq>
      </port>
      <port type="P2_JOYSTICK_DOWN">
        <newseq type="standard">KEYCODE_5PAD</newseq>
      </port>
      <port type="P2_JOYSTICK_LEFT">
        <newseq type="standard">KEYCODE_4PAD</newseq>
      </port>
      <port type="P2_JOYSTICK_RIGHT">
        <newseq type="standard">KEYCODE_6PAD</newseq>
      </port>
      <port type="P2_JOYSTICKRIGHT_UP">
        <newseq type="standard">KEYCODE_T</newseq>
      </port>
      <port type="P2_JOYSTICKRIGHT_DOWN">
        <newseq type="standard">KEYCODE_Y</newseq>
      </port>
      <port type="P2_JOYSTICKRIGHT_LEFT">
        <newseq type="standard">KEYCODE_U</newseq>
      </port>
      <port type="P2_JOYSTICKRIGHT_RIGHT">
        <newseq type="standard">KEYCODE_I</newseq>
      </port>
      <port type="P2_JOYSTICKLEFT_UP">
        <newseq type="standard">KEYCODE_8PAD</newseq>
      </port>
      <port type="P2_JOYSTICKLEFT_DOWN">
        <newseq type="standard">KEYCODE_5PAD</newseq>
      </port>
      <port type="P2_JOYSTICKLEFT_LEFT">
        <newseq type="standard">KEYCODE_4PAD</newseq>
      </port>
      <port type="P2_JOYSTICKLEFT_RIGHT">
        <newseq type="standard">KEYCODE_6PAD</newseq>
      </port>
      <port type="P2_BUTTON2">
        <newseq type="standard">KEYCODE_H OR JOYCODE_2_BUTTON1</newseq>
      </port>
      <port type="P2_BUTTON3">
        <newseq type="standard">KEYCODE_J</newseq>
      </port>
      <port type="P2_BUTTON4">
        <newseq type="standard">KEYCODE_B</newseq>
      </port>
      <port type="P2_BUTTON5">
        <newseq type="standard">KEYCODE_N</newseq>
      </port>
      <port type="P2_BUTTON6">
        <newseq type="standard">KEYCODE_M</newseq>
      </port>
      <port type="P2_BUTTON7">
        <newseq type="standard">KEYCODE_K</newseq>
      </port>
      <port type="P2_BUTTON8">
        <newseq type="standard">NONE</newseq>
      </port>
      <port type="P3_JOYSTICK_UP">
        <newseq type="standard">KEYCODE_Q</newseq>
      </port>
      <port type="P3_JOYSTICK_DOWN">
        <newseq type="standard">KEYCODE_W</newseq>
      </port>
      <port type="P3_JOYSTICK_LEFT">
        <newseq type="standard">KEYCODE_E</newseq>
      </port>
      <port type="P3_JOYSTICK_RIGHT">
        <newseq type="standard">KEYCODE_R</newseq>
      </port>
      <port type="P3_BUTTON1">
        <newseq type="standard">KEYCODE_1PAD</newseq>
      </port>
      <port type="P3_BUTTON2">
        <newseq type="standard">KEYCODE_2PAD</newseq>
      </port>
      <port type="P3_BUTTON3">
        <newseq type="standard">KEYCODE_3PAD</newseq>
      </port>
      <port type="P3_BUTTON4">
        <newseq type="standard">KEYCODE_0PAD</newseq>
      </port>
      <port type="P4_JOYSTICK_UP">
        <newseq type="standard">KEYCODE_T</newseq>
      </port>
      <port type="P4_JOYSTICK_DOWN">
        <newseq type="standard">KEYCODE_Y</newseq>
      </port>
      <port type="P4_JOYSTICK_LEFT">
        <newseq type="standard">KEYCODE_U</newseq>
      </port>
      <port type="P4_JOYSTICK_RIGHT">
        <newseq type="standard">KEYCODE_I</newseq>
      </port>
      <port type="P4_BUTTON1">
        <newseq type="standard">KEYCODE_SLASHPAD</newseq>
      </port>
      <port type="P4_BUTTON2">
        <newseq type="standard">KEYCODE_ASTERISK</newseq>
      </port>
      <port type="P4_BUTTON3">
        <newseq type="standard">KEYCODE_MINUSPAD</newseq>
      </port>
      <port type="P4_BUTTON4">
        <newseq type="standard">KEYCODE_PLUSPAD</newseq>
      </port>
      <port type="UI_CONFIGURE">
        <newseq type="standard">KEYCODE_5 KEYCODE_DELPAD</newseq>
      </port>
      <port type="UI_PAUSE">
        <newseq type="standard">KEYCODE_DELPAD</newseq>
      </port>
      <port type="P1_BUTTON1">
        <newseq type="standard">KEYCODE_A OR GUNCODE_2_BUTTON1</newseq>
      </port>
      <port type="P2_BUTTON1">
        <newseq type="standard">KEYCODE_G OR GUNCODE_5_BUTTON1</newseq>
      </port>
      <port type="P1_LIGHTGUN_X">
        <newseq type="standard">GUNCODE_2_XAXIS</newseq>
      </port>
      <port type="P1_LIGHTGUN_Y">
        <newseq type="standard">GUNCODE_2_YAXIS</newseq>
      </port>
      <port type="P2_LIGHTGUN_X">
        <newseq type="standard">GUNCODE_5_XAXIS</newseq>
      </port>
      <port type="P2_LIGHTGUN_Y">
        <newseq type="standard">GUNCODE_5_YAXIS</newseq>
      </port>
      <port type="P2_DIAL">
        <newseq type="standard">MOUSECODE_4_XAXIS</newseq>
      </port>
    </input>
  </system>
</mameconfig>

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 733
  • Last login:June 21, 2025, 05:31:09 pm
  • I want to build my own arcade controls!
Re: ControllerRemap GUI
« Reply #81 on: April 25, 2016, 01:45:26 pm »
Ok, I'm one step closer. I actually found out that P2 Dial will control Dial for P1. So I set Spinner one for P2_Dial and now it moves the Spinner for Player one. Question is...what will move P2 :D

stigzler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 983
  • Last login:March 21, 2025, 06:36:05 am
  • It seemed like a good idea at the time....
    • Mago Arcade
Re: ControllerRemap GUI
« Reply #82 on: April 25, 2016, 01:59:47 pm »
Struggling to make sense of the problem, End - but this is sounding like a Mame-side issue?

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 733
  • Last login:June 21, 2025, 05:31:09 pm
  • I want to build my own arcade controls!
Re: ControllerRemap GUI
« Reply #83 on: April 25, 2016, 02:17:18 pm »
Struggling to make sense of the problem, End - but this is sounding like a Mame-side issue?

I have absolutely no idea. Example:

Off The Wall (otwalls) uses two Spinners. When I write Spinner 2 Manually, Mame will save that as P2_DIAL in the game.cfg. No idea what's going on.

Is it normal that the device ID'S are different when I search for devices now? I mean, all of them are different to the ones that I use. Gun games work perfectly fine, though.

MydknyteStyrm

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 331
  • Last login:March 20, 2024, 12:19:41 pm
  • Makeup FX Gamer
Re: ControllerRemap GUI
« Reply #84 on: April 25, 2016, 03:15:38 pm »
If the device IDs are different when you do a rescan, then it looks like you may have to update your CRG Remap. It happens to me once in a while. I remove the old coded perhipreal, usually a spinner or gun, transfer the new one over, change the ID code and lock it, then there's an option to update your IDs in the ControllerRemap tab (first one)


Sent from my iPhone using Tapatalk

stigzler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 983
  • Last login:March 21, 2025, 06:36:05 am
  • It seemed like a good idea at the time....
    • Mago Arcade
Re: ControllerRemap GUI
« Reply #85 on: April 25, 2016, 04:59:54 pm »
To be really honest - it's been so long since I coded this and also haven't done mame setups for ages that I'm having trouble understanding:

a) What the problem actually is
b) Whether it CRGUI or Mame.

I've found this in the code:

Code: [Select]
<controller id="Spinner 1">
      <input>
        <port type="P1_DIAL">
          <newseq type="standard">MOUSECODE_4_XAXIS</newseq>
        </port>
      </input>
    </controller>

I would have thought when you do the remap prior to running mame (via CtrlRemapGUI.exe -rmap "") controlerremap.exe should just remap the right mouse port as per usual.

Oh, I wonder about this:

You mention the ID's being different. Did you pay attention to this bit in the CRGUI setup vid?

http://youtu.be/Clvwm_x4IoM?t=5m25s
(Play at 5.25s)

You must shorten IDs. More infor avaialble in the CRemap documentation.

See if that does it.
« Last Edit: April 25, 2016, 05:02:32 pm by stigzler »

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 733
  • Last login:June 21, 2025, 05:31:09 pm
  • I want to build my own arcade controls!
Re: ControllerRemap GUI
« Reply #86 on: April 26, 2016, 07:21:56 am »
Got everything to work and shortened the ID's. Thank you so much for this.

stigzler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 983
  • Last login:March 21, 2025, 06:36:05 am
  • It seemed like a good idea at the time....
    • Mago Arcade
Re: ControllerRemap GUI
« Reply #87 on: April 26, 2016, 08:06:15 am »
Was it shortening the IDs that did it? If not, what did?

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 733
  • Last login:June 21, 2025, 05:31:09 pm
  • I want to build my own arcade controls!
Re: ControllerRemap GUI
« Reply #88 on: April 26, 2016, 08:09:33 am »
I whish I could tell you. I basically deleted the spinner 1+2 and trackball from the cfg. I did a rescan, added the Trackball and both spinners, shortened the ID's to minimum. Now it works.

earthshine

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:December 02, 2016, 05:08:58 pm
  • I want to build my own arcade controls!
Re: ControllerRemap GUI
« Reply #89 on: May 07, 2016, 05:53:08 pm »
I have a basic question...it looks like ControllerRemap only remaps devices for MAME...what about a multi-emulator situation when using Hyperspin?

For example, I'm using Hyperspin to run MAME (using a control panel wired into a an I-PAC Ultimate I/O) as well as NES and SNES emulators using USB SNES controllers and an Atari 2600 emulator using a USB adapter for the original Atari 2600 joysticks.

I'm fine with the MAME control panel, but the SNES and Atari controllers sometimes change device numbers...can this utility help with that, or do I need something else?

Thanks!

stigzler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 983
  • Last login:March 21, 2025, 06:36:05 am
  • It seemed like a good idea at the time....
    • Mago Arcade
Re: ControllerRemap GUI
« Reply #90 on: May 12, 2016, 06:07:41 pm »
It's for Mame only. Each emulator is going to have its own approach to controls mapping, thus not possible through controller remap.

MydknyteStyrm

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 331
  • Last login:March 20, 2024, 12:19:41 pm
  • Makeup FX Gamer
Re: ControllerRemap GUI
« Reply #91 on: November 11, 2016, 10:13:06 pm »
Now that Mame is taking care of its JoyID problem, somewhat, is there anyone out there using the Mame setup correctly? Im using Mame 179, and it says stuff about mapdevice and xml, but not too sure how it works. The other thing is, would I still be able to use ControllerRemap instead since I put a ton of work into it already? Thoughts?
The strange thing I have noticed when trying to use CRGUI with Mame 179 is that it works halfway. I can set my joystick (Joy 2) in Mame, write it as normal to the CRG_MyRemap.cfg file, and test the game. When I load it up in Mame, it says Joy4. Which is another joystick on my CP. I open up CRG_MyRemap file, and instead of Joy2 its written Joy4. I dont get why CRGUI is writing a different joystick to the file.
« Last Edit: November 12, 2016, 09:36:07 am by MydknyteStyrm »

stigzler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 983
  • Last login:March 21, 2025, 06:36:05 am
  • It seemed like a good idea at the time....
    • Mago Arcade
Re: ControllerRemap GUI
« Reply #92 on: December 06, 2016, 05:58:54 pm »
Long time since been doing Mame setup. Currently re-setting up my cab from scratch.

tbh - I can't even remember exactly how CRGUI works! However, I think it calls ControllerRemap to produce the 'remapped' cfg file. I'd try a remap without using CRGUI first to isolate the prob.