Drag[en]gine Script Module DragonScript Script API  1.0
BindingInputProcessor Class Reference

Run command matching binding from binding manager. More...

Inheritance diagram for BindingInputProcessor:
DefaultInputProcessor InputProcessor

Public Member Functions

BindingManager getBindingManager ()
 Binding manager. More...
 
float getScaleMouseAxis ()
 Mouse axis scaling factor. More...
 
float getScaleMouseWheel ()
 Mouse wheel scaling factor. More...
 
void inputEvent (InputEvent event)
 Process input event. More...
 
BindingInputProcessor new (BindingManager bindingManager)
 Create input processor. More...
 
void setScaleMouseAxis (float scale)
 Set mouse axis scaling factor. More...
 
void setScaleMouseWheel (float scale)
 Set mouse wheel scaling factor. More...
 
- Public Member Functions inherited from DefaultInputProcessor
void inputEvent (InputEvent event)
 Process input event. More...
 
DefaultInputProcessor new ()
 Create input processor. More...
 

Detailed Description

Run command matching binding from binding manager.

Calls BindingManager.onInputDevicesChanged() if InputEvent.EVENT_DEVICE_ATTACHED, InputEvent.EVENT_DEVICE_DETACHED or InputEvent.EVENT_DEVICE_PARAMS_CHANGED is processed.

Member Function Documentation

◆ getBindingManager()

BindingManager getBindingManager ( )

Binding manager.

◆ getScaleMouseAxis()

float getScaleMouseAxis ( )

Mouse axis scaling factor.

◆ getScaleMouseWheel()

float getScaleMouseWheel ( )

Mouse wheel scaling factor.

◆ inputEvent()

void inputEvent ( InputEvent  event)

Process input event.

Implements InputProcessor.

◆ new()

BindingInputProcessor new ( BindingManager  bindingManager)

Create input processor.

◆ setScaleMouseAxis()

void setScaleMouseAxis ( float  scale)

Set mouse axis scaling factor.

◆ setScaleMouseWheel()

void setScaleMouseWheel ( float  scale)

Set mouse wheel scaling factor.


The documentation for this class was generated from the following file: