<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.trainzsimulator.com/index.php?action=history&amp;feed=atom&amp;title=Hardware-controls-list_container</id>
	<title>Hardware-controls-list container - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trainzsimulator.com/index.php?action=history&amp;feed=atom&amp;title=Hardware-controls-list_container"/>
	<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Hardware-controls-list_container&amp;action=history"/>
	<updated>2026-11-05T17:23:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Hardware-controls-list_container&amp;diff=10846&amp;oldid=prev</id>
		<title>Pw3r: Created page with &quot;The hardware-controls-list container is a config.txt file entry used by the controls tag in the [[controller-device-list_container|con...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Hardware-controls-list_container&amp;diff=10846&amp;oldid=prev"/>
		<updated>2017-11-22T06:11:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &lt;a href=&quot;/wiki/Hardware-controls-list_container&quot; title=&quot;Hardware-controls-list container&quot;&gt;hardware-controls-list container&lt;/a&gt; is a &lt;a href=&quot;/wiki/Config.txt_file&quot; title=&quot;Config.txt file&quot;&gt;config.txt file&lt;/a&gt; entry used by the controls tag in the [[controller-device-list_container|con...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The [[hardware-controls-list_container|hardware-controls-list container]] is a [[config.txt file]] entry used by the controls tag in the [[controller-device-list_container|controller-device-list container]] for [[KIND tni-controls-plugin|tni-controls-plugin]] assets. It provides the specification for an individual control on a hardware device (e.g. the throttle lever on a RailDriver device).&lt;br /&gt;
&lt;br /&gt;
==Supported Tags==&lt;br /&gt;
The hardware-controls-list container is a list of hardware-control subcontainers with no standalone tags. Each hardware-control subcontainer supports the following tags.&lt;br /&gt;
&lt;br /&gt;
  name-token&lt;br /&gt;
  desc-token&lt;br /&gt;
  type&lt;br /&gt;
&lt;br /&gt;
====name-token====&lt;br /&gt;
:Type: string&lt;br /&gt;
:Desc: The id of a [[&amp;quot;String-table&amp;quot; container|string-table]] entry for the localised name of the control. This string table entry will be used in the Trainz UI to refer to the control. It should be very short (i.e. one or two words).&lt;br /&gt;
&lt;br /&gt;
====desc-token====&lt;br /&gt;
:Type: string&lt;br /&gt;
:Desc: The id of a [[&amp;quot;String-table&amp;quot; container|string-table]] entry for the localised description of the control. This string table entry will be used in the Trainz UI to give detail to the player about the control. It should be fairly short (i.e. one short sentence), and is best omitted for anything other than complex controls.&lt;br /&gt;
&lt;br /&gt;
====type====&lt;br /&gt;
:Type: hardware-control-type  (hardware-control-types.txt)&lt;br /&gt;
:Desc: Specifies the &amp;#039;type&amp;#039; of this control, as follows:&lt;br /&gt;
:*lever- A single axis lever control, like a RailDriver throttle, or some kind of slider.&lt;br /&gt;
:*button - A button control, which will send input events for pressed, released and held, identically to a key on a keyboard.&lt;br /&gt;
:*switch- A switch control, this is identical to a button except it has no &amp;#039;held&amp;#039; behaviour.&lt;br /&gt;
&lt;br /&gt;
Note that all of these controls support analog input in the range of 0 to 1. Controls with two or more dimensions of movement may be specified by using multiple controls. For example, a joystick/thumbstick can be represented as two levers, one for each axis. See the [[TNI_Controls_Interface|TNIControls]] documentation for more information about control input.&lt;br /&gt;
&lt;br /&gt;
==Example container==&lt;br /&gt;
See [[KIND_tni-controls-plugin#Example_Config.txt|tni-controls-plugin]].&lt;br /&gt;
&lt;br /&gt;
==Categories==&lt;br /&gt;
[[Category:Config Container]]&lt;/div&gt;</summary>
		<author><name>Pw3r</name></author>
	</entry>
</feed>