Good day folks!
Here's a module for the BBS A340. I haven't tested if all the functions in the module work, but those that I have tested worked fine.
I added as many buttons as I felt necessary, feel free to come with suggestions and of course, report if there's something not working.
Link: https://drive.google.com/file/d/1GgdkL58-gzoj5wkQcf59lYXFjg2eWACo/view?usp=sharing (awaiting AVSIM Library link)
Installation: Unzip in your LINDA/aircrafts folder and you should be good to go.
Tested on P3D V5 (yes, V5 and not V4) so it should work on V4 (same installer). IIRC when I attempted this in V3 the code for the buttons may have been the same, so try it out and see if it works. If not, report it here so we can let others know.
Have a nice day!