maartentamboer / X-Touch-Mini-FS2020

Control FS2020 with a Behringer X-Touch Mini
https://dev-tty.nl/X-Touch-Mini-FS2020/
MIT License
57 stars 19 forks source link

Auto Switch Layer B to A when inactive #52

Closed SQLSammy closed 3 years ago

SQLSammy commented 3 years ago

Hi,

is it possible to add an option to revert from Layer B to A after some time of inactivity?

I would like to use Layer B for light and maybe views, but most time i want to use layer 1 for flight/ap controls

Andreas

maartentamboer commented 3 years ago

I just looked in the manual of the x-touch and it is indeed possible to switch to a different layer by sending a Program Change midi message. I think I can make this a setting in the global config file where you specify a timeout after which it will automatically return to layer A

maartentamboer commented 3 years ago

This has been released in https://github.com/maartentamboer/X-Touch-Mini-FS2020/releases/tag/v1.5.0 An example can be found in https://github.com/maartentamboer/X-Touch-Mini-FS2020/blob/main/Configurations/config.json#L24 Documentation will be updated later