Input Action
Last updated
Last updated
Support us as a and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our ... become a sponsor today!
Represents a Steam Input Action such as defined in your games IGA file.
These must be created as part of your object .
InputActionType
type
The type of action (Analog or Digital)
string
actionName
The name of the action as it appears in the IGA file
InputAnalogActionHandle_t
AnalogHandle
The native Steam API handle if this is a analog handle and has been resolved.
InputDigitalActionHandle_t
DigitalHandle
The native Steam API handle if this is a digital handle and has been resolved.
This returns the current cashed state for this action and for this controller, this does not update the state with the latest data from Steam it simply returns the last updated state. Typically you would have a behaviour poll all relivent actions at the start of an update and let various behaviours simply read the last known state for the actions they are interested in.
Once you have a script updating the status of your actions other behaviours can simply read that most recent state;
Call this to update the state of the action for the indicated controller.
You can optionally call this for all actions at once via the Steam Settings object
This returns the set of textures related to the action for the given controller and action set. For example if this action exists on the indicated set and is mapped to the B button and Right Trigger then the B button texture and RT texture will be returned.
The images for these can be configured in your app.
This returns the set of names related to the action for the given controller and action set. For example if this action exists on the indicated set and is mapped to B and Right Trigger then the string "B Button" and "Right Trigger" will be returned.
Click the AI or DI buttton to change the type
AI represents "Analog Input"
DI represents "Digital Input"
Input Actions are created as part of your object