Gamecontroller Control: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
 
Line 5: Line 5:
<syntaxhighlight lang="xml" enclose="div">
<syntaxhighlight lang="xml" enclose="div">
<control type="gamecontroller" id="31">
<control type="gamecontroller" id="31">
       <description>My first video control</description>
       <description>My first gamecontroller control</description>
       <left>80</left>
       <left>80</left>
       <top>60</top>
       <top>60</top>

Latest revision as of 23:55, 30 August 2016

The gamecontroller control is used to display an image of the selected gamecontroller in DialogGameControllers.xml. You can choose the position, and size of the gamecontroller image.

Example

<control type="gamecontroller" id="31">
      <description>My first gamecontroller control</description>
      <left>80</left>
      <top>60</top>
      <width>250</width>
      <height>200</height>
</control>

Available tags

Only the default control tags are applicable to this control.


See also

Development: