Skip to content

InputAPI reference

Class ActionBindingData

Namespace: MicroEngine.Input
Assembly: MicroEngine.Input.dll
Guide: Input

The bindings of one action as data, by name (keys, buttons and axes are their enum names), so saved bindings stay valid when the engine adds keys. Part of InputBindingSet.

C#
public sealed class ActionBindingData

Inheritance

object ← ActionBindingData

Constructors

ActionBindingData()

C#
public ActionBindingData()

Properties

Action

The action.

C#
public string Action { get; set; }

Property Value

string

Axes

Axes as “RightTrigger+” or “LeftX-”.

C#
public List<string> Axes { get; set; }

Property Value

List<string>

Buttons

Gamepad buttons by name (“A”, “RightShoulder”).

C#
public List<string> Buttons { get; set; }

Property Value

List<string>

Chords

Key combinations as “LeftAlt|RightAlt+Enter”: the modifiers (any one of them), then the key.

C#
public List<string> Chords { get; set; }

Property Value

List<string>

Keys

Keys by name (“A”, “Space”).

C#
public List<string> Keys { get; set; }

Property Value

List<string>

Stick

A left-stick direction (“Left”…), or “None”.

C#
public string Stick { get; set; }

Property Value

string