get stick analogue XY position using Jinput in lwjgl
- by oIrC
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.
any help?
thanks.