Fork me on GitHub

InputManager.

CreateInputSystem(PlatformApi, ParameterList) Method

Summary

Creates appropriate input system dependent on platform.
Namespace
SharpInputSystem
Containing Type
InputManager

Syntax

public static InputManager CreateInputSystem(PlatformApi api, ParameterList args)

Parameters

Name Type Description
api PlatformApi Specifies which PlatformApi to use for the input
args ParameterList contains OS specific info (such as HWND and HINSTANCE for window apps), and access mode.

Return Value

Type Description
InputManager A reference to the created manager, or raises an Exception