🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

SDL Controls

Started by
1 comment, last by Kitasia 19 years, 10 months ago
Anyone know a good method to code pressing the same button twice? EX: Tapping foward twice to run.
Advertisement
You will have to write your own routines for that.

You should remember how recently the last tap was, and if it was less than some threshold, count it as a "double-tap"

Mark
I should've saw that coming, Thx anyway!

This topic is closed to new replies.

Advertisement