Fork me on GitHub

InputObjectFactory.

CreateInputObject<T>(InputManager, bool, string) Method

Summary

Creates the InputObject
Namespace
SharpInputSystem
Containing Type
InputObjectFactory

Syntax

InputObject CreateInputObject<T>(InputManager creator, bool bufferMode, string vendor) 
    where T : InputObject

Type Parameters

Name Description
T Type to create

Parameters

Name Type Description
creator InputManager
bufferMode bool True to setup for buffered events
vendor string Create a device with the vendor name, "" means vendor name is unimportant

Return Value

Type Description
InputObject