xasuma wrote:
- Disable mouse/pen clicks. (So people who drag the pen can properly play).
Probably this will do the disable mouse keys.... (didn't have the time to test this because i can't get access to IDEs till after April
)
public void mouseMoved(int oldx, int oldy, int newx, int newy)
public void mousePressed(int button, int x, int y)
public void mouseReleased(int button, int x, int y)
public void mouseWheelMoved(int change)
Probably can do something like this
if (!disableMouseKeys) {
public void mousePressed(int button, int x,int y)
}
Found this on Slick2D website (http://slick.ninjacave.com/wiki/index.php?title=Input#Mouse_2)
Places where mouse keys should be disabled: during gameplay (but rellow mouse keys when game paused)