Timeline for How to tell whether the joystick axis is released (not pushed) in SDL2 or in general?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 22, 2018 at 0:32 | comment | added | Dormin | if(dead_zone < 0 || dead_zone > 0) // do something else // do nothing is this what you are looking for?? | |
| Jan 22, 2018 at 0:25 | comment | added | ymfoi | I think I didn't make my question clear. The dead zone is set by myself, I'm looking for a way to determine when the axis is back to center while avoiding spurious motion detection. | |
| Jan 22, 2018 at 0:19 | history | edited | Dormin | CC BY-SA 3.0 |
added 2 characters in body
|
| Jan 22, 2018 at 0:12 | history | answered | Dormin | CC BY-SA 3.0 |