Struct InputControlAliasEntry
One entry of a resolver's index, exposed so a test can assert the whole table.
Inherited Members
Namespace: Scylla.Input
Assembly: ScyllaInput.dll
Syntax
public readonly struct InputControlAliasEntry
Constructors
InputControlAliasEntry(string, string, string)
Initializes an entry.
Declaration
public InputControlAliasEntry(string layout, string aliasForm, string canonical)
Parameters
| Type | Name | Description |
|---|---|---|
| string | layout | The device layout. |
| string | aliasForm | The alternative spelling. |
| string | canonical | The canonical control name. |
Fields
AliasForm
The alternative spelling, device-relative, for example cross.
Declaration
public readonly string AliasForm
Field Value
| Type | Description |
|---|---|
| string |
Canonical
The canonical control name it resolves to, for example buttonSouth.
Declaration
public readonly string Canonical
Field Value
| Type | Description |
|---|---|
| string |
Layout
The device layout the entry belongs to, for example Gamepad.
Declaration
public readonly string Layout
Field Value
| Type | Description |
|---|---|
| string |
Methods
ToString()
Formats the entry as Layout: aliasForm -> canonical.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The formatted entry. |