TimS <
[email protected]> wrote:
Is the following likely to be true?
ASCII 11 is not an EOL, but the keycode of that some macOS keyboards send for an alternative RETURN key pressed.
Keyboards don't send ASCII, they send keycodes. There can be a certain
degree of overlap, but in general terms you need a translation from the keycodes to the character(s) the key is expected to generate. This mapping varies depending on the keyboard layout (QWERTY v AZERTY, modifier keys,
dead keys, mapping ¬`|\@"~# on different layouts like US v UK, etc).
It's quite possible that there's a keyboard that sends the keycode 11, but
that shouldn't be taken to be ASCII 11.
(I can't speak to what Mac keyboards may or may not have done, and I've only briefly touched keyboard handling in macOS)
Theo
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)