Page cover

Input Controller Data

Like what your seeing?

Introduction

using HeathenEngineering.SteamworksIntegration;
public struct InputControllerData

Returned as a result of the API.Input.Client.Update(...) method this contains all the current action data and report of changes since the last update was ran for a specific controller.

Fields and Attributes

Handle

The controller handle this data is for

public InputHandle_t handle;

Inputs

A collection of InputActionData for every tracked Input Action available

public InputActionData[] inputs;

Changes

A collection of InputActionUpdate for each input action whose current state differs from its previous e.g. what changed this frame.

Methods

Get Action Data

Returns the InputActionData for a specified action

or

Get Active

Returns the "active" value for a specified action

Get State

Returns the "state" value for a specified action

Get Float

Returns the "float" value for a specified action

Get Float2

Returns the "float2" value for a specified action

Last updated