Search in sources :

Example 1 with NewtMouseInput

use of com.jme3.input.jogl.NewtMouseInput in project jmonkeyengine by jMonkeyEngine.

the class JoglNewtAbstractDisplay method getMouseInput.

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

Aggregations

NewtMouseInput (com.jme3.input.jogl.NewtMouseInput)1