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 -->