Lazy Foo' Productions
Yes, I am keeping the old tutorial set in the old layout for the sake of having a nostalgic eater egg. It's not because I am too lazy to port this over to the data driven static site generator.
SDL Forums
SDL Tutorials
Articles
OpenGL Tutorials
OpenGL Forums
News
FAQs
Contact
Donations
Key States
Here you're going to check if a key is pressed without even using events. This is possible due to keystates.