Re: [hatari-devel] Keyboard scancode table inconsistencies |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Keyboard scancode table inconsistencies
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 10 Oct 2021 08:04:03 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1633853046; bh=P5u9S4gxdwu1/Igk+FZFzI00U29iLESQm2icyz5Id4A=; h=Date:From:To:Subject:From; b=qTM6C97bhhVT/FgyWwydEdRiPyuJ7cfKXsvdbqZQiGBR73SV8zpoWml3GcChCcHXu 6V6FyFx5XELvV4YM8m79OIRwC/E7SSeh6Mx3X9w5LFY6zqY9XEIze/001nTQkqCWpp DOJfLCETqGXTWlkW+DqZU26bt9U8zfMGuaYIRZvz4Y9h5QNUCh/LT2tTfljvdTJWeX KySP58z3ttiBKPn4XG8pH6Cft+hqugd18woLfdfkWEo0Alya9FaPtDBbwROe9aa4pU s6iXGvagcttoki4ReMCcI6A3petgQ9svW5YzF6Nk55TP4b5/eP3xmdzijaAwa7lpjo 8FGcc+B9xRUtA==
Am Sun, 10 Oct 2021 02:05:23 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Hi,
>
> I looked at the issue reported by Thorsten:
> https://www.atari-forum.com/viewtopic.php?p=423439#p423439
>
> And noticed that of the three tables involved in
> handling key input, all had slightly differing
> sizes and according to Thorsten the smaller ones
> are too small for all the keys that actually need
> to be interpreted.
>
> Attached is patch to make them all the same size.
>
> Any objections / ideas why they were not the same size?
That patch/idea is certainly not right. You're mixing up the SDL scan
codes with the Atari scan codes here, that's two completely different
number spaces. "y" with scan code "0x79" is certainly an SDL scan code,
on the Atari side, the "y" key normally has scan code 0x15 instead
(unless you're on a German keyboard, where it is 0x2c, I think).
If you want to help to improve keyboard mapping, you should likely
rather help to get these patches here into a better shape:
https://github.com/hatari/hatari/pull/11
Not sure whether this will help with the problem from the reporter on
atari-forum.com, too, though.
Thomas