	<!-- 360deg wheel games (mame's dial & catver 'driving') -->

	<!-- 360deg drivers - digital throttle only -->

	<system name="amspdwy">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="stocker">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="sprint8">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="grudge">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - analog throttle only -->

	<system name="csprint">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="ssprint">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="grchamp">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="hotrod">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="redlin2p">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - digital throttle + digital brake only -->

	<system name="buggychl">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="driftout">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="demoderb">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="gtmr2">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - analog throttle + digital brake (BUTTON 2!) only -->

	<system name="ssrj">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - analog throttle + digital brake (BUTTON 1!) only -->

	<system name="sspeedr">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - analog throttle + analog brake (P2 PEDAL 1) + up/down (tiptronic style) shifter (3-speed) -->

	<system name="dirtfoxj">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P2_PEDAL1" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_2_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
			<port type="P1_JOYSTICK_UP">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_JOYSTICK_DOWN">
				<newseq type="standard">KEYCODE_LALT</newseq>
			</port>
		</input>
	</system>


	<!-- 360deg drivers - digital throttle + digital brake + 1 button (BUTTON 3) -->

	<system name="konamigt">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="strtheat">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>



	<!-- 360deg drivers - analog throttle + analog brake (P2 PEDAL 1) + 1 button (BUTTON 1) -->

	<system name="luckywld">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P2_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_2_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - digital throttle + digital brake + toggle shifter -->

	<system name="overdriv">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_LSHIFT OR KEYCODE_Z OR KEYCODE_X OR KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="turbo">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">JOYCODE_2_DOWN</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_LSHIFT OR KEYCODE_Z OR KEYCODE_X OR KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - analog throttle + analog brake (P2_PEDAL!) + toggle shifter -->

	<system name="finallap">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P2_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_2_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LSHIFT OR KEYCODE_Z OR KEYCODE_X OR KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="finalap2">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P2_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_2_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LSHIFT OR KEYCODE_Z OR KEYCODE_X OR KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="finalap3">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P2_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_2_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LSHIFT OR KEYCODE_Z OR KEYCODE_X OR KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="fourtrax">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P2_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_2_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LSHIFT OR KEYCODE_Z OR KEYCODE_X OR KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - analog throttle + analog brake (P1_PEDAL2!) + toggle shifter -->

	<system name="polepos">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_PEDAL2" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_2_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LSHIFT OR KEYCODE_Z OR KEYCODE_X OR KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="polepos2">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_PEDAL2" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_2_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LSHIFT OR KEYCODE_Z OR KEYCODE_X OR KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - digital throttle + 1 button (BUTTON 2) -->

	<system name="badlands">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - analog throttle + 1 button (BUTTON 1) -->

	<system name="offroad">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="offroadt">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="indyheat">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON2">
			</port>
			<port type="P1_BUTTON3">
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - digital throttle + 2 buttons (BUTTON 2-3) -->

	<system name="firetrk">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_LALT</newseq>
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - analog throttle + 2 buttons (BUTTON 2-3) -->

	<system name="roadblst">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_LALT</newseq>
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="apb">
		<input>
			<port type="P1_PEDAL" mask="255" defvalue="0" value="0" keydelta="16" centerdelta="16" sensitivity="100" reverse="yes">
				<newseq type="standard">JOYCODE_1_ANALOG_Y</newseq>
			</port>
			<port type="P1_BUTTON1">
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_LALT</newseq>
			</port>
			<port type="P1_BUTTON4">
			</port>
			<port type="P1_BUTTON5">
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - digital throttle + 3 buttons (BUTTON 2-4) + 4-speed shifter -->

	<system name="nitedrvr">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_LALT</newseq>
			</port>
			<port type="P1_BUTTON4">
				<newseq type="standard">KEYCODE_SPACE</newseq>
			</port>
			<port type="P1_BUTTON5">
				<newseq type="standard">KEYCODE_LSHIFT</newseq>
			</port>
			<port type="P1_BUTTON6">
				<newseq type="standard">KEYCODE_Z</newseq>
			</port>
			<port type="P1_BUTTON7">
				<newseq type="standard">KEYCODE_x</newseq>
			</port>
			<port type="P1_BUTTON8">
				<newseq type="standard">KEYCODE_C</newseq>
			</port>

		</input>
	</system>


	<!-- 360deg drivers - digital throttle + 4-speed shifter -->

	<system name="sprint1">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_LSHIFT</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_Z</newseq>
			</port>
			<port type="P1_BUTTON4">
				<newseq type="standard">KEYCODE_X</newseq>
			</port>
			<port type="P1_BUTTON5">
				<newseq type="standard">KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>

	<system name="sprint4">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_LSHIFT</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_Z</newseq>
			</port>
			<port type="P1_BUTTON4">
				<newseq type="standard">KEYCODE_X</newseq>
			</port>
			<port type="P1_BUTTON5">
				<newseq type="standard">KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON6">
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - digital throttle + 4-speed shifter + 1 button (BUTTON 6) -->

	<system name="montecar">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_LSHIFT</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_Z</newseq>
			</port>
			<port type="P1_BUTTON4">
				<newseq type="standard">KEYCODE_X</newseq>
			</port>
			<port type="P1_BUTTON5">
				<newseq type="standard">KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON6">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON7">
			</port>
		</input>
	</system>


	<!-- 360deg drivers - digital throttle + 4-speed shifter + 2 buttons (BUTTON 6-7) -->

	<system name="superbug">
		<input>
			<port type="P1_BUTTON1">
				<newseq type="standard">JOYCODE_1_DOWN</newseq>
			</port>
			<port type="P1_BUTTON2">
				<newseq type="standard">KEYCODE_LSHIFT</newseq>
			</port>
			<port type="P1_BUTTON3">
				<newseq type="standard">KEYCODE_Z</newseq>
			</port>
			<port type="P1_BUTTON4">
				<newseq type="standard">KEYCODE_X</newseq>
			</port>
			<port type="P1_BUTTON5">
				<newseq type="standard">KEYCODE_C</newseq>
			</port>
			<port type="P1_BUTTON6">
				<newseq type="standard">KEYCODE_LCONTROL</newseq>
			</port>
			<port type="P1_BUTTON7">
				<newseq type="standard">KEYCODE_LALT</newseq>
			</port>
		</input>
	</system>