Re: [hatari-devel] Recent symbolic keyboard mapping change |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Hi, On 7.10.2024 11.44, Miro Kropáček wrote:
Excuse me if I'm asking something obvious but why do you guys insist on solving this on the keycode level? French, as many other national variants, use various input methods to get the desired character AltGr+<key>, Alt+<ASCII code on the keypad> etc) so why not just take the final text representation and compare that with the ST symbols? AFAIK SDL provides "text" representation as part of the SDL event, so why not just take that string and let the user handle the input method by the OS?
This would mean converting both single PC key presses to multiple ST ones, and multiple PC key presses to single ST ones.
My earlier patch series, being kept up to date by Yves Le Berry (see "Enhanced keymap support" thread), did former, and already that was pretty painful.
But I think latter would be the main problem. At which point you'll decide that user intended to press just the modifier key, instead of combining it with something else? However you do it, I think it will screw up the key input timings...
- Eero
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |