// Path: src/main/java/com/github/strikerx3/jxinput/enums/XInputAxis.java
// public enum XInputAxis {
//     LEFT_THUMBSTICK_X, LEFT_THUMBSTICK_Y,
//     RIGHT_THUMBSTICK_X, RIGHT_THUMBSTICK_Y,
//     LEFT_TRIGGER, RIGHT_TRIGGER,
//     DPAD;
// }


import com.github.strikerx3.jxinput.enums.XInputAxis;
        return lastAxes.ryRaw - axes.ryRaw;
    }

    /**
     * Returns the difference of the raw value of the Left Trigger axis between two consecutive polls. A positive value means
     * the trigger was pressed, while a negative value indicates that the trigger was released.
     *
     * @return the delta of the raw value of the Left Trigger axis
     */
    public int getLTRawDelta() {
        return lastAxes.ltRaw - axes.ltRaw;
    }

    /**
     * Returns the difference of the raw value of the Right Trigger axis between two consecutive polls. A positive value
     * means the trigger was pressed, while a negative value indicates that the trigger was released.
     *
     * @return the delta of the raw value of the Right Trigger axis
     */
    public int getRTRawDelta() {
        return lastAxes.rtRaw - axes.rtRaw;
    }

    /**
     * Returns the difference of the specified axis between two consecutive polls. Refer to the other methods of this class
     * to learn what positive and negative value means for each axis.
     *
     * @param axis the axis the get the delta from
     * @return the delta for the specified axis
     */
// Path: src/main/java/com/github/strikerx3/jxinput/enums/XInputAxis.java
// public enum XInputAxis {
//     LEFT_THUMBSTICK_X, LEFT_THUMBSTICK_Y,
//     RIGHT_THUMBSTICK_X, RIGHT_THUMBSTICK_Y,
//     LEFT_TRIGGER, RIGHT_TRIGGER,
//     DPAD;
// }


// Path: src/main/java/com/github/strikerx3/jxinput/XInputAxesDelta.java
import com.github.strikerx3.jxinput.enums.XInputAxis;

        return lastAxes.ryRaw - axes.ryRaw;
    }

    /**
     * Returns the difference of the raw value of the Left Trigger axis between two consecutive polls. A positive value means
     * the trigger was pressed, while a negative value indicates that the trigger was released.
     *
     * @return the delta of the raw value of the Left Trigger axis
     */
    public int getLTRawDelta() {
        return lastAxes.ltRaw - axes.ltRaw;
    }

    /**
     * Returns the difference of the raw value of the Right Trigger axis between two consecutive polls. A positive value
     * means the trigger was pressed, while a negative value indicates that the trigger was released.
     *
     * @return the delta of the raw value of the Right Trigger axis
     */
    public int getRTRawDelta() {
        return lastAxes.rtRaw - axes.rtRaw;
    }

    /**
     * Returns the difference of the specified axis between two consecutive polls. Refer to the other methods of this class
     * to learn what positive and negative value means for each axis.
     *
     * @param axis the axis the get the delta from
     * @return the delta for the specified axis
     */
    public float getDelta(final XInputAxis axis) {