<?xml version="1.0" encoding="UTF-8"?>
<buttonmap version="2">
	<controller id="game.controller.saturn" type="RETRO_DEVICE_JOYPAD">
		<feature name="a" mapto="RETRO_DEVICE_ID_JOYPAD_B"/>
		<feature name="b" mapto="RETRO_DEVICE_ID_JOYPAD_A"/>
		<feature name="c" mapto="RETRO_DEVICE_ID_JOYPAD_R"/>
		<feature name="x" mapto="RETRO_DEVICE_ID_JOYPAD_Y"/>
		<feature name="y" mapto="RETRO_DEVICE_ID_JOYPAD_X"/>
		<feature name="z" mapto="RETRO_DEVICE_ID_JOYPAD_L"/>
		<feature name="start" mapto="RETRO_DEVICE_ID_JOYPAD_START"/>
		<feature name="up" mapto="RETRO_DEVICE_ID_JOYPAD_UP"/>
		<feature name="down" mapto="RETRO_DEVICE_ID_JOYPAD_DOWN"/>
		<feature name="right" mapto="RETRO_DEVICE_ID_JOYPAD_RIGHT"/>
		<feature name="left" mapto="RETRO_DEVICE_ID_JOYPAD_LEFT"/>
		<feature name="leftbumper" mapto="RETRO_DEVICE_ID_JOYPAD_L2"/>
		<feature name="rightbumper" mapto="RETRO_DEVICE_ID_JOYPAD_R2"/>
	</controller>
	<controller id="game.controller.saturn.3d.japan" type="RETRO_DEVICE_ANALOG">
		<feature name="a" mapto="RETRO_DEVICE_ID_JOYPAD_B"/>
		<feature name="b" mapto="RETRO_DEVICE_ID_JOYPAD_A"/>
		<feature name="c" mapto="RETRO_DEVICE_ID_JOYPAD_R"/>
		<feature name="x" mapto="RETRO_DEVICE_ID_JOYPAD_Y"/>
		<feature name="y" mapto="RETRO_DEVICE_ID_JOYPAD_X"/>
		<feature name="z" mapto="RETRO_DEVICE_ID_JOYPAD_L"/>
		<feature name="start" mapto="RETRO_DEVICE_ID_JOYPAD_START"/>
		<feature name="up" mapto="RETRO_DEVICE_ID_JOYPAD_UP"/>
		<feature name="down" mapto="RETRO_DEVICE_ID_JOYPAD_DOWN"/>
		<feature name="right" mapto="RETRO_DEVICE_ID_JOYPAD_RIGHT"/>
		<feature name="left" mapto="RETRO_DEVICE_ID_JOYPAD_LEFT"/>
		<feature name="lefttrigger" mapto="RETRO_DEVICE_ID_JOYPAD_L2"/>
		<feature name="righttrigger" mapto="RETRO_DEVICE_ID_JOYPAD_R2"/>
		<feature name="analogstick" mapto="RETRO_DEVICE_INDEX_ANALOG_LEFT"/>
	</controller>
	<controller id="game.controller.saturn.3d.western" type="RETRO_DEVICE_ANALOG">
		<feature name="a" mapto="RETRO_DEVICE_ID_JOYPAD_B"/>
		<feature name="b" mapto="RETRO_DEVICE_ID_JOYPAD_A"/>
		<feature name="c" mapto="RETRO_DEVICE_ID_JOYPAD_R"/>
		<feature name="x" mapto="RETRO_DEVICE_ID_JOYPAD_Y"/>
		<feature name="y" mapto="RETRO_DEVICE_ID_JOYPAD_X"/>
		<feature name="z" mapto="RETRO_DEVICE_ID_JOYPAD_L"/>
		<feature name="start" mapto="RETRO_DEVICE_ID_JOYPAD_START"/>
		<feature name="up" mapto="RETRO_DEVICE_ID_JOYPAD_UP"/>
		<feature name="down" mapto="RETRO_DEVICE_ID_JOYPAD_DOWN"/>
		<feature name="right" mapto="RETRO_DEVICE_ID_JOYPAD_RIGHT"/>
		<feature name="left" mapto="RETRO_DEVICE_ID_JOYPAD_LEFT"/>
		<feature name="lefttrigger" mapto="RETRO_DEVICE_ID_JOYPAD_L2"/>
		<feature name="righttrigger" mapto="RETRO_DEVICE_ID_JOYPAD_R2"/>
		<feature name="analogstick" mapto="RETRO_DEVICE_INDEX_ANALOG_LEFT"/>
	</controller>
</buttonmap>
