I want to change the way a switch works in my cockpit setup. I have some addon software that adds a panel. This panel has rotary switches that are mouse click driven as well as keyboard combination switchable.
I have added a physical switch and mapped it to the keyboard combination. This drives the switch one notch at each switch click. I would like to change the physical switch in my cockpit to a rotary encoder and have the ability to rotate the switch both CW and ACW using the physical encoder switch. This would obviously mean seting an additional switch input so one switch inc's the dial while the other dec's the dial (and follow on screen).
Is it possible to change the .xml code to do this? I have tried looking for an example to give me some clues as to how to do this (like a radio frequency for example) but I can not find anything.
Here is an example of what I have from the original software, I have added the second line to include the joystick input, but this just rotates in one direction for each click. e.g the radar range is selectable between 5,10,20,50 miles using this input. In this mode it goes from 5 to 10 to 20 to 50 and then back to 5 again.
<!-- HUD mode selector switch -->
<Action name="rangeSw" control="Ctrl+0" />
<Action name="rangeSw" control="joystick:2:button:8" />
Any help or clues would be most welcomed.
Regards
Pete
I have added a physical switch and mapped it to the keyboard combination. This drives the switch one notch at each switch click. I would like to change the physical switch in my cockpit to a rotary encoder and have the ability to rotate the switch both CW and ACW using the physical encoder switch. This would obviously mean seting an additional switch input so one switch inc's the dial while the other dec's the dial (and follow on screen).
Is it possible to change the .xml code to do this? I have tried looking for an example to give me some clues as to how to do this (like a radio frequency for example) but I can not find anything.
Here is an example of what I have from the original software, I have added the second line to include the joystick input, but this just rotates in one direction for each click. e.g the radar range is selectable between 5,10,20,50 miles using this input. In this mode it goes from 5 to 10 to 20 to 50 and then back to 5 again.
<!-- HUD mode selector switch -->
<Action name="rangeSw" control="Ctrl+0" />
<Action name="rangeSw" control="joystick:2:button:8" />
Any help or clues would be most welcomed.
Regards
Pete

