|[hatari-devel] Enhanced keymap support|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
This is a multi-part message in MIME format.
Vincent, attached is patch series implementing
something similar to your original changes.
Could you test (and review) the changes?
just save the attached files and apply on top
of Hatari master branch with:
git am 0*.patch
Keymap files you used with your own patch, should
work after you remove modmasks from them.
As discussed earlier, it does not support PC mod
mask, just unconditionally masks NumLock out
when comparing against loaded mappings.
Parsing should be more robust (and gives much
more detailed error output), and there's special
support for ALT-XXX codes.
They are specified like this:
For example, this maps '§' PC key to Atari 'µ'
Because modifiers are now internally handled as
bitmasks, they can be specified both for PC and ST
side in any order. Hatari code will always insert
them in the same (ST_Modifiers array) order.
I'm interested whether my version helps with
the problem of multiple modifier keys being kept
down that you documented here:
(And of course whether there are additional
problems compared to your patch.)