Table of Contents

Class InputBinding

Namespace
ReFuel.Input
Assembly
ReFuel.dll
public class InputBinding
Inheritance
InputBinding
Inherited Members

Constructors

InputBinding(BindPoint)

public InputBinding(BindPoint point)

Parameters

point BindPoint

Properties

Any

public bool Any { get; }

Property Value

bool

BindCommand

public static CCommand BindCommand { get; }

Property Value

CCommand

BindingsList

public static IReadOnlyList<InputBinding> BindingsList { get; }

Property Value

IReadOnlyList<InputBinding>

BindingsMap

public static IReadOnlyDictionary<BindPoint, InputBinding> BindingsMap { get; }

Property Value

IReadOnlyDictionary<BindPoint, InputBinding>

Binds

public IReadOnlyCollection<string> Binds { get; }

Property Value

IReadOnlyCollection<string>

CVars

public IEnumerable<(int direction, CBind cv)> CVars { get; }

Property Value

IEnumerable<(int direction, CBind cv)>

LsBindCommand

public static CCommand LsBindCommand { get; }

Property Value

CCommand

LsInputCommand

public static CCommand LsInputCommand { get; }

Property Value

CCommand

Point

public BindPoint Point { get; }

Property Value

BindPoint

UnbindAllCommand

public static CCommand UnbindAllCommand { get; }

Property Value

CCommand

UnbindCommand

public static CCommand UnbindCommand { get; }

Property Value

CCommand

Methods

Bind(CVar, int, int)

public void Bind(CVar cv, int direction = 1, int exclusivity = 0)

Parameters

cv CVar
direction int
exclusivity int

Bind(string, int)

public void Bind(string str, int exclusivity = 0)

Parameters

str string
exclusivity int

CallThisToInjectBinds()

public static void CallThisToInjectBinds()

GetBindings(BindPoint)

public static InputBinding GetBindings(BindPoint point)

Parameters

point BindPoint

Returns

InputBinding

HasBindings(BindPoint)

public static bool HasBindings(BindPoint point)

Parameters

point BindPoint

Returns

bool

Unbind()

public void Unbind()