P51‐D Detrola Frequency Selector - DCS-Skunkworks/dcs-bios GitHub Wiki
For more details on how to find information see P51‐D Generator Disconnect Switch first.
The frequency selector is a dial. The lua entry looks like this :
The control's argument_id
is 137
.
Searching for that we find this entry in clickabledata.lua
:
Using same techniques as with the P51‐D Generator Disconnect Switch we find that :
argument_id
is137
device category ID
is26
command ID
is3004
An electrical control like this with a free range of motion between minimum and maximum is usually defined with definePotentiometer
.
What we need now is to find the range for this dial.
The first values to try with a new control are {0,1}
. This doesn't work for all however and you need to figure out the limits by trial and error. Use CTRL Ref to see that the cockpit control moves to both ends of the range. If not then adjust either lower or higher value or both.