InputControllerSystem
Classes
Prefer to use InputSystem instead
Functions
Proxy
Kind: global class
- Proxy
- new Proxy(signal)
- .signal :
Signal - .bindings :
Array.<InputControllerBinding> - .registerBinding(binding)
- .add(binding)
- .remove(binding)
new Proxy(signal)
| Param | Type |
|---|---|
| signal | Signal |
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
| Param | Type |
|---|---|
| binding | InputControllerBinding |
proxy.add(binding)
Kind: instance method of Proxy
| Param | Type |
|---|---|
| binding | InputControllerBinding |
proxy.remove(binding)
Kind: instance method of Proxy
| Param | Type |
|---|---|
| binding | InputControllerBinding |
InputControllerSystem
Prefer to use InputSystem instead
Kind: global class
inputControllerSystem.link(component, entity)
Kind: instance method of InputControllerSystem
| Param | Type |
|---|---|
| component | InputController |
| entity |
inputControllerSystem.unlink(component, entity)
Kind: instance method of InputControllerSystem
| Param | Type |
|---|---|
| component | InputController |
| entity |
getOrCreateProperty(object, propertyName, constructor) ⇒ *
Kind: global function
| Param | Type |
|---|---|
| object | Object |
| propertyName | String |
| constructor | function |
getOrCreateProxy(proxies, path, signal) ⇒ Proxy
Kind: global function
| Param | Type |
|---|---|
| proxies | Object |
| path | String |
| signal | Signal |
applyBindings(mapping, devices, proxies)
Kind: global function
| Param | Type |
|---|---|
| mapping | List.<InputControllerBinding> |
| devices | |
| proxies |
removeBindings(mapping, devices, proxies)
Kind: global function
| Param | Type |
|---|---|
| mapping | List.<InputControllerBinding> |
| devices | |
| proxies |