Skip to main content

InputControllerSystem

Classes

Proxy
InputControllerSystem

Prefer to use InputSystem instead

Functions

getOrCreateProperty(object, propertyName, constructor)*
getOrCreateProxy(proxies, path, signal)Proxy
applyBindings(mapping, devices, proxies)
removeBindings(mapping, devices, proxies)

Proxy

Kind: global class

new Proxy(signal)

ParamType
signalSignal

proxy.signal : Signal

Kind: instance property of Proxy

proxy.bindings : Array.<InputControllerBinding>

Kind: instance property of Proxy

proxy.registerBinding(binding)

Kind: instance method of Proxy

ParamType
bindingInputControllerBinding

proxy.add(binding)

Kind: instance method of Proxy

ParamType
bindingInputControllerBinding

proxy.remove(binding)

Kind: instance method of Proxy

ParamType
bindingInputControllerBinding

InputControllerSystem

Prefer to use InputSystem instead

Kind: global class

inputControllerSystem.link(component, entity)

Kind: instance method of InputControllerSystem

ParamType
componentInputController
entity

inputControllerSystem.unlink(component, entity)

Kind: instance method of InputControllerSystem

ParamType
componentInputController
entity

getOrCreateProperty(object, propertyName, constructor) ⇒ *

Kind: global function

ParamType
objectObject
propertyNameString
constructorfunction

getOrCreateProxy(proxies, path, signal) ⇒ Proxy

Kind: global function

ParamType
proxiesObject
pathString
signalSignal

applyBindings(mapping, devices, proxies)

Kind: global function

ParamType
mappingList.<InputControllerBinding>
devices
proxies

removeBindings(mapping, devices, proxies)

Kind: global function

ParamType
mappingList.<InputControllerBinding>
devices
proxies