int xValue = analogRead(joyX); int yValue = analogRead(joyY); int joyButtonState = digitalRead(joyButton);