Fork me on GitHub

SWFInputManager Class

Summary

Interface for creating devices - all devices ultimately get enumerated/created via a factory. A factory can create multiple types of objects.
Namespace
SharpInputSystem.SWF
Interfaces
Base Types
graph BT Type-->Base0["InputManager"] click Base0 "/sharpinputsystem/api/SharpInputSystem/InputManager" Base0-->Base1["object"] Type-.->Interface0["InputObjectFactory"] click Interface0 "/sharpinputsystem/api/SharpInputSystem/InputObjectFactory" Type["SWFInputManager"] class Type type-node

Syntax

public class SWFInputManager : InputManager, InputObjectFactory

Fields

Name Constant Value Summary
_createdInputObjects
Inherited from InputManager

Properties

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

Methods

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