Upper case unicode under DGA

When using DGA the unicode value of keys pressed is never upper case.

I note that whilst running a DGA application the caps lock light doesn’t
light up on if you press Caps Lock, so an issue with capital
letters seems to be some sort of “feature” of DGA.

However, at the same time key.keysym.mod still works for both caps lock
and shift keys.

I guess I’ll just manually make input upper case if key.keysym.mod is
relevant, but it might be nice if this was done automatically by SDL - it
would only be, like, 4 lines of code or something.

James

When using DGA the unicode value of keys pressed is never upper case.

I note that whilst running a DGA application the caps lock light doesn’t
light up on if you press Caps Lock, so an issue with capital
letters seems to be some sort of “feature” of DGA.

However, at the same time key.keysym.mod still works for both caps lock
and shift keys.

I guess I’ll just manually make input upper case if key.keysym.mod is
relevant, but it might be nice if this was done automatically by SDL - it
would only be, like, 4 lines of code or something.

Acutally less than 4 lines, but unfortuantly that only works for
alphanumeric characters. Hmm. Oh well.

JamesOn Thu, 25 Mar 2004 10:37:43 +0000, James Gregory wrote:

When using DGA the unicode value of keys pressed is never upper case.

I note that whilst running a DGA application the caps lock light doesn’t
light up on if you press Caps Lock, so an issue with capital
letters seems to be some sort of “feature” of DGA.

However, at the same time key.keysym.mod still works for both caps lock
and shift keys.

I guess I’ll just manually make input upper case if key.keysym.mod is
relevant, but it might be nice if this was done automatically by SDL - it
would only be, like, 4 lines of code or something.

Acutally less than 4 lines, but unfortuantly that only works for
alphanumeric characters. Hmm. Oh well.

Oh, and also the enter key sometimes stops sending events in dga mode. All
the other keys will continue to work fine, it’s just enter that’s stops
working. DGA really is most issue-us, It’s really DGA’s fault rather than
SDL’s, but it is annoying nonetheless. I guess I’ll have to wait at least
a couple of years before putenv(glSDL) puts and end to all this nonsense.

JamesOn Thu, 25 Mar 2004 11:13:38 +0000, James Gregory wrote:

On Thu, 25 Mar 2004 10:37:43 +0000, James Gregory wrote: