Re: [hatari-devel] Recent symbolic keyboard mapping change |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Am Thu, 31 Aug 2023 16:30:25 -0400
schrieb Brad Smith <rainwarrior@xxxxxxxxx>:
....
> > IMHO before we go with any bigger extension of the keyboard mapping code,
> we should mostly get rid of the symbolic mapping code in that file. It's
> mostly a leftover from the SDL 1.2 era where the scancode mapping was not
> working reliably on all host OSes.
>
> I think the symbolic mapping is worth keeping, at least for now.
>
> It's clear that the its mappings are not adequate for many language
> layouts, but the fact that it does work perfectly for US layout (with the 1
> proposed change) does make it useful for many users.
>
> So... for some users Hatari's keyboard can just work out of the box. For
> many other users, they need to do some setting changes. I think this is at
> least a better situation than having all users needing to figure out their
> keyboard settings. At least some can be accommodated easily this way.
OK, let me rephrase my rationale here: The symbolic mapping was always a
kind of ugly hack that never could please everybody, so many people had to
extend their mapping with external mapping files if they needed to use the
symbolic mapping. The scancode based mapping was always the better choice
everywhere it was possible to use it. The problem was: With SDL 1.x, the
scancode mapping did not work on some non-Linux systems like Mac OS X. But
this problem is gone with SDL 2.x, and since we dropped SDL 1.x support a
while ago, there is no real urgent need for keeping the controversial
symbolic mapping around anymore. I think I'm going to remove it rather
sooner than later, since it apparently causes still trouble for people.
Please simply use the scancode mapping instead. It should work properly for
all keyboard layouts - and if not, that's certainly a better place for
discussing changes to the keyboard code.
Thomas
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |