InputBinding

Defines a single Input Binding.

Constructors

this
this(uint code, uint flags, float[2] deadzone)

Default CTOR

this
this(string code, uint flags, float[2] deadzone)

CTOR that creates code from string

Members

Functions

opCmp
int opCmp(InputBinding other)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(uint other)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

IS_AXIS_AS_BUTTON
enum IS_AXIS_AS_BUTTON;

If set in the flags field, then it treats the axis as a button.

Variables

code
uint code;

Code being sent out to the target, should be a MurmurhashV3/32 code.

deadzone
float[2] deadzone;

The deadzone, if the binding is an axis.

flags
uint flags;

Stores additional properties of the input binding.

Meta