Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi John

I have a Lua script that makes use of the code event.key(13, 0, "keyPressed") to detect the CR (ENTER) key. The script works in FS2024, but not in FS2020. I am using the exact same script in both sims. It seems something in FS2020 might be trapping the ENTER key so it is not seen by the lua script. There are no control bindings assigned to ENTER. Using an empty Community folder or different aircraft does not help. Based on your MS2020 experience do you have any ideas on what the issue might be?

Thanks,

Al

  • ark1320 changed the title to event.key() question
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.