NilsRvC 2 Posted August 17, 2022 Share Posted August 17, 2022 Hello, I am working on a simple sharedcockpit module for the PMDG 737 in MSFS. I have managed to sync the CDU when pressing it in the virtual cockpit, by reading the ROTOR_BRAKE simconnect events. However, the CS 737X does not send these events. Is it possible to read button presses of the 737X using Simconnect? Thanks, Nils Link to comment Share on other sites More sharing options...
Aerosoft SimWare 729 Posted August 17, 2022 Aerosoft Share Posted August 17, 2022 Hi Nils, You may need to enable the data broadcasting in the PMDG 737_Options.ini file. Please add an [SDK] section at the end of the file as follows : [SDK] EnableDataBroadcast=1 EnableCDUBroadcast.0=1 EnableCDUBroadcast.1=1 The 737_Options.ini file is located in : C:\Users\[USERNAME]\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\packages\pmdg-aircraft-737\work (Where [USERNAME] must be replaced by our name, of course. CAUTION : Before you make ANY change to files, make a backup of it ! Best regards. Link to comment Share on other sites More sharing options...
NilsRvC 2 Posted August 17, 2022 Author Share Posted August 17, 2022 Hi, Thanks for the reply, unfortunately it is not the issue. In my code, I listen to the ROTOR_BRAKE events that PMDG sends when a button is pressed in the VC. Unfortunately, these events are not being sent whenever I am using the hardware. So the hardware itself does work, but I was wondering whether there is a way to get button presses on the hardware through simconnect. Best Regards, Nils Link to comment Share on other sites More sharing options...
Aerosoft SimWare 729 Posted August 17, 2022 Aerosoft Share Posted August 17, 2022 Hi, Perhaps this post can inspire you. It sends buttons commands to the PMDG using the events via AxisAndOhs : Best regards. Link to comment Share on other sites More sharing options...
NilsRvC 2 Posted August 17, 2022 Author Share Posted August 17, 2022 Yep, that was exactly what I was looking for! Thanks for the help! Best regards, Nils Link to comment Share on other sites More sharing options...
Aerosoft SimWare 729 Posted August 17, 2022 Aerosoft Share Posted August 17, 2022 Glad I could help. For info, here are the K-events sending parameters to the ROTOR_BRAKE event. Best regards. B737_Scripts_ROTORBRAKE.xlsx Link to comment Share on other sites More sharing options...
Aerosoft SimWare 729 Posted August 17, 2022 Aerosoft Share Posted August 17, 2022 This may even further help you. This is the full events list for the B737 for FSX. https://aviation.allanville.com/misc/fsx-pmdg-737-ngx As far as I could see, these remain the same for MSFS. There is a dedicated CDU section. I tested the L1-Left key with AAO and it works well. The script is as follows : 1·(>K:#70166)·sleep·:·100·0·(>K:#70166) - The event ID is 70166 as per the list. - Set it to "1" -> Key pressed - Small pressed delay of 100 msec - Set it to "0" -> Key released Link to comment Share on other sites More sharing options...
NilsRvC 2 Posted August 18, 2022 Author Share Posted August 18, 2022 Hello, Thanks for your help. I have managed to map all the events and buttons and I am able to sync the hardware CDU now. Thanks, Nils Link to comment Share on other sites More sharing options...
Aerosoft SimWare 729 Posted August 19, 2022 Aerosoft Share Posted August 19, 2022 You are welcome. Glad I could help. Have fun flights. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now