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: Missing aimtrak controller config file for mame ctrl folder?  (Read 185 times)

0 Members and 1 Guest are viewing this topic.

Customcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 102
  • Last login:Today at 03:01:22 am
  • I want to build my own arcade controls!
Missing aimtrak controller config file for mame ctrl folder?
« 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

MartyKong

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:Yesterday at 10:59:25 am
  • I want to build my own arcade controls!
Re: Missing aimtrak controller config file for mame ctrl folder?
« Reply #1 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 -->