From 6208839e6591dbbedcdea4466a7371cbe43f1575 Mon Sep 17 00:00:00 2001 From: Charlie <30303272+charliefoxtwo@users.noreply.github.com> Date: Sat, 25 May 2024 18:44:04 -0700 Subject: [PATCH] Add F-4E Radar Altimeter (#659) Fixes #593 --- Scripts/DCS-BIOS/doc/Addresses.h | 260 +++++----- Scripts/DCS-BIOS/doc/doc_assets/F-4E.jsonp | 469 +++++++++++------- Scripts/DCS-BIOS/doc/json/F-4E.json | 469 +++++++++++------- .../lib/modules/aircraft_modules/F-4E.lua | 10 + 4 files changed, 746 insertions(+), 462 deletions(-) diff --git a/Scripts/DCS-BIOS/doc/Addresses.h b/Scripts/DCS-BIOS/doc/Addresses.h index 585df0b7c..a4de67f0e 100644 --- a/Scripts/DCS-BIOS/doc/Addresses.h +++ b/Scripts/DCS-BIOS/doc/Addresses.h @@ -13061,34 +13061,34 @@ #define F_22A_START_R_SW 0x6600, 0x0040, 6 #define F_22A_START_R_SW_AM 0x6600, 0x0040 #define F_22A_TAXI_LIGHTS_SW 0x6600, 0x6000, 13 -#define F_4E_EXT_LIGHT_AAR 0x2AA0, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_AAR_A 0x2AA0 -#define F_4E_EXT_LIGHT_BEACON 0x2A8C, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_BEACON_A 0x2A8C -#define F_4E_EXT_LIGHT_BEACON_FLASH 0x2A94, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_BEACON_FLASH_A 0x2A94 -#define F_4E_EXT_LIGHT_BELLY 0x2A9C, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_BELLY_A 0x2A9C -#define F_4E_EXT_LIGHT_FORMATION 0x2A96, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_FORMATION_A 0x2A96 -#define F_4E_EXT_LIGHT_FUSELAGE_TOP 0x2A9E, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_FUSELAGE_TOP_A 0x2A9E -#define F_4E_EXT_LIGHT_LANDING 0x2A98, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_LANDING_A 0x2A98 -#define F_4E_EXT_LIGHT_POSITION_TAIL 0x2A90, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_POSITION_TAIL_A 0x2A90 -#define F_4E_EXT_LIGHT_POSITION_WING 0x2A8E, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_POSITION_WING_A 0x2A8E -#define F_4E_EXT_LIGHT_TAXI 0x2A9A, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_TAXI_A 0x2A9A -#define F_4E_EXT_LIGHT_WING_JOIN_UP 0x2A92, 0xFFFF, 0 -#define F_4E_EXT_LIGHT_WING_JOIN_UP_A 0x2A92 +#define F_4E_EXT_LIGHT_AAR 0x2AA8, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_AAR_A 0x2AA8 +#define F_4E_EXT_LIGHT_BEACON 0x2A94, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_BEACON_A 0x2A94 +#define F_4E_EXT_LIGHT_BEACON_FLASH 0x2A9C, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_BEACON_FLASH_A 0x2A9C +#define F_4E_EXT_LIGHT_BELLY 0x2AA4, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_BELLY_A 0x2AA4 +#define F_4E_EXT_LIGHT_FORMATION 0x2A9E, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_FORMATION_A 0x2A9E +#define F_4E_EXT_LIGHT_FUSELAGE_TOP 0x2AA6, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_FUSELAGE_TOP_A 0x2AA6 +#define F_4E_EXT_LIGHT_LANDING 0x2AA0, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_LANDING_A 0x2AA0 +#define F_4E_EXT_LIGHT_POSITION_TAIL 0x2A98, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_POSITION_TAIL_A 0x2A98 +#define F_4E_EXT_LIGHT_POSITION_WING 0x2A96, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_POSITION_WING_A 0x2A96 +#define F_4E_EXT_LIGHT_TAXI 0x2AA2, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_TAXI_A 0x2AA2 +#define F_4E_EXT_LIGHT_WING_JOIN_UP 0x2A9A, 0xFFFF, 0 +#define F_4E_EXT_LIGHT_WING_JOIN_UP_A 0x2A9A #define F_4E_PLT_AFCS_ALT_HOLD 0x2A56, 0x0100, 8 #define F_4E_PLT_AFCS_ALT_HOLD_AM 0x2A56, 0x0100 #define F_4E_PLT_AFCS_AUTOPILOT 0x2A52, 0x8000, 15 #define F_4E_PLT_AFCS_AUTOPILOT_AM 0x2A52, 0x8000 -#define F_4E_PLT_AFCS_EMERGENCY_RELEASE 0x2A84, 0x8000, 15 -#define F_4E_PLT_AFCS_EMERGENCY_RELEASE_AM 0x2A84, 0x8000 +#define F_4E_PLT_AFCS_EMERGENCY_RELEASE 0x2A8C, 0x8000, 15 +#define F_4E_PLT_AFCS_EMERGENCY_RELEASE_AM 0x2A8C, 0x8000 #define F_4E_PLT_AFCS_STAB_AUG_PITCH 0x2A52, 0x4000, 14 #define F_4E_PLT_AFCS_STAB_AUG_PITCH_AM 0x2A52, 0x4000 #define F_4E_PLT_AFCS_STAB_AUG_ROLL 0x2A52, 0x2000, 13 @@ -13166,33 +13166,33 @@ #define F_4E_PLT_COCKPIT_MIRROR_RIGHT_AM 0x2A4A, 0x8000 #define F_4E_PLT_COCKPIT_MIRROR_TOP 0x2A4A, 0x2000, 13 #define F_4E_PLT_COCKPIT_MIRROR_TOP_AM 0x2A4A, 0x2000 -#define F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE 0x2AA2, 0x0004, 2 -#define F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE_AM 0x2AA2, 0x0004 -#define F_4E_PLT_EXT_LIGHT_ANTI_COLL 0x2A8A, 0x000C, 2 -#define F_4E_PLT_EXT_LIGHT_FLASH_MODE 0x2A8A, 0x0030, 4 -#define F_4E_PLT_EXT_LIGHT_FORMATION_BRIGHTNESS 0x2AA4, 0xFFFF, 0 -#define F_4E_PLT_EXT_LIGHT_FORMATION_BRIGHTNESS_A 0x2AA4 -#define F_4E_PLT_EXT_LIGHT_FORMATION_MODE 0x2AA2, 0x0018, 3 -#define F_4E_PLT_EXT_LIGHT_TAIL_BRIGHTNESS 0x2A8A, 0x00C0, 6 -#define F_4E_PLT_EXT_LIGHT_TAXI_LAND 0x2AA2, 0x0003, 0 -#define F_4E_PLT_EXT_LIGHT_WING_BRIGHTNESS 0x2A8A, 0x0300, 8 -#define F_4E_PLT_FUEL_AIR_REFUEL 0x2A6C, 0x0400, 10 -#define F_4E_PLT_FUEL_AIR_REFUEL_AM 0x2A6C, 0x0400 -#define F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK 0x2A6C, 0x4000, 14 -#define F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK_AM 0x2A6C, 0x4000 -#define F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK 0x2A6C, 0x8000, 15 -#define F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK_AM 0x2A6C, 0x8000 -#define F_4E_PLT_FUEL_EXTERNAL_TANKS_FEED 0x2A6C, 0x3000, 12 -#define F_4E_PLT_FUEL_FEED_TANK_CHECK 0x2A7A, 0x0001, 0 -#define F_4E_PLT_FUEL_FEED_TANK_CHECK_AM 0x2A7A, 0x0001 -#define F_4E_PLT_FUEL_REFUEL_SELECTOR 0x2A6C, 0x0200, 9 -#define F_4E_PLT_FUEL_REFUEL_SELECTOR_AM 0x2A6C, 0x0200 -#define F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER 0x2A6C, 0x0100, 8 -#define F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER_AM 0x2A6C, 0x0100 -#define F_4E_PLT_FUEL_WING_FUEL_DUMP 0x2A6C, 0x0800, 11 -#define F_4E_PLT_FUEL_WING_FUEL_DUMP_AM 0x2A6C, 0x0800 -#define F_4E_PLT_FUEL_WING_INTERNAL_FEED 0x2A6C, 0x0080, 7 -#define F_4E_PLT_FUEL_WING_INTERNAL_FEED_AM 0x2A6C, 0x0080 +#define F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE 0x2AAA, 0x0010, 4 +#define F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE_AM 0x2AAA, 0x0010 +#define F_4E_PLT_EXT_LIGHT_ANTI_COLL 0x2A92, 0x0030, 4 +#define F_4E_PLT_EXT_LIGHT_FLASH_MODE 0x2A92, 0x00C0, 6 +#define F_4E_PLT_EXT_LIGHT_FORMATION_BRIGHTNESS 0x2AAC, 0xFFFF, 0 +#define F_4E_PLT_EXT_LIGHT_FORMATION_BRIGHTNESS_A 0x2AAC +#define F_4E_PLT_EXT_LIGHT_FORMATION_MODE 0x2AAA, 0x0060, 5 +#define F_4E_PLT_EXT_LIGHT_TAIL_BRIGHTNESS 0x2A92, 0x0300, 8 +#define F_4E_PLT_EXT_LIGHT_TAXI_LAND 0x2AAA, 0x000C, 2 +#define F_4E_PLT_EXT_LIGHT_WING_BRIGHTNESS 0x2A92, 0x0C00, 10 +#define F_4E_PLT_FUEL_AIR_REFUEL 0x2A74, 0x1000, 12 +#define F_4E_PLT_FUEL_AIR_REFUEL_AM 0x2A74, 0x1000 +#define F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK 0x2A82, 0x0001, 0 +#define F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK_AM 0x2A82, 0x0001 +#define F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK 0x2A82, 0x0002, 1 +#define F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK_AM 0x2A82, 0x0002 +#define F_4E_PLT_FUEL_EXTERNAL_TANKS_FEED 0x2A74, 0xC000, 14 +#define F_4E_PLT_FUEL_FEED_TANK_CHECK 0x2A82, 0x0004, 2 +#define F_4E_PLT_FUEL_FEED_TANK_CHECK_AM 0x2A82, 0x0004 +#define F_4E_PLT_FUEL_REFUEL_SELECTOR 0x2A74, 0x0800, 11 +#define F_4E_PLT_FUEL_REFUEL_SELECTOR_AM 0x2A74, 0x0800 +#define F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER 0x2A74, 0x0400, 10 +#define F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER_AM 0x2A74, 0x0400 +#define F_4E_PLT_FUEL_WING_FUEL_DUMP 0x2A74, 0x2000, 13 +#define F_4E_PLT_FUEL_WING_FUEL_DUMP_AM 0x2A74, 0x2000 +#define F_4E_PLT_FUEL_WING_INTERNAL_FEED 0x2A74, 0x0200, 9 +#define F_4E_PLT_FUEL_WING_INTERNAL_FEED_AM 0x2A74, 0x0200 #define F_4E_PLT_ICS_AMPLIFIER 0x2A00, 0x3000, 12 #define F_4E_PLT_ICS_INTERCOM_VOL 0x2A0A, 0xFFFF, 0 #define F_4E_PLT_ICS_INTERCOM_VOL_A 0x2A0A @@ -13240,26 +13240,38 @@ #define F_4E_PLT_KY_28_P_MODE_DIM_A 0x2A02 #define F_4E_PLT_KY_28_P_MODE_TEST 0x2A00, 0x0001, 0 #define F_4E_PLT_KY_28_P_MODE_TEST_AM 0x2A00, 0x0001 -#define F_4E_PLT_MASTER_ARM_SW 0x2A6C, 0x0040, 6 -#define F_4E_PLT_MASTER_ARM_SW_AM 0x2A6C, 0x0040 -#define F_4E_PLT_O2_FLOW 0x2A6E, 0xFFFF, 0 -#define F_4E_PLT_O2_FLOW_A 0x2A6E -#define F_4E_PLT_O2_LITERS 0x2A72, 0xFFFF, 0 -#define F_4E_PLT_O2_LITERS_A 0x2A72 -#define F_4E_PLT_O2_MIXTURE 0x2A6C, 0x0001, 0 -#define F_4E_PLT_O2_MIXTURE_AM 0x2A6C, 0x0001 -#define F_4E_PLT_O2_MODE 0x2A56, 0xC000, 14 -#define F_4E_PLT_O2_PRESSURE 0x2A70, 0xFFFF, 0 -#define F_4E_PLT_O2_PRESSURE_A 0x2A70 -#define F_4E_PLT_O2_SUPPLY 0x2A6C, 0x0002, 1 -#define F_4E_PLT_O2_SUPPLY_AM 0x2A6C, 0x0002 -#define F_4E_PLT_O2_TEST 0x2A56, 0x2000, 13 -#define F_4E_PLT_O2_TEST_AM 0x2A56, 0x2000 -#define F_4E_PLT_THROTTLE_CM_DISPENSE 0x2A8A, 0x2000, 13 -#define F_4E_PLT_THROTTLE_CM_DISPENSE_AM 0x2A8A, 0x2000 -#define F_4E_PLT_THROTTLE_MIC 0x2A8A, 0x1800, 11 -#define F_4E_WSO_AFCS_EMERGENCY_RELEASE 0x2A8A, 0x0400, 10 -#define F_4E_WSO_AFCS_EMERGENCY_RELEASE_AM 0x2A8A, 0x0400 +#define F_4E_PLT_MASTER_ARM_SW 0x2A74, 0x0100, 8 +#define F_4E_PLT_MASTER_ARM_SW_AM 0x2A74, 0x0100 +#define F_4E_PLT_O2_FLOW 0x2A76, 0xFFFF, 0 +#define F_4E_PLT_O2_FLOW_A 0x2A76 +#define F_4E_PLT_O2_LITERS 0x2A7A, 0xFFFF, 0 +#define F_4E_PLT_O2_LITERS_A 0x2A7A +#define F_4E_PLT_O2_MIXTURE 0x2A74, 0x0004, 2 +#define F_4E_PLT_O2_MIXTURE_AM 0x2A74, 0x0004 +#define F_4E_PLT_O2_MODE 0x2A74, 0x0003, 0 +#define F_4E_PLT_O2_PRESSURE 0x2A78, 0xFFFF, 0 +#define F_4E_PLT_O2_PRESSURE_A 0x2A78 +#define F_4E_PLT_O2_SUPPLY 0x2A74, 0x0008, 3 +#define F_4E_PLT_O2_SUPPLY_AM 0x2A74, 0x0008 +#define F_4E_PLT_O2_TEST 0x2A56, 0x8000, 15 +#define F_4E_PLT_O2_TEST_AM 0x2A56, 0x8000 +#define F_4E_PLT_RADAR_ALT_BUG 0x2A70, 0xFFFF, 0 +#define F_4E_PLT_RADAR_ALT_BUG_A 0x2A70 +#define F_4E_PLT_RADAR_ALT_MOVE_BUG 0x2A6C, 0xFFFF, 0 +#define F_4E_PLT_RADAR_ALT_MOVE_BUG_A 0x2A6C +#define F_4E_PLT_RADAR_ALT_NEEDLE 0x2A6E, 0xFFFF, 0 +#define F_4E_PLT_RADAR_ALT_NEEDLE_A 0x2A6E +#define F_4E_PLT_RADAR_ALT_OFF_FLAG 0x2A72, 0xFFFF, 0 +#define F_4E_PLT_RADAR_ALT_OFF_FLAG_A 0x2A72 +#define F_4E_PLT_RADAR_ALT_PUSH_TEST 0x2A56, 0x2000, 13 +#define F_4E_PLT_RADAR_ALT_PUSH_TEST_AM 0x2A56, 0x2000 +#define F_4E_PLT_RADAR_ALT_WARN_LIGHT 0x2A56, 0x4000, 14 +#define F_4E_PLT_RADAR_ALT_WARN_LIGHT_AM 0x2A56, 0x4000 +#define F_4E_PLT_THROTTLE_CM_DISPENSE 0x2A92, 0x8000, 15 +#define F_4E_PLT_THROTTLE_CM_DISPENSE_AM 0x2A92, 0x8000 +#define F_4E_PLT_THROTTLE_MIC 0x2A92, 0x6000, 13 +#define F_4E_WSO_AFCS_EMERGENCY_RELEASE 0x2A92, 0x1000, 12 +#define F_4E_WSO_AFCS_EMERGENCY_RELEASE_AM 0x2A92, 0x1000 #define F_4E_WSO_ARC_164_AUX_CHANNEL 0x2A26, 0x3E00, 9 #define F_4E_WSO_ARC_164_AUX_VOLUME 0x2A30, 0xFFFF, 0 #define F_4E_WSO_ARC_164_AUX_VOLUME_A 0x2A30 @@ -13339,49 +13351,49 @@ #define F_4E_WSO_ICS_INTERCOM_VOL 0x2A0C, 0xFFFF, 0 #define F_4E_WSO_ICS_INTERCOM_VOL_A 0x2A0C #define F_4E_WSO_ICS_MODE 0x2A0E, 0x000C, 2 -#define F_4E_WSO_IFF_CHALLENGE_DIM 0x2A86, 0xFFFF, 0 -#define F_4E_WSO_IFF_CHALLENGE_DIM_A 0x2A86 -#define F_4E_WSO_IFF_CHALLENGE_LIGHT 0x2A7C, 0x1000, 12 -#define F_4E_WSO_IFF_CHALLENGE_LIGHT_AM 0x2A7C, 0x1000 -#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON 0x2A7C, 0x0800, 11 -#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON_AM 0x2A7C, 0x0800 -#define F_4E_WSO_IFF_CODE_A 0x2A7E -#define F_4E_WSO_IFF_CODE_HUNDREDS 0x2A7A, 0x1E00, 9 -#define F_4E_WSO_IFF_CODE_INC_HUNDREDS 0x2A7A, 0x8000, 15 -#define F_4E_WSO_IFF_CODE_INC_HUNDREDS_AM 0x2A7A, 0x8000 -#define F_4E_WSO_IFF_CODE_INC_ONES 0x2A7C, 0x0020, 5 -#define F_4E_WSO_IFF_CODE_INC_ONES_AM 0x2A7C, 0x0020 -#define F_4E_WSO_IFF_CODE_INC_TENS 0x2A7C, 0x0010, 4 -#define F_4E_WSO_IFF_CODE_INC_TENS_AM 0x2A7C, 0x0010 -#define F_4E_WSO_IFF_CODE_INC_THOUSANDS 0x2A7A, 0x4000, 14 -#define F_4E_WSO_IFF_CODE_INC_THOUSANDS_AM 0x2A7A, 0x4000 -#define F_4E_WSO_IFF_CODE_ONES 0x2A7A, 0x001E, 1 -#define F_4E_WSO_IFF_CODE_TENS 0x2A7A, 0x01E0, 5 -#define F_4E_WSO_IFF_CODE_THOUSANDS 0x2A7C, 0x000F, 0 -#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM 0x2A88, 0xFFFF, 0 -#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM_A 0x2A88 -#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON 0x2A84, 0x0100, 8 -#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON_AM 0x2A84, 0x0100 -#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT 0x2A84, 0x0200, 9 -#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT_AM 0x2A84, 0x0200 -#define F_4E_WSO_IFF_COMBAT_TREE_MODE_2 0x2A84, 0x1800, 11 -#define F_4E_WSO_IFF_COMBAT_TREE_MODE_3 0x2A84, 0x6000, 13 -#define F_4E_WSO_IFF_COMBAT_TREE_TEST 0x2A84, 0x0400, 10 -#define F_4E_WSO_IFF_COMBAT_TREE_TEST_AM 0x2A84, 0x0400 -#define F_4E_WSO_IFF_MODE_A 0x2A82 -#define F_4E_WSO_IFF_MODE_DEC 0x2A7C, 0x0040, 6 -#define F_4E_WSO_IFF_MODE_DEC_AM 0x2A7C, 0x0040 -#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS 0x2A7C, 0x0100, 8 -#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS_AM 0x2A7C, 0x0100 -#define F_4E_WSO_IFF_MODE_DEC_ONES 0x2A7C, 0x0400, 10 -#define F_4E_WSO_IFF_MODE_DEC_ONES_AM 0x2A7C, 0x0400 -#define F_4E_WSO_IFF_MODE_DEC_TENS 0x2A7C, 0x0200, 9 -#define F_4E_WSO_IFF_MODE_DEC_TENS_AM 0x2A7C, 0x0200 -#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS 0x2A7C, 0x0080, 7 -#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS_AM 0x2A7C, 0x0080 -#define F_4E_WSO_IFF_MODE_INC 0x2A7A, 0x2000, 13 -#define F_4E_WSO_IFF_MODE_INC_AM 0x2A7A, 0x2000 -#define F_4E_WSO_IFF_TEST_CHALLENGE 0x2A7C, 0x6000, 13 +#define F_4E_WSO_IFF_CHALLENGE_DIM 0x2A8E, 0xFFFF, 0 +#define F_4E_WSO_IFF_CHALLENGE_DIM_A 0x2A8E +#define F_4E_WSO_IFF_CHALLENGE_LIGHT 0x2A84, 0x4000, 14 +#define F_4E_WSO_IFF_CHALLENGE_LIGHT_AM 0x2A84, 0x4000 +#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON 0x2A84, 0x2000, 13 +#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON_AM 0x2A84, 0x2000 +#define F_4E_WSO_IFF_CODE_A 0x2A86 +#define F_4E_WSO_IFF_CODE_HUNDREDS 0x2A82, 0x7800, 11 +#define F_4E_WSO_IFF_CODE_INC_HUNDREDS 0x2A84, 0x0020, 5 +#define F_4E_WSO_IFF_CODE_INC_HUNDREDS_AM 0x2A84, 0x0020 +#define F_4E_WSO_IFF_CODE_INC_ONES 0x2A84, 0x0080, 7 +#define F_4E_WSO_IFF_CODE_INC_ONES_AM 0x2A84, 0x0080 +#define F_4E_WSO_IFF_CODE_INC_TENS 0x2A84, 0x0040, 6 +#define F_4E_WSO_IFF_CODE_INC_TENS_AM 0x2A84, 0x0040 +#define F_4E_WSO_IFF_CODE_INC_THOUSANDS 0x2A84, 0x0010, 4 +#define F_4E_WSO_IFF_CODE_INC_THOUSANDS_AM 0x2A84, 0x0010 +#define F_4E_WSO_IFF_CODE_ONES 0x2A82, 0x0078, 3 +#define F_4E_WSO_IFF_CODE_TENS 0x2A82, 0x0780, 7 +#define F_4E_WSO_IFF_CODE_THOUSANDS 0x2A84, 0x000F, 0 +#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM 0x2A90, 0xFFFF, 0 +#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM_A 0x2A90 +#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON 0x2A8C, 0x0400, 10 +#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON_AM 0x2A8C, 0x0400 +#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT 0x2A8C, 0x0800, 11 +#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT_AM 0x2A8C, 0x0800 +#define F_4E_WSO_IFF_COMBAT_TREE_MODE_2 0x2A8C, 0x6000, 13 +#define F_4E_WSO_IFF_COMBAT_TREE_MODE_3 0x2A92, 0x0003, 0 +#define F_4E_WSO_IFF_COMBAT_TREE_TEST 0x2A8C, 0x1000, 12 +#define F_4E_WSO_IFF_COMBAT_TREE_TEST_AM 0x2A8C, 0x1000 +#define F_4E_WSO_IFF_MODE_A 0x2A8A +#define F_4E_WSO_IFF_MODE_DEC 0x2A84, 0x0100, 8 +#define F_4E_WSO_IFF_MODE_DEC_AM 0x2A84, 0x0100 +#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS 0x2A84, 0x0400, 10 +#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS_AM 0x2A84, 0x0400 +#define F_4E_WSO_IFF_MODE_DEC_ONES 0x2A84, 0x1000, 12 +#define F_4E_WSO_IFF_MODE_DEC_ONES_AM 0x2A84, 0x1000 +#define F_4E_WSO_IFF_MODE_DEC_TENS 0x2A84, 0x0800, 11 +#define F_4E_WSO_IFF_MODE_DEC_TENS_AM 0x2A84, 0x0800 +#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS 0x2A84, 0x0200, 9 +#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS_AM 0x2A84, 0x0200 +#define F_4E_WSO_IFF_MODE_INC 0x2A82, 0x8000, 15 +#define F_4E_WSO_IFF_MODE_INC_AM 0x2A82, 0x8000 +#define F_4E_WSO_IFF_TEST_CHALLENGE 0x2A8C, 0x0300, 8 #define F_4E_WSO_KY_28_BAND 0x2A00, 0x0200, 9 #define F_4E_WSO_KY_28_BAND_AM 0x2A00, 0x0200 #define F_4E_WSO_KY_28_C_MODE 0x2A00, 0x0080, 7 @@ -13399,16 +13411,16 @@ #define F_4E_WSO_KY_28_P_MODE_DIM_A 0x2A06 #define F_4E_WSO_KY_28_P_MODE_TEST 0x2A00, 0x0010, 4 #define F_4E_WSO_KY_28_P_MODE_TEST_AM 0x2A00, 0x0010 -#define F_4E_WSO_O2_FLOW 0x2A76, 0xFFFF, 0 -#define F_4E_WSO_O2_FLOW_A 0x2A76 -#define F_4E_WSO_O2_MIXTURE 0x2A6C, 0x0010, 4 -#define F_4E_WSO_O2_MIXTURE_AM 0x2A6C, 0x0010 -#define F_4E_WSO_O2_MODE 0x2A6C, 0x000C, 2 -#define F_4E_WSO_O2_PRESSURE 0x2A78, 0xFFFF, 0 -#define F_4E_WSO_O2_PRESSURE_A 0x2A78 -#define F_4E_WSO_O2_SUPPLY 0x2A6C, 0x0020, 5 -#define F_4E_WSO_O2_SUPPLY_AM 0x2A6C, 0x0020 -#define F_4E_WSO_THROTTLE_MIC 0x2A8A, 0xC000, 14 +#define F_4E_WSO_O2_FLOW 0x2A7E, 0xFFFF, 0 +#define F_4E_WSO_O2_FLOW_A 0x2A7E +#define F_4E_WSO_O2_MIXTURE 0x2A74, 0x0040, 6 +#define F_4E_WSO_O2_MIXTURE_AM 0x2A74, 0x0040 +#define F_4E_WSO_O2_MODE 0x2A74, 0x0030, 4 +#define F_4E_WSO_O2_PRESSURE 0x2A80, 0xFFFF, 0 +#define F_4E_WSO_O2_PRESSURE_A 0x2A80 +#define F_4E_WSO_O2_SUPPLY 0x2A74, 0x0080, 7 +#define F_4E_WSO_O2_SUPPLY_AM 0x2A74, 0x0080 +#define F_4E_WSO_THROTTLE_MIC 0x2AAA, 0x0003, 0 #define F_5E_3_ACC 0x768E, 0x0004, 2 #define F_5E_3_ACCELEROMETER 0x76A0, 0xFFFF, 0 #define F_5E_3_ACCELEROMETER_A 0x76A0 diff --git a/Scripts/DCS-BIOS/doc/doc_assets/F-4E.jsonp b/Scripts/DCS-BIOS/doc/doc_assets/F-4E.jsonp index 80ff54155..f314e1c76 100644 --- a/Scripts/DCS-BIOS/doc/doc_assets/F-4E.jsonp +++ b/Scripts/DCS-BIOS/doc/doc_assets/F-4E.jsonp @@ -8,7 +8,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_AAR", "inputs": [ ], "outputs": [ { - "address": 10912, + "address": 10920, "address_identifier": "F_4E_EXT_LIGHT_AAR_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_AAR", "description": "AAR Receptacle Light (White)", @@ -26,7 +26,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_BEACON", "inputs": [ ], "outputs": [ { - "address": 10892, + "address": 10900, "address_identifier": "F_4E_EXT_LIGHT_BEACON_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_BEACON", "description": "Beacon Light (Red)", @@ -44,7 +44,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_BEACON_FLASH", "inputs": [ ], "outputs": [ { - "address": 10900, + "address": 10908, "address_identifier": "F_4E_EXT_LIGHT_BEACON_FLASH_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_BEACON_FLASH", "description": "Flashing Beacon Light (Red)", @@ -62,7 +62,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_BELLY", "inputs": [ ], "outputs": [ { - "address": 10908, + "address": 10916, "address_identifier": "F_4E_EXT_LIGHT_BELLY_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_BELLY", "description": "Belly Lights L/R (White)", @@ -80,7 +80,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_FORMATION", "inputs": [ ], "outputs": [ { - "address": 10902, + "address": 10910, "address_identifier": "F_4E_EXT_LIGHT_FORMATION_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_FORMATION", "description": "Formation Lights (Green)", @@ -98,7 +98,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_FUSELAGE_TOP", "inputs": [ ], "outputs": [ { - "address": 10910, + "address": 10918, "address_identifier": "F_4E_EXT_LIGHT_FUSELAGE_TOP_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_FUSELAGE_TOP", "description": "Fuselage Top Light (White)", @@ -116,7 +116,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_LANDING", "inputs": [ ], "outputs": [ { - "address": 10904, + "address": 10912, "address_identifier": "F_4E_EXT_LIGHT_LANDING_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_LANDING", "description": "Landing Light (White)", @@ -134,7 +134,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_POSITION_TAIL", "inputs": [ ], "outputs": [ { - "address": 10896, + "address": 10904, "address_identifier": "F_4E_EXT_LIGHT_POSITION_TAIL_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_POSITION_TAIL", "description": "Tail Position Light (White)", @@ -152,7 +152,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_POSITION_WING", "inputs": [ ], "outputs": [ { - "address": 10894, + "address": 10902, "address_identifier": "F_4E_EXT_LIGHT_POSITION_WING_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_POSITION_WING", "description": "Wing Position Lights (Red/Green)", @@ -170,7 +170,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_TAXI", "inputs": [ ], "outputs": [ { - "address": 10906, + "address": 10914, "address_identifier": "F_4E_EXT_LIGHT_TAXI_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_TAXI", "description": "Taxi Light (White)", @@ -188,7 +188,7 @@ docdata["F-4E"] = "identifier": "EXT_LIGHT_WING_JOIN_UP", "inputs": [ ], "outputs": [ { - "address": 10898, + "address": 10906, "address_identifier": "F_4E_EXT_LIGHT_WING_JOIN_UP_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_WING_JOIN_UP", "description": "Wing Join-Up Lights (Red/Green)", @@ -1448,12 +1448,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_ANTI_COLL", "description": "selector position", - "mask": 12, + "mask": 48, "max_value": 2, - "shift_by": 2, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -1472,12 +1472,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_FLASH_MODE", "description": "selector position", - "mask": 48, + "mask": 192, "max_value": 2, - "shift_by": 4, + "shift_by": 6, "suffix": "", "type": "integer" } ] @@ -1496,12 +1496,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_TAIL_BRIGHTNESS", "description": "selector position", - "mask": 192, + "mask": 768, "max_value": 2, - "shift_by": 6, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -1520,12 +1520,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_WING_BRIGHTNESS", "description": "selector position", - "mask": 768, + "mask": 3072, "max_value": 2, - "shift_by": 8, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -1550,13 +1550,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_FUEL_AIR_REFUEL_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_AIR_REFUEL", "description": "selector position", - "mask": 1024, + "mask": 4096, "max_value": 1, - "shift_by": 10, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -1580,13 +1580,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10882, "address_mask_identifier": "F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK", "description": "selector position", - "mask": 16384, + "mask": 1, "max_value": 1, - "shift_by": 14, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -1610,13 +1610,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10882, "address_mask_identifier": "F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK", "description": "selector position", - "mask": 32768, + "mask": 2, "max_value": 1, - "shift_by": 15, + "shift_by": 1, "suffix": "", "type": "integer" } ] @@ -1635,12 +1635,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_FUEL_EXTERNAL_TANKS_FEED", "description": "selector position", - "mask": 12288, + "mask": 49152, "max_value": 2, - "shift_by": 12, + "shift_by": 14, "suffix": "", "type": "integer" } ] @@ -1664,13 +1664,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10874, + "address": 10882, "address_mask_identifier": "F_4E_PLT_FUEL_FEED_TANK_CHECK_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_FEED_TANK_CHECK", "description": "selector position", - "mask": 1, + "mask": 4, "max_value": 1, - "shift_by": 0, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -1693,13 +1693,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_FUEL_REFUEL_SELECTOR_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_REFUEL_SELECTOR", "description": "selector position", - "mask": 512, + "mask": 2048, "max_value": 1, - "shift_by": 9, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -1722,13 +1722,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER", "description": "selector position", - "mask": 256, + "mask": 1024, "max_value": 1, - "shift_by": 8, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -1751,13 +1751,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_FUEL_WING_FUEL_DUMP_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_WING_FUEL_DUMP", "description": "selector position", - "mask": 2048, + "mask": 8192, "max_value": 1, - "shift_by": 11, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -1780,13 +1780,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_FUEL_WING_INTERNAL_FEED_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_WING_INTERNAL_FEED", "description": "selector position", - "mask": 128, + "mask": 512, "max_value": 1, - "shift_by": 7, + "shift_by": 9, "suffix": "", "type": "integer" } ] @@ -2604,12 +2604,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10914, + "address": 10922, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_TAXI_LAND", "description": "selector position", - "mask": 3, + "mask": 12, "max_value": 2, - "shift_by": 0, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -2623,7 +2623,7 @@ docdata["F-4E"] = "identifier": "PLT_O2_FLOW", "inputs": [ ], "outputs": [ { - "address": 10862, + "address": 10870, "address_identifier": "F_4E_PLT_O2_FLOW_A", "address_mask_shift_identifier": "F_4E_PLT_O2_FLOW", "description": "gauge position", @@ -2641,7 +2641,7 @@ docdata["F-4E"] = "identifier": "PLT_O2_LITERS", "inputs": [ ], "outputs": [ { - "address": 10866, + "address": 10874, "address_identifier": "F_4E_PLT_O2_LITERS_A", "address_mask_shift_identifier": "F_4E_PLT_O2_LITERS", "description": "gauge position", @@ -2670,13 +2670,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_O2_MIXTURE_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_MIXTURE", "description": "selector position", - "mask": 1, + "mask": 4, "max_value": 1, - "shift_by": 0, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -2692,12 +2692,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10838, + "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_O2_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 49152, + "mask": 3, "max_value": 2, - "shift_by": 14, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -2709,7 +2709,7 @@ docdata["F-4E"] = "identifier": "PLT_O2_PRESSURE", "inputs": [ ], "outputs": [ { - "address": 10864, + "address": 10872, "address_identifier": "F_4E_PLT_O2_PRESSURE_A", "address_mask_shift_identifier": "F_4E_PLT_O2_PRESSURE", "description": "gauge position", @@ -2738,13 +2738,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_O2_SUPPLY_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_SUPPLY", "description": "selector position", - "mask": 2, + "mask": 8, "max_value": 1, - "shift_by": 1, + "shift_by": 3, "suffix": "", "type": "integer" } ] @@ -2772,14 +2772,145 @@ docdata["F-4E"] = "address_mask_identifier": "F_4E_PLT_O2_TEST_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_TEST", "description": "selector position", - "mask": 8192, + "mask": 32768, "max_value": 1, - "shift_by": 13, + "shift_by": 15, "suffix": "", "type": "integer" } ] } }, + "PLT Radar Altimeter": { + "PLT_RADAR_ALT_BUG": { + "category": "PLT Radar Altimeter", + "control_type": "analog_gauge", + "description": "Radar Altimeter Altitude Bug", + "identifier": "PLT_RADAR_ALT_BUG", + "inputs": [ ], + "outputs": [ { + "address": 10864, + "address_identifier": "F_4E_PLT_RADAR_ALT_BUG_A", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_BUG", + "description": "gauge position", + "mask": 65535, + "max_value": 65535, + "shift_by": 0, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_RADAR_ALT_MOVE_BUG": { + "category": "PLT Radar Altimeter", + "control_type": "limited_dial", + "description": "Move Bug (rotate to 0 to turn off)", + "identifier": "PLT_RADAR_ALT_MOVE_BUG", + "inputs": [ { + "description": "set the position of the dial", + "interface": "set_state", + "max_value": 65535 + }, { + "description": "turn the dial left or right", + "interface": "variable_step", + "max_value": 65535, + "suggested_step": 3200 + } ], + "outputs": [ { + "address": 10860, + "address_identifier": "F_4E_PLT_RADAR_ALT_MOVE_BUG_A", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_MOVE_BUG", + "description": "position of the potentiometer", + "mask": 65535, + "max_value": 65535, + "shift_by": 0, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_RADAR_ALT_NEEDLE": { + "category": "PLT Radar Altimeter", + "control_type": "analog_gauge", + "description": "Radar Altimeter Needle", + "identifier": "PLT_RADAR_ALT_NEEDLE", + "inputs": [ ], + "outputs": [ { + "address": 10862, + "address_identifier": "F_4E_PLT_RADAR_ALT_NEEDLE_A", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_NEEDLE", + "description": "gauge position", + "mask": 65535, + "max_value": 65535, + "shift_by": 0, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_RADAR_ALT_OFF_FLAG": { + "category": "PLT Radar Altimeter", + "control_type": "analog_gauge", + "description": "Radar Altimeter Off Flag", + "identifier": "PLT_RADAR_ALT_OFF_FLAG", + "inputs": [ ], + "outputs": [ { + "address": 10866, + "address_identifier": "F_4E_PLT_RADAR_ALT_OFF_FLAG_A", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_OFF_FLAG", + "description": "gauge position", + "mask": 65535, + "max_value": 65535, + "shift_by": 0, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_RADAR_ALT_PUSH_TEST": { + "api_variant": "momentary_last_position", + "category": "PLT Radar Altimeter", + "control_type": "selector", + "description": "Move Bug (push to test)", + "identifier": "PLT_RADAR_ALT_PUSH_TEST", + "inputs": [ { + "description": "switch to previous or next state", + "interface": "fixed_step" + }, { + "description": "set position", + "interface": "set_state", + "max_value": 1 + }, { + "argument": "TOGGLE", + "description": "Toggle switch state", + "interface": "action" + } ], + "outputs": [ { + "address": 10838, + "address_mask_identifier": "F_4E_PLT_RADAR_ALT_PUSH_TEST_AM", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_PUSH_TEST", + "description": "selector position", + "mask": 8192, + "max_value": 1, + "shift_by": 13, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_RADAR_ALT_WARN_LIGHT": { + "category": "PLT Radar Altimeter", + "control_type": "led", + "description": "Radar Altimeter Low Altitude Lamp (Red)", + "identifier": "PLT_RADAR_ALT_WARN_LIGHT", + "inputs": [ ], + "outputs": [ { + "address": 10838, + "address_mask_identifier": "F_4E_PLT_RADAR_ALT_WARN_LIGHT_AM", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_WARN_LIGHT", + "description": "0 if light is off, 1 if light is on", + "mask": 16384, + "max_value": 1, + "shift_by": 14, + "suffix": "", + "type": "integer" + } ] + } + }, "PLT Right Console": { "PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE": { "api_variant": "momentary_last_position", @@ -2800,13 +2931,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10914, + "address": 10922, "address_mask_identifier": "F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE_AM", "address_mask_shift_identifier": "F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE", "description": "selector position", - "mask": 4, + "mask": 16, "max_value": 1, - "shift_by": 2, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -2829,7 +2960,7 @@ docdata["F-4E"] = "suggested_step": 3200 } ], "outputs": [ { - "address": 10916, + "address": 10924, "address_identifier": "F_4E_PLT_EXT_LIGHT_FORMATION_BRIGHTNESS_A", "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_FORMATION_BRIGHTNESS", "description": "position of the potentiometer", @@ -2851,12 +2982,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10914, + "address": 10922, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_FORMATION_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 24, + "mask": 96, "max_value": 2, - "shift_by": 3, + "shift_by": 5, "suffix": "", "type": "integer" } ] @@ -2882,7 +3013,7 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10884, + "address": 10892, "address_mask_identifier": "F_4E_PLT_AFCS_EMERGENCY_RELEASE_AM", "address_mask_shift_identifier": "F_4E_PLT_AFCS_EMERGENCY_RELEASE", "description": "selector position", @@ -2914,13 +3045,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_identifier": "F_4E_PLT_THROTTLE_CM_DISPENSE_AM", "address_mask_shift_identifier": "F_4E_PLT_THROTTLE_CM_DISPENSE", "description": "selector position", - "mask": 8192, + "mask": 32768, "max_value": 1, - "shift_by": 13, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -2936,12 +3067,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_shift_identifier": "F_4E_PLT_THROTTLE_MIC", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 6144, + "mask": 24576, "max_value": 2, - "shift_by": 11, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -2966,13 +3097,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_MASTER_ARM_SW_AM", "address_mask_shift_identifier": "F_4E_PLT_MASTER_ARM_SW", "description": "selector position", - "mask": 64, + "mask": 256, "max_value": 1, - "shift_by": 6, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -4192,7 +4323,7 @@ docdata["F-4E"] = "suggested_step": 3200 } ], "outputs": [ { - "address": 10886, + "address": 10894, "address_identifier": "F_4E_WSO_IFF_CHALLENGE_DIM_A", "address_mask_shift_identifier": "F_4E_WSO_IFF_CHALLENGE_DIM", "description": "position of the potentiometer", @@ -4210,13 +4341,13 @@ docdata["F-4E"] = "identifier": "WSO_IFF_CHALLENGE_LIGHT", "inputs": [ ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CHALLENGE_LIGHT_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CHALLENGE_LIGHT", "description": "0 if light is off, 1 if light is on", - "mask": 4096, + "mask": 16384, "max_value": 1, - "shift_by": 12, + "shift_by": 14, "suffix": "", "type": "integer" } ] @@ -4240,13 +4371,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON", "description": "selector position", - "mask": 2048, + "mask": 8192, "max_value": 1, - "shift_by": 11, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -4258,7 +4389,7 @@ docdata["F-4E"] = "identifier": "WSO_IFF_CODE", "inputs": [ ], "outputs": [ { - "address": 10878, + "address": 10886, "address_identifier": "F_4E_WSO_IFF_CODE_A", "description": "IFF Code", "max_length": 4, @@ -4273,12 +4404,12 @@ docdata["F-4E"] = "identifier": "WSO_IFF_CODE_HUNDREDS", "inputs": [ ], "outputs": [ { - "address": 10874, + "address": 10882, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_HUNDREDS", "description": "IFF Code (hundreds)", - "mask": 7680, + "mask": 30720, "max_value": 8, - "shift_by": 9, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -4302,13 +4433,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10874, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CODE_INC_HUNDREDS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_INC_HUNDREDS", "description": "selector position", - "mask": 32768, + "mask": 32, "max_value": 1, - "shift_by": 15, + "shift_by": 5, "suffix": "", "type": "integer" } ] @@ -4332,13 +4463,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CODE_INC_ONES_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_INC_ONES", "description": "selector position", - "mask": 32, + "mask": 128, "max_value": 1, - "shift_by": 5, + "shift_by": 7, "suffix": "", "type": "integer" } ] @@ -4362,13 +4493,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CODE_INC_TENS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_INC_TENS", "description": "selector position", - "mask": 16, + "mask": 64, "max_value": 1, - "shift_by": 4, + "shift_by": 6, "suffix": "", "type": "integer" } ] @@ -4392,13 +4523,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10874, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CODE_INC_THOUSANDS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_INC_THOUSANDS", "description": "selector position", - "mask": 16384, + "mask": 16, "max_value": 1, - "shift_by": 14, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -4410,12 +4541,12 @@ docdata["F-4E"] = "identifier": "WSO_IFF_CODE_ONES", "inputs": [ ], "outputs": [ { - "address": 10874, + "address": 10882, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_ONES", "description": "IFF Code (ones)", - "mask": 30, + "mask": 120, "max_value": 8, - "shift_by": 1, + "shift_by": 3, "suffix": "", "type": "integer" } ] @@ -4427,12 +4558,12 @@ docdata["F-4E"] = "identifier": "WSO_IFF_CODE_TENS", "inputs": [ ], "outputs": [ { - "address": 10874, + "address": 10882, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_TENS", "description": "IFF Code (tens)", - "mask": 480, + "mask": 1920, "max_value": 8, - "shift_by": 5, + "shift_by": 7, "suffix": "", "type": "integer" } ] @@ -4444,7 +4575,7 @@ docdata["F-4E"] = "identifier": "WSO_IFF_CODE_THOUSANDS", "inputs": [ ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_THOUSANDS", "description": "IFF Code (thousands)", "mask": 15, @@ -4470,7 +4601,7 @@ docdata["F-4E"] = "suggested_step": 3200 } ], "outputs": [ { - "address": 10888, + "address": 10896, "address_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM_A", "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM", "description": "position of the potentiometer", @@ -4500,13 +4631,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10884, + "address": 10892, "address_mask_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON", "description": "selector position", - "mask": 256, + "mask": 1024, "max_value": 1, - "shift_by": 8, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -4518,13 +4649,13 @@ docdata["F-4E"] = "identifier": "WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT", "inputs": [ ], "outputs": [ { - "address": 10884, + "address": 10892, "address_mask_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT", "description": "0 if light is off, 1 if light is on", - "mask": 512, + "mask": 2048, "max_value": 1, - "shift_by": 9, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -4543,12 +4674,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10884, + "address": 10892, "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_MODE_2", "description": "selector position", - "mask": 6144, + "mask": 24576, "max_value": 2, - "shift_by": 11, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -4567,12 +4698,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10884, + "address": 10898, "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_MODE_3", "description": "selector position", - "mask": 24576, + "mask": 3, "max_value": 2, - "shift_by": 13, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -4596,13 +4727,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10884, + "address": 10892, "address_mask_identifier": "F_4E_WSO_IFF_COMBAT_TREE_TEST_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_TEST", "description": "selector position", - "mask": 1024, + "mask": 4096, "max_value": 1, - "shift_by": 10, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -4614,7 +4745,7 @@ docdata["F-4E"] = "identifier": "WSO_IFF_MODE", "inputs": [ ], "outputs": [ { - "address": 10882, + "address": 10890, "address_identifier": "F_4E_WSO_IFF_MODE_A", "description": "IFF Mode", "max_length": 3, @@ -4641,13 +4772,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_MODE_DEC_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_DEC", "description": "selector position", - "mask": 64, + "mask": 256, "max_value": 1, - "shift_by": 6, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -4671,13 +4802,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_MODE_DEC_HUNDREDS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_DEC_HUNDREDS", "description": "selector position", - "mask": 256, + "mask": 1024, "max_value": 1, - "shift_by": 8, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -4701,13 +4832,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_MODE_DEC_ONES_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_DEC_ONES", "description": "selector position", - "mask": 1024, + "mask": 4096, "max_value": 1, - "shift_by": 10, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -4731,13 +4862,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_MODE_DEC_TENS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_DEC_TENS", "description": "selector position", - "mask": 512, + "mask": 2048, "max_value": 1, - "shift_by": 9, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -4761,13 +4892,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_MODE_DEC_THOUSANDS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_DEC_THOUSANDS", "description": "selector position", - "mask": 128, + "mask": 512, "max_value": 1, - "shift_by": 7, + "shift_by": 9, "suffix": "", "type": "integer" } ] @@ -4791,13 +4922,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10874, + "address": 10882, "address_mask_identifier": "F_4E_WSO_IFF_MODE_INC_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_INC", "description": "selector position", - "mask": 8192, + "mask": 32768, "max_value": 1, - "shift_by": 13, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -4813,12 +4944,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10876, + "address": 10892, "address_mask_shift_identifier": "F_4E_WSO_IFF_TEST_CHALLENGE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 24576, + "mask": 768, "max_value": 2, - "shift_by": 13, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -5067,7 +5198,7 @@ docdata["F-4E"] = "identifier": "WSO_O2_FLOW", "inputs": [ ], "outputs": [ { - "address": 10870, + "address": 10878, "address_identifier": "F_4E_WSO_O2_FLOW_A", "address_mask_shift_identifier": "F_4E_WSO_O2_FLOW", "description": "gauge position", @@ -5096,13 +5227,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_WSO_O2_MIXTURE_AM", "address_mask_shift_identifier": "F_4E_WSO_O2_MIXTURE", "description": "selector position", - "mask": 16, + "mask": 64, "max_value": 1, - "shift_by": 4, + "shift_by": 6, "suffix": "", "type": "integer" } ] @@ -5118,12 +5249,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_shift_identifier": "F_4E_WSO_O2_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 12, + "mask": 48, "max_value": 2, - "shift_by": 2, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -5135,7 +5266,7 @@ docdata["F-4E"] = "identifier": "WSO_O2_PRESSURE", "inputs": [ ], "outputs": [ { - "address": 10872, + "address": 10880, "address_identifier": "F_4E_WSO_O2_PRESSURE_A", "address_mask_shift_identifier": "F_4E_WSO_O2_PRESSURE", "description": "gauge position", @@ -5164,13 +5295,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_WSO_O2_SUPPLY_AM", "address_mask_shift_identifier": "F_4E_WSO_O2_SUPPLY", "description": "selector position", - "mask": 32, + "mask": 128, "max_value": 1, - "shift_by": 5, + "shift_by": 7, "suffix": "", "type": "integer" } ] @@ -5196,13 +5327,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_identifier": "F_4E_WSO_AFCS_EMERGENCY_RELEASE_AM", "address_mask_shift_identifier": "F_4E_WSO_AFCS_EMERGENCY_RELEASE", "description": "selector position", - "mask": 1024, + "mask": 4096, "max_value": 1, - "shift_by": 10, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -5220,12 +5351,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10922, "address_mask_shift_identifier": "F_4E_WSO_THROTTLE_MIC", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 49152, + "mask": 3, "max_value": 2, - "shift_by": 14, + "shift_by": 0, "suffix": "", "type": "integer" } ] diff --git a/Scripts/DCS-BIOS/doc/json/F-4E.json b/Scripts/DCS-BIOS/doc/json/F-4E.json index e7900d8b6..88f6ccad2 100644 --- a/Scripts/DCS-BIOS/doc/json/F-4E.json +++ b/Scripts/DCS-BIOS/doc/json/F-4E.json @@ -7,7 +7,7 @@ "identifier": "EXT_LIGHT_AAR", "inputs": [ ], "outputs": [ { - "address": 10912, + "address": 10920, "address_identifier": "F_4E_EXT_LIGHT_AAR_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_AAR", "description": "AAR Receptacle Light (White)", @@ -25,7 +25,7 @@ "identifier": "EXT_LIGHT_BEACON", "inputs": [ ], "outputs": [ { - "address": 10892, + "address": 10900, "address_identifier": "F_4E_EXT_LIGHT_BEACON_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_BEACON", "description": "Beacon Light (Red)", @@ -43,7 +43,7 @@ "identifier": "EXT_LIGHT_BEACON_FLASH", "inputs": [ ], "outputs": [ { - "address": 10900, + "address": 10908, "address_identifier": "F_4E_EXT_LIGHT_BEACON_FLASH_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_BEACON_FLASH", "description": "Flashing Beacon Light (Red)", @@ -61,7 +61,7 @@ "identifier": "EXT_LIGHT_BELLY", "inputs": [ ], "outputs": [ { - "address": 10908, + "address": 10916, "address_identifier": "F_4E_EXT_LIGHT_BELLY_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_BELLY", "description": "Belly Lights L/R (White)", @@ -79,7 +79,7 @@ "identifier": "EXT_LIGHT_FORMATION", "inputs": [ ], "outputs": [ { - "address": 10902, + "address": 10910, "address_identifier": "F_4E_EXT_LIGHT_FORMATION_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_FORMATION", "description": "Formation Lights (Green)", @@ -97,7 +97,7 @@ "identifier": "EXT_LIGHT_FUSELAGE_TOP", "inputs": [ ], "outputs": [ { - "address": 10910, + "address": 10918, "address_identifier": "F_4E_EXT_LIGHT_FUSELAGE_TOP_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_FUSELAGE_TOP", "description": "Fuselage Top Light (White)", @@ -115,7 +115,7 @@ "identifier": "EXT_LIGHT_LANDING", "inputs": [ ], "outputs": [ { - "address": 10904, + "address": 10912, "address_identifier": "F_4E_EXT_LIGHT_LANDING_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_LANDING", "description": "Landing Light (White)", @@ -133,7 +133,7 @@ "identifier": "EXT_LIGHT_POSITION_TAIL", "inputs": [ ], "outputs": [ { - "address": 10896, + "address": 10904, "address_identifier": "F_4E_EXT_LIGHT_POSITION_TAIL_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_POSITION_TAIL", "description": "Tail Position Light (White)", @@ -151,7 +151,7 @@ "identifier": "EXT_LIGHT_POSITION_WING", "inputs": [ ], "outputs": [ { - "address": 10894, + "address": 10902, "address_identifier": "F_4E_EXT_LIGHT_POSITION_WING_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_POSITION_WING", "description": "Wing Position Lights (Red/Green)", @@ -169,7 +169,7 @@ "identifier": "EXT_LIGHT_TAXI", "inputs": [ ], "outputs": [ { - "address": 10906, + "address": 10914, "address_identifier": "F_4E_EXT_LIGHT_TAXI_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_TAXI", "description": "Taxi Light (White)", @@ -187,7 +187,7 @@ "identifier": "EXT_LIGHT_WING_JOIN_UP", "inputs": [ ], "outputs": [ { - "address": 10898, + "address": 10906, "address_identifier": "F_4E_EXT_LIGHT_WING_JOIN_UP_A", "address_mask_shift_identifier": "F_4E_EXT_LIGHT_WING_JOIN_UP", "description": "Wing Join-Up Lights (Red/Green)", @@ -1447,12 +1447,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_ANTI_COLL", "description": "selector position", - "mask": 12, + "mask": 48, "max_value": 2, - "shift_by": 2, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -1471,12 +1471,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_FLASH_MODE", "description": "selector position", - "mask": 48, + "mask": 192, "max_value": 2, - "shift_by": 4, + "shift_by": 6, "suffix": "", "type": "integer" } ] @@ -1495,12 +1495,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_TAIL_BRIGHTNESS", "description": "selector position", - "mask": 192, + "mask": 768, "max_value": 2, - "shift_by": 6, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -1519,12 +1519,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_WING_BRIGHTNESS", "description": "selector position", - "mask": 768, + "mask": 3072, "max_value": 2, - "shift_by": 8, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -1549,13 +1549,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_FUEL_AIR_REFUEL_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_AIR_REFUEL", "description": "selector position", - "mask": 1024, + "mask": 4096, "max_value": 1, - "shift_by": 10, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -1579,13 +1579,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10882, "address_mask_identifier": "F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK", "description": "selector position", - "mask": 16384, + "mask": 1, "max_value": 1, - "shift_by": 14, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -1609,13 +1609,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10882, "address_mask_identifier": "F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK", "description": "selector position", - "mask": 32768, + "mask": 2, "max_value": 1, - "shift_by": 15, + "shift_by": 1, "suffix": "", "type": "integer" } ] @@ -1634,12 +1634,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_FUEL_EXTERNAL_TANKS_FEED", "description": "selector position", - "mask": 12288, + "mask": 49152, "max_value": 2, - "shift_by": 12, + "shift_by": 14, "suffix": "", "type": "integer" } ] @@ -1663,13 +1663,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10874, + "address": 10882, "address_mask_identifier": "F_4E_PLT_FUEL_FEED_TANK_CHECK_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_FEED_TANK_CHECK", "description": "selector position", - "mask": 1, + "mask": 4, "max_value": 1, - "shift_by": 0, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -1692,13 +1692,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_FUEL_REFUEL_SELECTOR_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_REFUEL_SELECTOR", "description": "selector position", - "mask": 512, + "mask": 2048, "max_value": 1, - "shift_by": 9, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -1721,13 +1721,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER", "description": "selector position", - "mask": 256, + "mask": 1024, "max_value": 1, - "shift_by": 8, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -1750,13 +1750,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_FUEL_WING_FUEL_DUMP_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_WING_FUEL_DUMP", "description": "selector position", - "mask": 2048, + "mask": 8192, "max_value": 1, - "shift_by": 11, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -1779,13 +1779,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_FUEL_WING_INTERNAL_FEED_AM", "address_mask_shift_identifier": "F_4E_PLT_FUEL_WING_INTERNAL_FEED", "description": "selector position", - "mask": 128, + "mask": 512, "max_value": 1, - "shift_by": 7, + "shift_by": 9, "suffix": "", "type": "integer" } ] @@ -2603,12 +2603,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10914, + "address": 10922, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_TAXI_LAND", "description": "selector position", - "mask": 3, + "mask": 12, "max_value": 2, - "shift_by": 0, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -2622,7 +2622,7 @@ "identifier": "PLT_O2_FLOW", "inputs": [ ], "outputs": [ { - "address": 10862, + "address": 10870, "address_identifier": "F_4E_PLT_O2_FLOW_A", "address_mask_shift_identifier": "F_4E_PLT_O2_FLOW", "description": "gauge position", @@ -2640,7 +2640,7 @@ "identifier": "PLT_O2_LITERS", "inputs": [ ], "outputs": [ { - "address": 10866, + "address": 10874, "address_identifier": "F_4E_PLT_O2_LITERS_A", "address_mask_shift_identifier": "F_4E_PLT_O2_LITERS", "description": "gauge position", @@ -2669,13 +2669,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_O2_MIXTURE_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_MIXTURE", "description": "selector position", - "mask": 1, + "mask": 4, "max_value": 1, - "shift_by": 0, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -2691,12 +2691,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10838, + "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_O2_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 49152, + "mask": 3, "max_value": 2, - "shift_by": 14, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -2708,7 +2708,7 @@ "identifier": "PLT_O2_PRESSURE", "inputs": [ ], "outputs": [ { - "address": 10864, + "address": 10872, "address_identifier": "F_4E_PLT_O2_PRESSURE_A", "address_mask_shift_identifier": "F_4E_PLT_O2_PRESSURE", "description": "gauge position", @@ -2737,13 +2737,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_O2_SUPPLY_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_SUPPLY", "description": "selector position", - "mask": 2, + "mask": 8, "max_value": 1, - "shift_by": 1, + "shift_by": 3, "suffix": "", "type": "integer" } ] @@ -2771,14 +2771,145 @@ "address_mask_identifier": "F_4E_PLT_O2_TEST_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_TEST", "description": "selector position", - "mask": 8192, + "mask": 32768, "max_value": 1, - "shift_by": 13, + "shift_by": 15, "suffix": "", "type": "integer" } ] } }, + "PLT Radar Altimeter": { + "PLT_RADAR_ALT_BUG": { + "category": "PLT Radar Altimeter", + "control_type": "analog_gauge", + "description": "Radar Altimeter Altitude Bug", + "identifier": "PLT_RADAR_ALT_BUG", + "inputs": [ ], + "outputs": [ { + "address": 10864, + "address_identifier": "F_4E_PLT_RADAR_ALT_BUG_A", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_BUG", + "description": "gauge position", + "mask": 65535, + "max_value": 65535, + "shift_by": 0, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_RADAR_ALT_MOVE_BUG": { + "category": "PLT Radar Altimeter", + "control_type": "limited_dial", + "description": "Move Bug (rotate to 0 to turn off)", + "identifier": "PLT_RADAR_ALT_MOVE_BUG", + "inputs": [ { + "description": "set the position of the dial", + "interface": "set_state", + "max_value": 65535 + }, { + "description": "turn the dial left or right", + "interface": "variable_step", + "max_value": 65535, + "suggested_step": 3200 + } ], + "outputs": [ { + "address": 10860, + "address_identifier": "F_4E_PLT_RADAR_ALT_MOVE_BUG_A", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_MOVE_BUG", + "description": "position of the potentiometer", + "mask": 65535, + "max_value": 65535, + "shift_by": 0, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_RADAR_ALT_NEEDLE": { + "category": "PLT Radar Altimeter", + "control_type": "analog_gauge", + "description": "Radar Altimeter Needle", + "identifier": "PLT_RADAR_ALT_NEEDLE", + "inputs": [ ], + "outputs": [ { + "address": 10862, + "address_identifier": "F_4E_PLT_RADAR_ALT_NEEDLE_A", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_NEEDLE", + "description": "gauge position", + "mask": 65535, + "max_value": 65535, + "shift_by": 0, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_RADAR_ALT_OFF_FLAG": { + "category": "PLT Radar Altimeter", + "control_type": "analog_gauge", + "description": "Radar Altimeter Off Flag", + "identifier": "PLT_RADAR_ALT_OFF_FLAG", + "inputs": [ ], + "outputs": [ { + "address": 10866, + "address_identifier": "F_4E_PLT_RADAR_ALT_OFF_FLAG_A", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_OFF_FLAG", + "description": "gauge position", + "mask": 65535, + "max_value": 65535, + "shift_by": 0, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_RADAR_ALT_PUSH_TEST": { + "api_variant": "momentary_last_position", + "category": "PLT Radar Altimeter", + "control_type": "selector", + "description": "Move Bug (push to test)", + "identifier": "PLT_RADAR_ALT_PUSH_TEST", + "inputs": [ { + "description": "switch to previous or next state", + "interface": "fixed_step" + }, { + "description": "set position", + "interface": "set_state", + "max_value": 1 + }, { + "argument": "TOGGLE", + "description": "Toggle switch state", + "interface": "action" + } ], + "outputs": [ { + "address": 10838, + "address_mask_identifier": "F_4E_PLT_RADAR_ALT_PUSH_TEST_AM", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_PUSH_TEST", + "description": "selector position", + "mask": 8192, + "max_value": 1, + "shift_by": 13, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_RADAR_ALT_WARN_LIGHT": { + "category": "PLT Radar Altimeter", + "control_type": "led", + "description": "Radar Altimeter Low Altitude Lamp (Red)", + "identifier": "PLT_RADAR_ALT_WARN_LIGHT", + "inputs": [ ], + "outputs": [ { + "address": 10838, + "address_mask_identifier": "F_4E_PLT_RADAR_ALT_WARN_LIGHT_AM", + "address_mask_shift_identifier": "F_4E_PLT_RADAR_ALT_WARN_LIGHT", + "description": "0 if light is off, 1 if light is on", + "mask": 16384, + "max_value": 1, + "shift_by": 14, + "suffix": "", + "type": "integer" + } ] + } + }, "PLT Right Console": { "PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE": { "api_variant": "momentary_last_position", @@ -2799,13 +2930,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10914, + "address": 10922, "address_mask_identifier": "F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE_AM", "address_mask_shift_identifier": "F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE", "description": "selector position", - "mask": 4, + "mask": 16, "max_value": 1, - "shift_by": 2, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -2828,7 +2959,7 @@ "suggested_step": 3200 } ], "outputs": [ { - "address": 10916, + "address": 10924, "address_identifier": "F_4E_PLT_EXT_LIGHT_FORMATION_BRIGHTNESS_A", "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_FORMATION_BRIGHTNESS", "description": "position of the potentiometer", @@ -2850,12 +2981,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10914, + "address": 10922, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_FORMATION_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 24, + "mask": 96, "max_value": 2, - "shift_by": 3, + "shift_by": 5, "suffix": "", "type": "integer" } ] @@ -2881,7 +3012,7 @@ "interface": "action" } ], "outputs": [ { - "address": 10884, + "address": 10892, "address_mask_identifier": "F_4E_PLT_AFCS_EMERGENCY_RELEASE_AM", "address_mask_shift_identifier": "F_4E_PLT_AFCS_EMERGENCY_RELEASE", "description": "selector position", @@ -2913,13 +3044,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_identifier": "F_4E_PLT_THROTTLE_CM_DISPENSE_AM", "address_mask_shift_identifier": "F_4E_PLT_THROTTLE_CM_DISPENSE", "description": "selector position", - "mask": 8192, + "mask": 32768, "max_value": 1, - "shift_by": 13, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -2935,12 +3066,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_shift_identifier": "F_4E_PLT_THROTTLE_MIC", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 6144, + "mask": 24576, "max_value": 2, - "shift_by": 11, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -2965,13 +3096,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_PLT_MASTER_ARM_SW_AM", "address_mask_shift_identifier": "F_4E_PLT_MASTER_ARM_SW", "description": "selector position", - "mask": 64, + "mask": 256, "max_value": 1, - "shift_by": 6, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -4191,7 +4322,7 @@ "suggested_step": 3200 } ], "outputs": [ { - "address": 10886, + "address": 10894, "address_identifier": "F_4E_WSO_IFF_CHALLENGE_DIM_A", "address_mask_shift_identifier": "F_4E_WSO_IFF_CHALLENGE_DIM", "description": "position of the potentiometer", @@ -4209,13 +4340,13 @@ "identifier": "WSO_IFF_CHALLENGE_LIGHT", "inputs": [ ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CHALLENGE_LIGHT_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CHALLENGE_LIGHT", "description": "0 if light is off, 1 if light is on", - "mask": 4096, + "mask": 16384, "max_value": 1, - "shift_by": 12, + "shift_by": 14, "suffix": "", "type": "integer" } ] @@ -4239,13 +4370,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON", "description": "selector position", - "mask": 2048, + "mask": 8192, "max_value": 1, - "shift_by": 11, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -4257,7 +4388,7 @@ "identifier": "WSO_IFF_CODE", "inputs": [ ], "outputs": [ { - "address": 10878, + "address": 10886, "address_identifier": "F_4E_WSO_IFF_CODE_A", "description": "IFF Code", "max_length": 4, @@ -4272,12 +4403,12 @@ "identifier": "WSO_IFF_CODE_HUNDREDS", "inputs": [ ], "outputs": [ { - "address": 10874, + "address": 10882, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_HUNDREDS", "description": "IFF Code (hundreds)", - "mask": 7680, + "mask": 30720, "max_value": 8, - "shift_by": 9, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -4301,13 +4432,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10874, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CODE_INC_HUNDREDS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_INC_HUNDREDS", "description": "selector position", - "mask": 32768, + "mask": 32, "max_value": 1, - "shift_by": 15, + "shift_by": 5, "suffix": "", "type": "integer" } ] @@ -4331,13 +4462,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CODE_INC_ONES_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_INC_ONES", "description": "selector position", - "mask": 32, + "mask": 128, "max_value": 1, - "shift_by": 5, + "shift_by": 7, "suffix": "", "type": "integer" } ] @@ -4361,13 +4492,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CODE_INC_TENS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_INC_TENS", "description": "selector position", - "mask": 16, + "mask": 64, "max_value": 1, - "shift_by": 4, + "shift_by": 6, "suffix": "", "type": "integer" } ] @@ -4391,13 +4522,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10874, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_CODE_INC_THOUSANDS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_INC_THOUSANDS", "description": "selector position", - "mask": 16384, + "mask": 16, "max_value": 1, - "shift_by": 14, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -4409,12 +4540,12 @@ "identifier": "WSO_IFF_CODE_ONES", "inputs": [ ], "outputs": [ { - "address": 10874, + "address": 10882, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_ONES", "description": "IFF Code (ones)", - "mask": 30, + "mask": 120, "max_value": 8, - "shift_by": 1, + "shift_by": 3, "suffix": "", "type": "integer" } ] @@ -4426,12 +4557,12 @@ "identifier": "WSO_IFF_CODE_TENS", "inputs": [ ], "outputs": [ { - "address": 10874, + "address": 10882, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_TENS", "description": "IFF Code (tens)", - "mask": 480, + "mask": 1920, "max_value": 8, - "shift_by": 5, + "shift_by": 7, "suffix": "", "type": "integer" } ] @@ -4443,7 +4574,7 @@ "identifier": "WSO_IFF_CODE_THOUSANDS", "inputs": [ ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_THOUSANDS", "description": "IFF Code (thousands)", "mask": 15, @@ -4469,7 +4600,7 @@ "suggested_step": 3200 } ], "outputs": [ { - "address": 10888, + "address": 10896, "address_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM_A", "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM", "description": "position of the potentiometer", @@ -4499,13 +4630,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10884, + "address": 10892, "address_mask_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON", "description": "selector position", - "mask": 256, + "mask": 1024, "max_value": 1, - "shift_by": 8, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -4517,13 +4648,13 @@ "identifier": "WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT", "inputs": [ ], "outputs": [ { - "address": 10884, + "address": 10892, "address_mask_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT", "description": "0 if light is off, 1 if light is on", - "mask": 512, + "mask": 2048, "max_value": 1, - "shift_by": 9, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -4542,12 +4673,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10884, + "address": 10892, "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_MODE_2", "description": "selector position", - "mask": 6144, + "mask": 24576, "max_value": 2, - "shift_by": 11, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -4566,12 +4697,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10884, + "address": 10898, "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_MODE_3", "description": "selector position", - "mask": 24576, + "mask": 3, "max_value": 2, - "shift_by": 13, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -4595,13 +4726,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10884, + "address": 10892, "address_mask_identifier": "F_4E_WSO_IFF_COMBAT_TREE_TEST_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_TEST", "description": "selector position", - "mask": 1024, + "mask": 4096, "max_value": 1, - "shift_by": 10, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -4613,7 +4744,7 @@ "identifier": "WSO_IFF_MODE", "inputs": [ ], "outputs": [ { - "address": 10882, + "address": 10890, "address_identifier": "F_4E_WSO_IFF_MODE_A", "description": "IFF Mode", "max_length": 3, @@ -4640,13 +4771,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_MODE_DEC_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_DEC", "description": "selector position", - "mask": 64, + "mask": 256, "max_value": 1, - "shift_by": 6, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -4670,13 +4801,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_MODE_DEC_HUNDREDS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_DEC_HUNDREDS", "description": "selector position", - "mask": 256, + "mask": 1024, "max_value": 1, - "shift_by": 8, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -4700,13 +4831,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_MODE_DEC_ONES_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_DEC_ONES", "description": "selector position", - "mask": 1024, + "mask": 4096, "max_value": 1, - "shift_by": 10, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -4730,13 +4861,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_MODE_DEC_TENS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_DEC_TENS", "description": "selector position", - "mask": 512, + "mask": 2048, "max_value": 1, - "shift_by": 9, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -4760,13 +4891,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10876, + "address": 10884, "address_mask_identifier": "F_4E_WSO_IFF_MODE_DEC_THOUSANDS_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_DEC_THOUSANDS", "description": "selector position", - "mask": 128, + "mask": 512, "max_value": 1, - "shift_by": 7, + "shift_by": 9, "suffix": "", "type": "integer" } ] @@ -4790,13 +4921,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10874, + "address": 10882, "address_mask_identifier": "F_4E_WSO_IFF_MODE_INC_AM", "address_mask_shift_identifier": "F_4E_WSO_IFF_MODE_INC", "description": "selector position", - "mask": 8192, + "mask": 32768, "max_value": 1, - "shift_by": 13, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -4812,12 +4943,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10876, + "address": 10892, "address_mask_shift_identifier": "F_4E_WSO_IFF_TEST_CHALLENGE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 24576, + "mask": 768, "max_value": 2, - "shift_by": 13, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -5066,7 +5197,7 @@ "identifier": "WSO_O2_FLOW", "inputs": [ ], "outputs": [ { - "address": 10870, + "address": 10878, "address_identifier": "F_4E_WSO_O2_FLOW_A", "address_mask_shift_identifier": "F_4E_WSO_O2_FLOW", "description": "gauge position", @@ -5095,13 +5226,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_WSO_O2_MIXTURE_AM", "address_mask_shift_identifier": "F_4E_WSO_O2_MIXTURE", "description": "selector position", - "mask": 16, + "mask": 64, "max_value": 1, - "shift_by": 4, + "shift_by": 6, "suffix": "", "type": "integer" } ] @@ -5117,12 +5248,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_shift_identifier": "F_4E_WSO_O2_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 12, + "mask": 48, "max_value": 2, - "shift_by": 2, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -5134,7 +5265,7 @@ "identifier": "WSO_O2_PRESSURE", "inputs": [ ], "outputs": [ { - "address": 10872, + "address": 10880, "address_identifier": "F_4E_WSO_O2_PRESSURE_A", "address_mask_shift_identifier": "F_4E_WSO_O2_PRESSURE", "description": "gauge position", @@ -5163,13 +5294,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10860, + "address": 10868, "address_mask_identifier": "F_4E_WSO_O2_SUPPLY_AM", "address_mask_shift_identifier": "F_4E_WSO_O2_SUPPLY", "description": "selector position", - "mask": 32, + "mask": 128, "max_value": 1, - "shift_by": 5, + "shift_by": 7, "suffix": "", "type": "integer" } ] @@ -5195,13 +5326,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10890, + "address": 10898, "address_mask_identifier": "F_4E_WSO_AFCS_EMERGENCY_RELEASE_AM", "address_mask_shift_identifier": "F_4E_WSO_AFCS_EMERGENCY_RELEASE", "description": "selector position", - "mask": 1024, + "mask": 4096, "max_value": 1, - "shift_by": 10, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -5219,12 +5350,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10890, + "address": 10922, "address_mask_shift_identifier": "F_4E_WSO_THROTTLE_MIC", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 49152, + "mask": 3, "max_value": 2, - "shift_by": 14, + "shift_by": 0, "suffix": "", "type": "integer" } ] diff --git a/Scripts/DCS-BIOS/lib/modules/aircraft_modules/F-4E.lua b/Scripts/DCS-BIOS/lib/modules/aircraft_modules/F-4E.lua index 95efdd27a..219484fbc 100644 --- a/Scripts/DCS-BIOS/lib/modules/aircraft_modules/F-4E.lua +++ b/Scripts/DCS-BIOS/lib/modules/aircraft_modules/F-4E.lua @@ -353,6 +353,16 @@ F_4E:defineFloatFromArg("WSO_CLOCK_STOPWATCH_SECOND_HAND", 806, WSO_CLOCK, "Stop -- Radar Altimeter local RADAR_ALTIMETER_DEVICE_ID = 12 +-- Pilot Radar Altimeter +local PILOT_RADAR_ALTIMETER = "PLT Radar Altimeter" + +F_4E:definePushButton("PLT_RADAR_ALT_PUSH_TEST", RADAR_ALTIMETER_DEVICE_ID, 3001, 84, PILOT_RADAR_ALTIMETER, "Move Bug (push to test)") +F_4E:definePotentiometer("PLT_RADAR_ALT_MOVE_BUG", RADAR_ALTIMETER_DEVICE_ID, 3002, 83, { -0.2, 1 }, PILOT_RADAR_ALTIMETER, "Move Bug (rotate to 0 to turn off)") +F_4E:defineIndicatorLight("PLT_RADAR_ALT_WARN_LIGHT", 85, PILOT_RADAR_ALTIMETER, "Radar Altimeter Low Altitude Lamp (Red)") +F_4E:defineFloatFromArg("PLT_RADAR_ALT_NEEDLE", 73, PILOT_RADAR_ALTIMETER, "Radar Altimeter Needle") +F_4E:defineFloatFromArg("PLT_RADAR_ALT_BUG", 74, PILOT_RADAR_ALTIMETER, "Radar Altimeter Altitude Bug") +F_4E:defineFloatFromArg("PLT_RADAR_ALT_OFF_FLAG", 75, PILOT_RADAR_ALTIMETER, "Radar Altimeter Off Flag") + -- AOA System local AOA_DEVICE_ID = 13