Mouse mouse = this.config.getMouse();
int button = e.getButton();
switch(button){
case MouseEvent.BUTTON1 : mouse.press(Mouse.Button.LEFT); break;
case MouseEvent.BUTTON2 : mouse.press(Mouse.Button.MIDDLE); break;
case MouseEvent.BUTTON3 : mouse.press(Mouse.Button.RIGHT); break;
}
}
@Override
public void mouseReleased(MouseEvent e) {