1
Window / Problem with Button pressed
« on: November 17, 2017, 07:09:30 am »
Hi, I want to detect when the joystick button was pressed. But, I have a problem that once a button is pressed, the button was detected to be pressed always. I used only once in the if statement sf::Joystick::isButtonPressed() but the debug message says button was pressed all the time.
I attached my screenshot of the program. What could cause it? and how to solve this.
I attached my screenshot of the program. What could cause it? and how to solve this.