Skip to content

IClientInput

Interface · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll

public interface IClientInput

OMSI keyboard.cfg commands, after OMX has resolved physical keys and modifiers.

string[] BoundCommands { get; }
IEventSource<InputCommandChanged> Changed { get; }
bool IsDown(string command);

Parameters

  • command string

Returns bool

bool SetCommand(string command, bool down);

Holds or releases a bound command through the real vehicle input pipeline.

Parameters

  • command string
  • down bool

Returns bool