Bog9y Posted March 6, 2021 Posted March 6, 2021 Guys, I have fixed the course selector issue! I tried to assign a 3 position momentary switch to the course selector (like we have in the DCS module) but it would constantly keep rotating the course. The coding is a bit whacky I think. Here is how I fixed it: In the JOYSTICK DEFAULT.LUA I replaced these 2 lines under the NAVIGATION panel section: {down = iCommandHSI_CourseRotaryLeft, name = _('INS COURSE SET CW'), category = _('Navigation Control')}, {down = iCommandHSI_CourseRotaryRight, name = _('INS COURSE SET CCW'), category = _('Navigation Control')}, I replaced the 2 lines above with these 2 : {down = inst_commands.Knob_Course, down = inst_commands.Knob_Course, cockpit_device_id = devices.NAV_INS, value_down = -0.5, value_up = 0, name = _('COURSE SELECTOR CCW'), category = _('Navigation Control')}, {down = inst_commands.Knob_Course, down = inst_commands.Knob_Course, cockpit_device_id = devices.NAV_INS, value_down = 0.5, value_up = 0, name = _('COURSE SELECTOR CW'), category = _('Navigation Control')}, Then in the KEYBOAD default.lua I removed the top 2 lines that say: {down = iCommandHSI_CourseRotaryLeft, name = _('INS COURSE SET CW'), category = _('Navigation Control')}, {down = iCommandHSI_CourseRotaryRight, name = _('INS COURSE SET CCW'), category = _('Navigation Control')}, and replaced it with this: {down = inst_commands.Knob_Course, cockpit_device_id = devices.NAV_INS, value_down = 0, name = _('COURSE SELECTOR CENTER'), category = _('Navigation Control')}, Then, I use RS Mapper to assign a keyboard command when I release a momentary switch (position back to center). Mine is L-SHIFT+9 and I assigned that as the command for the COURSE SELECTOR CENTER command under the DCS Control options. It may be a roundabout way to get the job done but at least this works and no more constantly rotating course selection. 1
Recommended Posts