Joystick indices
Posted: Tue Mar 22, 2011 12:54 am
Wheee, I'm making a game finally. Actually, I've fallen madly in LOVE with Lua. I wanna marry it right now.
I'm sure it has been asked before, but why does love.joystick index game pads starting at 0 instead of 1? Is the index just taken directly from SDL? This is information that should be in the Wiki.
Also, are there any plans to change this behavior in the future? Not that I'm so anxious, but it would be good to prepare for something that might make my code break with the next LOVE release.
Thankz! You guys are making my spring sleepless and wonderful.
I'm sure it has been asked before, but why does love.joystick index game pads starting at 0 instead of 1? Is the index just taken directly from SDL? This is information that should be in the Wiki.
Also, are there any plans to change this behavior in the future? Not that I'm so anxious, but it would be good to prepare for something that might make my code break with the next LOVE release.
Thankz! You guys are making my spring sleepless and wonderful.