diff options
author | Garrett Brown <themagnificentmrb@gmail.com> | 2015-02-18 17:30:52 -0800 |
---|---|---|
committer | Garrett Brown <themagnificentmrb@gmail.com> | 2016-03-10 21:31:58 -0800 |
commit | f87753740a2dea3eacd68ad94291bd0cce924f3b (patch) | |
tree | d4eaed080beef648e270027103e62e952bbcd4e0 /addons/kodi.game | |
parent | afec10266946bad4d83c31a5d6c1b76fdfb540d1 (diff) |
Controller add-ons
Diffstat (limited to 'addons/kodi.game')
-rw-r--r-- | addons/kodi.game/addon.xml | 8 | ||||
-rw-r--r-- | addons/kodi.game/controller.xsd | 21 |
2 files changed, 29 insertions, 0 deletions
diff --git a/addons/kodi.game/addon.xml b/addons/kodi.game/addon.xml new file mode 100644 index 0000000000..44f2ca5bb5 --- /dev/null +++ b/addons/kodi.game/addon.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<addon id="kodi.game" version="1.0.14" provider-name="Team-Kodi"> + <backwards-compatibility abi="1.0.14"/> + <requires> + <import addon="xbmc.core" version="0.1.0"/> + </requires> + <extension-point id="controller" schema="controller.xsd"/> +</addon> diff --git a/addons/kodi.game/controller.xsd b/addons/kodi.game/controller.xsd new file mode 100644 index 0000000000..a5383f826b --- /dev/null +++ b/addons/kodi.game/controller.xsd @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="extension"> + <xs:complexType> + <xs:complexContent> + <xs:extension base="gamecontroller"> + <xs:attribute name="point" type="xs:string" use="required"/> + <xs:attribute name="id" type="simpleIdentifier"/> + <xs:attribute name="name" type="xs:string"/> + <xs:attribute name="library" type="xs:string"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:simpleType name="simpleIdentifier"> + <xs:restriction base="xs:string"> + <xs:pattern value="[^.]+"/> + </xs:restriction> + </xs:simpleType> +</xs:schema> |