Re: [hatari-devel] Recent symbolic keyboard mapping change

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Sun, 13 Oct 2024 19:07:26 +0200
schrieb Miro Kropáček <miro.kropacek@xxxxxxxxx>:

> On Sun, 13 Oct 2024 at 19:04, Thorsten Otto <admin@xxxxxxxxxxx> wrote:
> 
> > And how long do you want to wait for that text, that maybe never arrives?
> >  
> I'd assume that SDL does not play dice. :) Either it works (i.e. both
> events are sent) or not (i.e. there's a rule that empty text is never
> sent), to be tested.

I just added some debug printfs to Hatari, and it rather looks like playing
dice:

If I press for example "CTRL-2", I get only SDL_KEYDOWN events for the
control key and the "2" key. But if I press "CTRL-1", I get two SDL_KEYDOWN
events, followed by a TEXTINPUT event with the string "1". And for normal
letters, I don't get any TEXTINPUT events as long as I keep CTRL pressed,
but for the German umlauts "ä", "ö" and "ü", I get a TEXTINPUT event as
well... So if we still decide to go down that road, it will be a lot of
weird heuristics and likely a lot of breakages on non-Linux systems, I
guess...

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/