Example usage for com.badlogic.gdx InputProcessor mouseMoved

List of usage examples for com.badlogic.gdx InputProcessor mouseMoved

Introduction

In this page you can find the example usage for com.badlogic.gdx InputProcessor mouseMoved.

Prototype

public boolean mouseMoved(int screenX, int screenY);

Source Link

Document

Called when the mouse was moved without any buttons being pressed.

Usage

From source file:com.kamigaku.libgdx.extension.InputMultiplexerToggle.java

@Override
public boolean mouseMoved(int screenX, int screenY) {
    for (InputProcessor ip : _processors.keySet())
        if (_processors.get(ip) && ip.mouseMoved(screenX, screenY))
            return true;
    return false;
}