Follow-up Comment #2, bug #24186 (project wesnoth):

So the issue is that I was fixing a case where Ctrl+j and/or Ctrl+m were
mis-interpreted as Enter/Return, because these key combinations are used to
represent Carriage Return and Line Feed. However, all of our testing (across
Windows, Linux and OSX) revolved around US-layout (or at least QWERTY).

What I did was to ensure that the key code (location on the keyboard) matched
the character it is representing before accepting it. This ensured
Enter/Return didn't get mixed up with Ctrl+j/Ctrl+m (and as a bonus, fixes
some other esoteric non-character key combinations), however this presumes a
QWERTY layout.

You reported bug #18868 some time ago - was that one ever fixed for you?

Reading through some documentation, it looks like SDL is limited to
US/QWERTY-centric keyboard layouts. I'll see what I can do, but at this point
we may just revert the commit which is a shame because a lot of work and
testing (not just by me) went into that and it did fix some other things.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?24186>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to