![]() The LEDs are the only Thing on the XTouch Mini, that are controlled directly via native Midi Commands. LEDs will illuminate or extinguish when the Layer is changed, dependenig on Aircraft State, given you are using the correct automated Scripts for the Aircraft. No need to test for the active Layer, just use Channel 11 and different Numbers than usual for the LEDs. Thats exactly was my suggested Solution does. Hi inital Question was about controlling the LEDs on each Layer separately. So doing this will lead to strange behavior of the rotary - especially if turned fast. And this will be interpreted as a RIGHT turn. What's happening now, when you turn another tick to the left? XTouch will send value 63 - and this value is HIGHER than the one received before (62). Assume this leads to internal position 64. NOW you are sending a new position to set the LED. Next "tick", value 62 - smaller than 63, so again left turn. Which is smaller than 64, so left turn detected. You turn to the left - so next value received is 63. XTouch encoder is exactly in middle position, so it is sending value 64. If the number is decreasing, then you are turning left. If the number is increasing, then you are turning right. Now you need to know, how AAO is detecting left turn/right turn - and it is doing this by comparing previous rotary value to current rotary value. When sending a value to that channel 11, it does reset this internal position to that value. Sending values between 0 (leftmost) and 127 (rightmost). In Std mode the encoders are working like an axis. What you are doing by using channel 11, is not setting the lights but setting the rotary - and the XTouch is then taking care of the LEDs itself. Hi might work fine for the buttons - but I can not recommend for the rotaries. ![]() MC mode is a compatibility mode and is active if the MC Mode LED is lit (above the Layer A/B buttons) ![]() However, if you switch layer but do NOT press any button, then the layer variable will NOT be adjusted. So whenever you press a button, the layer variable will be set accordingly. if you have Button 9 for FD on/off on Layer A and Strobe Lights on Layer B.Īssume script for Button 9 on Layer A is (pseudo code, not working!) Or - i would prefer this one - on every script triggered by the button, set the variable before executing the planned action.Į.g. No, there is no way to track from AAO which layer has been selected.Įither use an additional button to switch the layer variable (means you have to press 2 buttons, one Layer button to change the layer and then another button to toggle the layer variable). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |