aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2018-09-26 14:10:05 +0300
committerGarrett Brown <themagnificentmrb@gmail.com>2018-09-26 15:52:48 +0300
commit37fae064f06860882aa3c658c8ffdbf45ad1f143 (patch)
tree908e97b7cc88668ae54c4e33a38f46ff32293e6a
parentbec7cc8f6b402baceac4f8a98ad9d004624ce918 (diff)
Import game.controller.snes
-rw-r--r--addons/game.controller.snes/addon.xml16
-rw-r--r--addons/game.controller.snes/resources/icon.pngbin0 -> 140225 bytes
-rw-r--r--addons/game.controller.snes/resources/language/resource.language.en_gb/strings.po69
-rw-r--r--addons/game.controller.snes/resources/layout.pngbin0 -> 229364 bytes
-rw-r--r--addons/game.controller.snes/resources/layout.xml19
-rw-r--r--addons/game.controller.snes/resources/mask.pngbin0 -> 5573 bytes
-rw-r--r--system/addon-manifest.xml1
7 files changed, 105 insertions, 0 deletions
diff --git a/addons/game.controller.snes/addon.xml b/addons/game.controller.snes/addon.xml
new file mode 100644
index 0000000000..45af521b26
--- /dev/null
+++ b/addons/game.controller.snes/addon.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<addon id="game.controller.snes"
+ name="SNES Controller"
+ version="1.0.7"
+ provider-name="Team Kodi">
+ <extension point="kodi.game.controller" library="resources/layout.xml"/>
+ <extension point="xbmc.addon.metadata">
+ <summary lang="en_GB">SNES controller</summary>
+ <description lang="en_GB">The SNES (akso known as Super NES or Super Nintendo) is a 16-bit console released in 1990. The controller design served as inspiration for the PlayStation, Dreamcast, Xbox and Wii Classic controllers.</description>
+ <disclaimer lang="en_GB">Image credit: OpenEmu (openemu.org)</disclaimer>
+ <platform>all</platform>
+ <assets>
+ <icon>resources/icon.png</icon>
+ </assets>
+ </extension>
+</addon>
diff --git a/addons/game.controller.snes/resources/icon.png b/addons/game.controller.snes/resources/icon.png
new file mode 100644
index 0000000000..b9f0bba96f
--- /dev/null
+++ b/addons/game.controller.snes/resources/icon.png
Binary files differ
diff --git a/addons/game.controller.snes/resources/language/resource.language.en_gb/strings.po b/addons/game.controller.snes/resources/language/resource.language.en_gb/strings.po
new file mode 100644
index 0000000000..ca5ed5a126
--- /dev/null
+++ b/addons/game.controller.snes/resources/language/resource.language.en_gb/strings.po
@@ -0,0 +1,69 @@
+# Kodi Media Center language file
+# Addon Name: SNES Controller
+# Addon id: game.controller.snes
+# Addon Provider: Team Kodi
+msgid ""
+msgstr ""
+"Project-Id-Version: game.controller.snes\n"
+"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n"
+"POT-Creation-Date: 2014-05-30 17:00+8\n"
+"PO-Revision-Date: 2014-05-30 17:00+8\n"
+"Last-Translator: Kodi Translation Team\n"
+"Language-Team: English (http://www.transifex.com/projects/p/xbmc-addons/language/en/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: en\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgctxt "#30000"
+msgid "Super Nintendo"
+msgstr ""
+
+msgctxt "#30001"
+msgid "A"
+msgstr ""
+
+msgctxt "#30002"
+msgid "B"
+msgstr ""
+
+msgctxt "#30003"
+msgid "X"
+msgstr ""
+
+msgctxt "#30004"
+msgid "Y"
+msgstr ""
+
+msgctxt "#30005"
+msgid "Start"
+msgstr ""
+
+msgctxt "#30006"
+msgid "Select"
+msgstr ""
+
+msgctxt "#30007"
+msgid "Up"
+msgstr ""
+
+msgctxt "#30008"
+msgid "Right"
+msgstr ""
+
+msgctxt "#30009"
+msgid "Down"
+msgstr ""
+
+msgctxt "#30010"
+msgid "Left"
+msgstr ""
+
+msgctxt "#30011"
+msgid "Left Bumper"
+msgstr ""
+
+msgctxt "#30012"
+msgid "Right Bumper"
+msgstr ""
diff --git a/addons/game.controller.snes/resources/layout.png b/addons/game.controller.snes/resources/layout.png
new file mode 100644
index 0000000000..7b45cd40af
--- /dev/null
+++ b/addons/game.controller.snes/resources/layout.png
Binary files differ
diff --git a/addons/game.controller.snes/resources/layout.xml b/addons/game.controller.snes/resources/layout.xml
new file mode 100644
index 0000000000..652cde2055
--- /dev/null
+++ b/addons/game.controller.snes/resources/layout.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<layout label="30000" image="layout.png" mask="mask.png">
+ <category name="face" label="35074">
+ <button name="a" type="digital" label="30001"/>
+ <button name="b" type="digital" label="30002"/>
+ <button name="x" type="digital" label="30003"/>
+ <button name="y" type="digital" label="30004"/>
+ <button name="start" type="digital" label="30005"/>
+ <button name="select" type="digital" label="30006"/>
+ <button name="up" type="digital" label="30007"/>
+ <button name="right" type="digital" label="30008"/>
+ <button name="down" type="digital" label="30009"/>
+ <button name="left" type="digital" label="30010"/>
+ </category>
+ <category name="shoulder" label="35075">
+ <button name="leftbumper" type="digital" label="30011"/>
+ <button name="rightbumper" type="digital" label="30012"/>
+ </category>
+</layout>
diff --git a/addons/game.controller.snes/resources/mask.png b/addons/game.controller.snes/resources/mask.png
new file mode 100644
index 0000000000..88dcef1872
--- /dev/null
+++ b/addons/game.controller.snes/resources/mask.png
Binary files differ
diff --git a/system/addon-manifest.xml b/system/addon-manifest.xml
index b9f88e4e65..e5ea2ed425 100644
--- a/system/addon-manifest.xml
+++ b/system/addon-manifest.xml
@@ -2,6 +2,7 @@
<addon>audioencoder.kodi.builtin.aac</addon>
<addon>audioencoder.kodi.builtin.wma</addon>
<addon>game.controller.default</addon>
+ <addon>game.controller.snes</addon>
<!-- TODO: Remove game add-ons when no longer applicable -->
<addon optional="true">game.libretro</addon>
<addon optional="true">game.libretro.2048</addon>