Search in sources :

Example 1 with AwtMouseInput

use of com.jme3.input.awt.AwtMouseInput in project jmonkeyengine by jMonkeyEngine.

the class JoglAbstractDisplay method getMouseInput.

@Override
public MouseInput getMouseInput() {
    if (mouseInput == null) {
        mouseInput = new AwtMouseInput();
        ((AwtMouseInput) mouseInput).setInputSource(canvas);
    }
    return mouseInput;
}
Also used : AwtMouseInput(com.jme3.input.awt.AwtMouseInput)

Aggregations

AwtMouseInput (com.jme3.input.awt.AwtMouseInput)1