Alt and AltGr key combinations do not work. It this is of any use, here is what I get on nasal console
by pressing A with different modifiers:
A: { key: 97, modifier: {}, pressed: 1 }, { key: 97, modifier: {}, pressed: 0 }
Ctrl-A: { key: 1, modifier: {ctrl:1}, pressed: 1 }, { key: 1, modifier: {ctrl:1}, pressed: 0 }
Option-A: { key: 299, modifier: {alt:1}, pressed: 1 }, { key: 299, modifier: {alt:1}, pressed: 0 }
Ctrl-Option-A: { key: 1, modifier: {alt:1, ctrl:1}, pressed: 1 }, { key: 1, modifier: {alt:1,ctrl:1}, pressed: 0 }
The Ctrl-Option was my attempt for AltGr. Tried different keyboard mappings.
System: MacBook Pro (15-inch, 2016), MacOS 10.12.5, Radeon Pro 455 2048 MB Intel HD Graphics 530 1536 MB, US English, US keybd.
Maybe this issue is connected to #1937.
This will be fixed in the next release hopefully - I am rewriting how modifier keys are handled.
For clarification, what value would you expect for 'key' (in Nasal) when Alt or AltGr are pressed?
Hi, I'll leave it to you to decide, because I'm not familiar w FG codebase/architecture. However, here is my (VAL in comments) hack attached. I hope the nasal code won't need any tweaking.
It fixed major problems with keys I needed to operate Eurochopter - which I'm still crashing anyway ;)
Is this corrected?
Not sure: do we have Alt-N bindings?