Re: [hatari-devel] Recent symbolic keyboard mapping change |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Recent symbolic keyboard mapping change
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 13 Oct 2024 17:21:40 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1728840102; bh=yR++A0DndZimBTtNOm9470HJB/yQmFGWrBL/LzeUgQw=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=ALI9Go98pRBedyNxAgqVN+jfQ/1k+rHEo5/L9qj2rLbAJXB0BXkwZ738WwR0NlhGH uMTb5pd6mDlOyYf4RuOZHZ7wTrLMCplydKlByaVpD5t7W+znRsXvRa0KtCAmeWkQ6c GF5lKtcJ0xS6o9WG7w4DfyOB9gp0O4BHLSPJgPewe7Tvcqk3juIr6VF3b+NjXAP3AT Qeu+/7hdp9IXJwk7tEfkmHS80p4ekir3DRGJYDl6CQBI+tCdWE95X0eJA6jjoF9hOF YxTp4KJeJulOvw8OsTFNzQC0FZWw2QQb0/DyCSPB276ZBDzSCOn5hMqiHsRk49ffqV +0X4EAwpdwEXA==
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