# Get stick analogue XY position using Jinput in lwjgl

I want to capture the movement of the analogue stick of the gamePad.

is there any equivalent function to this?

 public void mouseMoved(MouseEvent mouseEvent) {
mouseEvent.getX(); //return the X coordinate of the cursor inside a component
mouseEvent.getY();//return the Y coordinate of the cursor inside a component
}


into lwjgl.input.Controllers, I found controller.getAxisValue() but this one doesn't work as the function above.