forked from notspiff/game.libretro.virtualjaguar
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from kodi-game/topology
Add topology.xml
- Loading branch information
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<buttonmap version="2"> | ||
<!-- TODO: Add support for Atari Jaguar controller ---> | ||
<controller id="game.controller.default" type="RETRO_DEVICE_JOYPAD"> | ||
<feature name="up" mapto="RETRO_DEVICE_ID_JOYPAD_UP"/> | ||
<feature name="down" mapto="RETRO_DEVICE_ID_JOYPAD_DOWN"/> | ||
<feature name="left" mapto="RETRO_DEVICE_ID_JOYPAD_LEFT"/> | ||
<feature name="right" mapto="RETRO_DEVICE_ID_JOYPAD_RIGHT"/> | ||
<!-- A --> | ||
<feature name="b" mapto="RETRO_DEVICE_ID_JOYPAD_A"/> | ||
<!-- B --> | ||
<feature name="a" mapto="RETRO_DEVICE_ID_JOYPAD_B"/> | ||
<!-- C --> | ||
<feature name="x" mapto="RETRO_DEVICE_ID_JOYPAD_Y"/> | ||
<!-- Pause --> | ||
<feature name="back" mapto="RETRO_DEVICE_ID_JOYPAD_SELECT"/> | ||
<!-- Option --> | ||
<feature name="start" mapto="RETRO_DEVICE_ID_JOYPAD_START"/> | ||
<!-- Button 0 --> | ||
<feature name="y" mapto="RETRO_DEVICE_ID_JOYPAD_X"/> | ||
<!-- Button 1 --> | ||
<feature name="leftbumper" mapto="RETRO_DEVICE_ID_JOYPAD_L"/> | ||
<!-- Button 2 --> | ||
<feature name="rightbumper" mapto="RETRO_DEVICE_ID_JOYPAD_R"/> | ||
<!-- Button 3 --> | ||
<feature name="lefttrigger" mapto="RETRO_DEVICE_ID_JOYPAD_L2"/> | ||
<!-- Button 4 --> | ||
<feature name="righttrigger" mapto="RETRO_DEVICE_ID_JOYPAD_R2"/> | ||
<!-- Button 5 --> | ||
<feature name="leftthumb" mapto="RETRO_DEVICE_ID_JOYPAD_L3"/> | ||
<!-- Button 6 --> | ||
<feature name="rightthumb" mapto="RETRO_DEVICE_ID_JOYPAD_R3"/> | ||
</controller> | ||
</buttonmap> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<logicaltopology> | ||
<port type="controller" id="1"> | ||
<accepts controller="game.controller.default"/> | ||
</port> | ||
<port type="controller" id="2"> | ||
<accepts controller="game.controller.default"/> | ||
</port> | ||
</logicaltopology> |