Input System  v0.1
ISX.InputTemplateAttribute Class Reference

Attribute to control template settings of a type used to generate an InputTemplate. More...

Inherits Attribute.

Public Attributes

Type stateType
 Associates a state representation with an input device and drives the control template generated for the device from its state rather than from the device class. More...
 

Detailed Description

Attribute to control template settings of a type used to generate an InputTemplate.

Member Data Documentation

◆ stateType

Type ISX.InputTemplateAttribute.stateType

Associates a state representation with an input device and drives the control template generated for the device from its state rather than from the device class.

This is *only* useful if you have a state struct dictating a specific state layout and you want the device template to automatically take offsets from the fields annoated with InputControlAttribute.