Version: SU4 Beta (1.6.7.0)
Frequency: Consistently
Severity: High
Context: With all events registered with “SimConnect_MapInputEventToClientEvent_EX1“
Bug description: When a text field is selected in the UI or when the keyboard is being used to input ICAOs in any GPS/FMS/CDU unit, keystroke events registered through MapInputEventToClientEvent are still triggered. Maybe I didn’t find it but as far as I know, there is no way to know if a text field is selected currently so we don’t know if we should listen to the incoming event or not.
The best (and easiest solution) would be for a SimVar or global var in JS to let us know if the user’s keyboard is currently being used to input text. I do believe there are edge cases that would require those events regardless of text input.
Regards,
//42