sdl@lists.libsdl.org
[Top] [All Lists]

Re: [SDL] My thoughts on keyboard input in SDL 1.3

Subject: Re: [SDL] My thoughts on keyboard input in SDL 1.3
From: Christian Walther
Date: Fri, 25 Jan 2008 20:32:10 +0100
Bob Pendleton wrote:
> Tools, not rules. You can't force people to do things the way you think
> they should be done.

It's not my intention to force anything. I just want to make it *easy* 
to do things right, because otherwise I fear it's not going to be done. 
Of course, if it turns out that my idea of what's "right" is not 
universally accepted (and I'm grateful if that is pointed out to me), 
then there's nothing I can do but shut up, I guess... :)

> It is better to give someone a tool that lets
> them do what they want rather than to force them to work around what you
> think it should be.

Certainly. Personally, I'm happy as long as it's *possible* to do things 
right. In this particular case that means, given a layout key code, 
present it to the user in a way that uniquely identifies the key to him. 
That means, being able to distinguish between keyboard and keypad keys 
that type the same character. And I see no other way for this than the 
magic bit we're trying to get rid of...

  -Christian

_______________________________________________
SDL mailing list
SDL@xxxxxxxxxxxxxxxx
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

<Prev in Thread] Current Thread [Next in Thread>