# GetRawJoystickSlider

## Description

Returns the current value of the joystick slider, this can vary based on joystick type. Currently the slider index must be either 0 or 1. Sliders are typically used for additional axes.

## Definition

integer GetRawJoystickSlider( index, slider )

int agk::GetRawJoystickSlider( UINT index, UINT slider )

## Parameters

- index - The ID of the joystick to check.
- slider - The index of the slider to check.