Problem with caps shift key event on Mac OS X

Hi sdl-types,
There seems to be a bug with the key event for caps lock on Mac OS X. If
I start the checkkeys program and press some keys, events are printed as
normal. If I switch to another window and press keys no more are
reported by checkkeys, unless I press caps lock which seems to be picked
up by checkkeys even though it does not have focus!

Only the press event for caps lock is generated while focus is away from
checkkeys, and if I select the checkkeys window release events for the
caps lock key arrive.

I am running:
SDL 1.2.7 (compiled as a dylib via configure, same problems reported
from the framework)
Mac OS X 10.3.5
PowerBook 12"

Any ideas?

Fred

Hi sdl-types,
There seems to be a bug with the key event for caps lock on Mac OS X.
If I start the checkkeys program and press some keys, events are
printed as normal. If I switch to another window and press keys no
more are reported by checkkeys, unless I press caps lock which seems
to be picked up by checkkeys even though it does not have focus!

Only the press event for caps lock is generated while focus is away
from checkkeys, and if I select the checkkeys window release events
for the caps lock key arrive.

I am running:
SDL 1.2.7 (compiled as a dylib via configure, same problems reported
from the framework)
Mac OS X 10.3.5
PowerBook 12"

Any ideas?

I can confirm this quirk on 10.3.4, I’m looking into it now…

also, if you have capslock on, try moving your cursor around and
clicking the title bar of the application - you get more events for the
capslock keyOn Sep 6, 2004, at 4:26 AM, Fred wrote:

Fred


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl