-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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 #8807 from garbear/controller-input
Controller input
- Loading branch information
Showing
237 changed files
with
14,408 additions
and
7,178 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,16 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<addon id="game.controller.default" | ||
name="Default Controller" | ||
version="1.0.1" | ||
provider-name="garbear"> | ||
<requires> | ||
</requires> | ||
<extension point="kodi.game.controller" library="layout.xml"/> | ||
<extension point="xbmc.addon.metadata"> | ||
<summary>Default Controller</summary> | ||
<description>The default media center controller is based on the Xbox 360 controller.</description> | ||
<disclaimer></disclaimer> | ||
<platform>all</platform> | ||
<nofanart>true</nofanart> | ||
</extension> | ||
</addon> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,30 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<layout name="default" label="30000" image="layout.png"> | ||
<face> | ||
<button name="a" type="digital" label="30001" geometry="circle" x="651" y="266" radius="32"/> | ||
<button name="b" type="digital" label="30002" geometry="circle" x="709" y="210" radius="32"/> | ||
<button name="x" type="digital" label="30003" geometry="circle" x="583" y="210" radius="32"/> | ||
<button name="y" type="digital" label="30004" geometry="circle" x="651" y="158" radius="32"/> | ||
<button name="start" type="digital" label="30005" geometry="ellipse" x="478" y="227" rx="22" ry="16"/> | ||
<button name="back" type="digital" label="30006" geometry="ellipse" x="290" y="227" rx="22" ry="16"/> | ||
<button name="guide" type="digital" label="30007" geometry="circle" x="386" y="221" radius="50"/> | ||
<button name="up" type="digital" label="30010" geometry="circle" x="117" y="234" r="52"/> | ||
<button name="down" type="digital" label="30011" geometry="circle" x="500" y="342" r="52"/> | ||
<button name="right" type="digital" label="30012" geometry="rectangle" x1="233" y1="288" x2="281" y2="332"/> | ||
<button name="left" type="digital" label="30013" geometry="rectangle" x1="233" y1="353" x2="281" y2="397"/> | ||
<button name="leftthumb" type="digital" label="30008" geometry="rectangle" x1="131" y1="0" x2="194" y2="40"/> | ||
<button name="rightthumb" type="digital" label="30009" geometry="rectangle" x1="567" y1="0" x2="631" y2="40"/> | ||
</face> | ||
<shoulder> | ||
<button name="leftbumper" type="digital" label="30014" geometry="rectangle" x1="272" y1="321" x2="316" y2="365"/> | ||
<button name="rightbumper" type="digital" label="30015" geometry="rectangle" x1="198" y1="321" x2="242" y2="365"/> | ||
</shoulder> | ||
<triggers> | ||
<button name="lefttrigger" type="analog" label="30016" geometry="rectangle" x1="36" y1="40" x2="207" y2="108"/> | ||
<button name="righttrigger" type="analog" label="30017" geometry="rectangle" x1="556" y1="40" x2="728" y2="108"/> | ||
</triggers> | ||
<analogsticks> | ||
<analogstick name="leftstick" label="30008" geometry="circle" x="500" y="342" r="52"/> | ||
<analogstick name="rightstick" label="30009" geometry="circle" x="500" y="342" r="52"/> | ||
</analogsticks> | ||
</layout> |
90 changes: 90 additions & 0 deletions
90
addons/game.controller.default/resources/language/resource.language.en_gb/strings.po
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,90 @@ | ||
# XBMC Media Center language file | ||
# Addon Name: Default controller | ||
# Addon id: game.controller.default | ||
# Addon Provider: Libretro Team | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Libretro Clients\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: XBMC 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 "Kodi" | ||
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 "Back" | ||
msgstr "" | ||
|
||
msgctxt "#30007" | ||
msgid "Guide" | ||
msgstr "" | ||
|
||
msgctxt "#30008" | ||
msgid "Left Stick" | ||
msgstr "" | ||
|
||
msgctxt "#30009" | ||
msgid "Right Stick" | ||
msgstr "" | ||
|
||
msgctxt "#30010" | ||
msgid "Up" | ||
msgstr "" | ||
|
||
msgctxt "#30011" | ||
msgid "Down" | ||
msgstr "" | ||
|
||
msgctxt "#30012" | ||
msgid "Right" | ||
msgstr "" | ||
|
||
msgctxt "#30013" | ||
msgid "Left" | ||
msgstr "" | ||
|
||
msgctxt "#30014" | ||
msgid "Left Shoulder" | ||
msgstr "" | ||
|
||
msgctxt "#30015" | ||
msgid "Right Shoulder" | ||
msgstr "" | ||
|
||
msgctxt "#30016" | ||
msgid "Left Trigger" | ||
msgstr "" | ||
|
||
msgctxt "#30017" | ||
msgid "Right Trigger" | ||
msgstr "" | ||
|
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,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> |
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"?> | ||
<!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> |
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,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<addon id="kodi.peripheral" version="1.0.17" provider-name="Team-Kodi"> | ||
<backwards-compatibility abi="1.0.16"/> | ||
<requires> | ||
<import addon="xbmc.core" version="0.1.0"/> | ||
</requires> | ||
</addon> |
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,5 @@ | ||
# Ignore everything in this directory | ||
* | ||
# Except this file | ||
!.gitignore | ||
|
Oops, something went wrong.