|
Input System
v0.1
|
A template lays out the composition of an input control. More...
Classes | |
| struct | Builder |
| Build a template programmatically. Primarily for use by template constructors registered with the system. More... | |
| struct | ControlTemplate |
| Specification for the composition of a direct or indirect child control. More... | |
A template lays out the composition of an input control.
Templates can be created in three ways:
Once constructed, templates are immutable (but you can always replace a registered template in the system and it will affect everything constructed from the template).
Templates can be for arbitrary control rigs or for entire devices. Device templates can use the 'deviceDescriptor' field to specify regexs that are to match against compatible devices.
InputTemplate objects are considered temporaries. Except in the editor, we don't keep them around beyond device creation.