1
Window / Re: Problem with Button pressed
« on: November 17, 2017, 01:17:56 pm »
Cool thanks that worked for me.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Because button was pressed for multiple "ticks". If you wanna handle event - handle sf::Event. Or implement own class kindawhat is the value for oldState initially?newState = sf::Joystick::isButtonPressed
if (oldState != newState && newState) isPressed = true;
else isPressed = false;
oldState = newState
if (sf::Joystick::getAxisPosition(joyID, joyAxis) > GAMEPAD_THRESHOLD)What is the value of GAMEPAD_THRESHOLD?