Fork me on GitHub

InputManager Class

Namespace
SharpInputSystem
Base Types
  • object
Derived Types
graph BT Type-->Base0["object"] Type["InputManager"] class Type type-node Derived0["SWFInputManager"]-->Type click Derived0 "/sharpinputsystem/api/SharpInputSystem.SWF/SWFInputManager"

Syntax

public abstract class InputManager

Fields

Name Constant Value Summary
_createdInputObjects

Properties

Name Value Summary
FreeDevices IEnumerable<KeyValuePair<Type, string>>
Lists all unused devices
InputSystemName string
Gets the name of the current input system.. eg. "DirectX", "Sdl", "Xna", etc
Version string
Gets version of the Assembly

Methods

Name Value Summary
_initialize(ParameterList) void
CreateInputObject<T>(bool, string) T
Returns the type of input requested or raises Exception
CreateInputSystem(object) InputManager
Creates appropriate input system dependent on platform.
static
CreateInputSystem(ParameterList) InputManager
Creates appropriate input system dependent on platform.
static
CreateInputSystem(PlatformApi, ParameterList) InputManager
Creates appropriate input system dependent on platform.
static
CreateInputSystem(Type, ParameterList) InputManager
Creates appropriate input system dependent on platform.
static
DestroyInputObject(InputObject) void
Destroys Input Object
DeviceCount<T>() int
Returns the number of the specified devices discovered by OIS
RegisterFactory(InputObjectFactory) void
UnregisterFactory(InputObjectFactory) void