The continuing saga of my project vs the caps lock key

I’ve been through conversations along the lines of ‘why does the caps lock
key work differently with respect to key up/down messages’ and ‘will it
always be so’ here before, but having mentioned the problems to the person
who does the UNIX makefiles for my project, he has simply produced a Python
script to patch the SDL source and make that key act normally.

So I was just wondering if anyone would like me to or has a reason to
strongly oppose making that patch available seperately to the makefiles for
my project. Anyone?

-Thomas

“Thomas Harte” <T.Harte at excite.com> wrote:

I’ve been through conversations along the lines of ‘why does the caps lock
key work differently with respect to key up/down messages’ and ‘will it
always be so’ here before, but having mentioned the problems to the person
who does the UNIX makefiles for my project, he has simply produced a Python
script to patch the SDL source and make that key act normally.

I must have missed the patch. Will you please resend it?

I must have missed the patch. Will you please resend it?

I haven’t used or seen it myself yet, and I didn’t intend to push my
makefile maintainer to contribute it to SDL as a whole since it has been
made clear to me that the way the patch operates will not work on some
exotic flavours of UNIX. Also, he decided to do caps lock but not num lock
for reasons even he isn’t really sure of!

Anyway, the patch is contained within the under 200kb download of the
makefile scheme for my emulator project which is
http://electrem.emuunlim.com/files/emulator/EEconfigure_b9b-0.3.tar.gz but
although the project is open source I decided not distribute just the patch
myself until I’ve asked the author (Paul Boddie) politely and I’m sure there
aren’t any really good reasons that I shouldn’t of which I simply haven’t
thought hard enough to become aware.

-Thomas

Anyway, the patch is contained within the under 200kb download of the
makefile scheme for my emulator project which is
http://electrem.emuunlim.com/files/emulator/EEconfigure_b9b-0.3.tar.gz but
although the project is open source I decided not distribute just the patch
myself until I’ve asked the author (Paul Boddie) politely and I’m sure there
aren’t any really good reasons that I shouldn’t of which I simply haven’t
thought hard enough to become aware.

The patch will not be included in SDL 1.2, so as not to break applications
which rely on toggleable key behavior. However, assuming that hardware key
state toggles aren’t too common, the capslock key will behave normally in
SDL 1.3

I must be coding too much. I didn’t even understand what I wrote.

Did that make sense?

-Sam Lantinga, Software Engineer, Blizzard Entertainment