custom panel and switch

Good day I'm starting to create a custom panel with swicht and encoder potentiometers etc so far, because the functions work great, but I've come to find a bigger problem when I want to program other functions, for example a push button for the warning ligth test or FADEC, horn mute, instrument test. since those functions are not in the log event of fsx, I am using the bell 407 of milviz, if someone knows about the topic and could help me I would appreciate it.