First of all, I want to thank you, abelian! It is a great find!
Your solution is almost perfect. A small addition is that device numbers after 37 also changed, they moved up by 1, i.e. RWR number of 54 changed to 53. I can't tell right now which commands are affected besides HOTAS.
Module is in extensive development and such things could happen. I want to apologize, this particular case is my omission.
Will give this a try later this evening. Always good to see constructive input from the community! :thumbup:
EDIT: Fix worked fine. Only problem for me now the dreaded CTD. I'm sure it's unrelated to this fix though. Thanks abelian!