Talk:SDL:Tutorials:Complete 2D Engine Input Core

From GPWiki

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

any examples of using the input class would be appreciated thanks ostamo1


I haven't messed with this engine in awhile but the basic idea is this:

if( input->IsKeyDown(KEY_A) )
{
    doSomething();
}