| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <buttonmap version="2"> |
| 3 | <controller id="game.controller.genesis.3button" type="RETRO_DEVICE_JOYPAD" subclass="0"> |
| 4 | <feature name="a" mapto="RETRO_DEVICE_ID_JOYPAD_Y"/> |
| 5 | <feature name="b" mapto="RETRO_DEVICE_ID_JOYPAD_B"/> |
| 6 | <feature name="c" mapto="RETRO_DEVICE_ID_JOYPAD_A"/> |
| 7 | <feature name="start" mapto="RETRO_DEVICE_ID_JOYPAD_START"/> |
| 8 | <feature name="mode" mapto="RETRO_DEVICE_ID_JOYPAD_SELECT"/> |
| 9 | <feature name="up" mapto="RETRO_DEVICE_ID_JOYPAD_UP"/> |
| 10 | <feature name="down" mapto="RETRO_DEVICE_ID_JOYPAD_DOWN"/> |
| 11 | <feature name="right" mapto="RETRO_DEVICE_ID_JOYPAD_RIGHT"/> |
| 12 | <feature name="left" mapto="RETRO_DEVICE_ID_JOYPAD_LEFT"/> |
| 13 | </controller> |
| 14 | <controller id="game.controller.genesis.6button" type="RETRO_DEVICE_JOYPAD" subclass="1"> |
| 15 | <feature name="a" mapto="RETRO_DEVICE_ID_JOYPAD_Y"/> |
| 16 | <feature name="b" mapto="RETRO_DEVICE_ID_JOYPAD_B"/> |
| 17 | <feature name="c" mapto="RETRO_DEVICE_ID_JOYPAD_A"/> |
| 18 | <feature name="x" mapto="RETRO_DEVICE_ID_JOYPAD_L"/> |
| 19 | <feature name="y" mapto="RETRO_DEVICE_ID_JOYPAD_X"/> |
| 20 | <feature name="z" mapto="RETRO_DEVICE_ID_JOYPAD_R"/> |
| 21 | <feature name="start" mapto="RETRO_DEVICE_ID_JOYPAD_START"/> |
| 22 | <feature name="mode" mapto="RETRO_DEVICE_ID_JOYPAD_SELECT"/> |
| 23 | <feature name="up" mapto="RETRO_DEVICE_ID_JOYPAD_UP"/> |
| 24 | <feature name="down" mapto="RETRO_DEVICE_ID_JOYPAD_DOWN"/> |
| 25 | <feature name="right" mapto="RETRO_DEVICE_ID_JOYPAD_RIGHT"/> |
| 26 | <feature name="left" mapto="RETRO_DEVICE_ID_JOYPAD_LEFT"/> |
| 27 | </controller> |
| 28 | <controller id="game.controller.genesis.mouse" type="RETRO_DEVICE_MOUSE"> |
| 29 | <feature name="left" mapto="RETRO_DEVICE_ID_MOUSE_LEFT"/> |
| 30 | <feature name="right" mapto="RETRO_DEVICE_ID_MOUSE_RIGHT"/> |
| 31 | <feature name="middle" mapto="RETRO_DEVICE_ID_MOUSE_WHEELDOWN"/> |
| 32 | <feature name="start" mapto="RETRO_DEVICE_ID_MOUSE_MIDDLE"/> |
| 33 | <feature name="pointer" mapto="RETRO_DEVICE_MOUSE"/> |
| 34 | </controller> |
| 35 | <controller id="game.controller.genesis.4wayplay" type="RETRO_DEVICE_JOYPAD" subclass="3"/> |
| 36 | <controller id="game.controller.genesis.teamplayer" type="RETRO_DEVICE_JOYPAD" subclass="5"/> |
| 37 | </buttonmap> |