OnGamePadStickUpdate provides wrong (normalized) values for Direction!

Topics: Controllers and Device Hardware
May 21, 2014 at 11:31 AM
Hello Again,

I don't know if this is a feature but I believe it's more likely a bug. OnGamePadStickUpdate method provides values for thumbsticks and the Direction point provided in that method sends the normalized values, which I confirmed from the sources of Cocos2d-Xna. I did changed this behavior on my end but still wanted to ask whether this is intentional/feature or actually a bug?


May 21, 2014 at 3:46 PM
The thumb stick normalization is something I did as I felt it was easier to interpret for game development.

Make you can make it an option in the CCDirector and either normalization or analog values.... then PR that back to us.
May 24, 2014 at 10:53 AM
Yes, having it optioned is the best. I'll look into that and post the code back.