The NEW Build Your Own Arcade Controls

Main => Main Forum => Topic started by: Customcade on January 10, 2025, 08:42:37 pm

Title: Missing aimtrak controller config file for mame ctrl folder?
Post by: Customcade on January 10, 2025, 08:42:37 pm
Was going by this video but I don't have a aimtrak .cfg file in my mame ctrl folder as shown in the video.

Where is that file located?

https://youtu.be/VCbc3X2qFI8?si=npIUYkhxYoLhgy0q
Title: Re: Missing aimtrak controller config file for mame ctrl folder?
Post by: MartyKong on January 12, 2025, 03:38:23 pm
Customcade,   You have to create that file as shown in the video. Most people use this to stop mame from switching the controller id's and setting individual controls for peripherals.
 This portion is for controller id order (yours will be different):
<mameconfig version="10">
        <system name="default">
                <input>
                        <mapdevice device="PNP0F03" controller="MOUSECODE_1" />
                        <mapdevice device="PID_0060" controller="MOUSECODE_2" />
                        <mapdevice device="PID_1601" controller="GUNCODE_1" />
                        <mapdevice device="PID_1602" controller="GUNCODE_2" />                     
                        <mapdevice device="XInput Player 1" controller="JOYCODE_1" />
                        <mapdevice device="XInput Player 2" controller="JOYCODE_2" />                                 
                  <mapdevice device="XInput Player 3" controller="JOYCODE_3" />
                  <mapdevice device="XInput Player 4" controller="JOYCODE_4" />
                  <mapdevice device="ATRAK Device #1" controller="JOYCODE_5" />
                        <mapdevice device="ATRAK Device #2" controller="JOYCODE_6" />

       <!-- 1 trackball
            2 spinner
            3 Aimtrak 1
            4 Aimtrak 2
            5 xbox 360 1
            6 xbox 360 2           
       7 xbox 360 2
       8 xbox 360 2
       9 aimtrak buttons 1
           10 aimtrak buttons 2 -->