[SDL] New to SDL - text input question

Bill Kendrick nbs at sonic.net
Fri Dec 1 10:19:34 PST 2006


On Fri, Dec 01, 2006 at 05:45:57PM +0000, Colin Tuckley wrote:
> So, is there any keyboard handling code for SDL? Stuff that sorts out shift
> state etc? Or maybe a way to have stdin (or another file handle) receive the
> key presses for the SDL generated window?
> 
> Platform is Debian Linux and language is c.

This is in C++, but it might be useful:

  http://lazyfooproductions.com/SDL_tutorials/lesson25/index.php

-bill!
bill at newbreedsoftware.com
http://www.newbreedsoftware.com/




More information about the SDL mailing list