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
-
- object
- InputManager
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 |
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 |
void |
|
| CreateInputObject |
T |
Returns the type of input requested or raises Exception
Inherited from InputManager
|
| CreateInputSystem |
InputManager |
Creates appropriate input system dependent on platform.
Inherited from InputManager
static
|
| CreateInputSystem |
InputManager |
Creates appropriate input system dependent on platform.
Inherited from InputManager
static
|
| CreateInputSystem |
InputManager |
Creates appropriate input system dependent on platform.
Inherited from InputManager
static
|
| CreateInputSystem |
InputManager |
Creates appropriate input system dependent on platform.
Inherited from InputManager
static
|
| DestroyInputObject |
void |
Destroys Input Object
Inherited from InputManager
|
| DeviceCount |
int |
Returns the number of the specified devices discovered by OIS
Inherited from InputManager
|
| RegisterFactory |
void |
Inherited from InputManager
|
| UnregisterFactory |
void |
Inherited from InputManager
|