-
Notifications
You must be signed in to change notification settings - Fork 0
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 #1 from kodi-game/add-buttonmap
Add buttonmap and topology
- Loading branch information
Showing
3 changed files
with
32 additions
and
1 deletion.
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,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<buttonmap version="2"> | ||
<controller id="game.controller.atari.5200" type="RETRO_DEVICE_JOYPAD"> | ||
<feature name="left" mapto="RETRO_DEVICE_ID_JOYPAD_LEFT"/> | ||
<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="fire1" mapto="RETRO_DEVICE_ID_JOYPAD_A"/> | ||
<feature name="fire2" mapto="RETRO_DEVICE_ID_JOYPAD_B"/> | ||
<feature name="pound" mapto="RETRO_DEVICE_ID_JOYPAD_X"/> | ||
<feature name="star" mapto="RETRO_DEVICE_ID_JOYPAD_Y"/> | ||
<feature name="num0" mapto="RETRO_DEVICE_ID_JOYPAD_R"/> | ||
<feature name="num1" mapto="RETRO_DEVICE_ID_JOYPAD_R2"/> | ||
<feature name="num5" mapto="RETRO_DEVICE_ID_JOYPAD_R3"/> | ||
<feature name="togglevkbd" mapto="RETRO_DEVICE_ID_JOYPAD_L"/> | ||
<feature name="num3" mapto="RETRO_DEVICE_ID_JOYPAD_L2"/> | ||
<feature name="num7" mapto="RETRO_DEVICE_ID_JOYPAD_L3"/> | ||
<feature name="pause" mapto="RETRO_DEVICE_ID_JOYPAD_SELECT"/> | ||
<feature name="start" mapto="RETRO_DEVICE_ID_JOYPAD_START"/> | ||
</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" standalone="yes"?> | ||
<logicaltopology> | ||
<port type="controller" id="1"> | ||
<accepts controller="game.controller.atari.5200"/> | ||
</port> | ||
<port type="controller" id="2"> | ||
<accepts controller="game.controller.atari.5200"/> | ||
</port> | ||
</logicaltopology> |