Returns true if the joystick key button is being pressed. joystickId specifies the target joystick.
ETHInput@ input = GetInputHandle();
// if player one pressed joystick button #8
if (input.JoyButtonDown(0, JK_08))
{
print("Player 1 is holding button 8!");
}
// if player two is pressing left
if (input.JoyButtonDown(1, JK_LEFT))
{
print("Player 2 is holding left button!");
}