Re: [hatari-devel] Enhanced keymap support

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


Hi Yves,

Are there any other changes on top of my earlier patch series, than:
* rebasing it on latest Hatari sources
* updated french keymap file
?


	- Eero

On 5.10.2022 17.27, Yves Le Berre wrote:
Hello,

I apologize for the big patch 'keymap.c.patch'. To return to enhanced keymap patches series :

- I Added a first patch (0001) adding screen.h include in keymap.c
   to eliminate offset lines in following patches,
- Then, I added the ordered patches in the series
   (renumbered from 0001 - 0014 to 0002 - 0015),
- Then, I added a patch (0016) deleting screen.h include in keymap.c
  (and incidentally change strlcpy inserted in patches 0006 and 0009 to Str_Copy).

In attachment, you'll find the files :

1) enhanced_keymap_patches.tar.gz which contains the patches to apply to master :

0001-Master-changes-before-applying-0002-to-0015.patch
0002-Keymap_LoadRemapFile-refactor-rewrite.patch
0003-Switch-to-using-KeyMapping-struct-and-KeysDown-array.patch
0004-Clear-KeysDown-key-mapping-state-on-reset.patch
0005-Add-defines-for-some-of-the-ST-scancode-values.patch
0006-Support-for-specifying-ST-key-modifiers-in-the-mappi.patch
0007-Add-ALT-XXX-sequence-insert-support-for-keymaps.patch
0008-Add-trace-output-for-ST-key-modifiers.patch
0009-Support-for-specifying-PC-SDL-key-modifiers-in-the-m.patch
0010-Keymap-accept-also-0x-prefixed-hex-values-for-scanco.patch
0011-Fix-improve-keymap-file-SDL-key-name-parsing.patch
0012-Fix-ALT_XXX-scancode-handling.patch
0013-Fix-Single-Mod-Host-Parsing.patch
0014-Remap-mod.patch
0015-Add-NO-XXX-mod.patch
0016-Master-changes-after-applying-0002-to-0015.patch

2) keymap_fr_pc.cfg which contains the mapping.

Yves

Le 03/10/2022 à 17:53, Thomas Huth a écrit :
Am Sun, 2 Oct 2022 15:57:18 +0200
schrieb Yves Le Berre <yves.le_berre@xxxxxxxxx>:

Hello,

Due to Thomas recent changes :

- Reduce our dependencies to screen.h,
- Replace strlcpy() with a better implementation.

I adapted enhanced_keymap patches by rebasing and grouping the patches
by filenames rather by added/modified function.
Please don't squash patches together in such a big patch. That makes the
changes very hard to review.

Eero, you once started looking into this problem, do you still plan to
take care of this? Or don't you have time for this anymore?

  Thomas





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