diff --git a/Scripts/DCS-BIOS/doc/Addresses.h b/Scripts/DCS-BIOS/doc/Addresses.h index bd7f48b6b..f0d132979 100644 --- a/Scripts/DCS-BIOS/doc/Addresses.h +++ b/Scripts/DCS-BIOS/doc/Addresses.h @@ -13132,33 +13132,41 @@ #define F_4E_PLT_CM_ON_LIGHT_AM 0x2A42, 0x0040 #define F_4E_PLT_CM_ON_TEST_BUTTON 0x2A38, 0x8000, 15 #define F_4E_PLT_CM_ON_TEST_BUTTON_AM 0x2A38, 0x8000 -#define F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE 0x2A8C, 0x0001, 0 -#define F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE_AM 0x2A8C, 0x0001 -#define F_4E_PLT_EXT_LIGHT_ANTI_COLL 0x2A74, 0x000C, 2 -#define F_4E_PLT_EXT_LIGHT_FLASH_MODE 0x2A74, 0x0030, 4 +#define F_4E_PLT_COCKPIT_HELMET 0x2A52, 0x0100, 8 +#define F_4E_PLT_COCKPIT_HELMET_AM 0x2A52, 0x0100 +#define F_4E_PLT_COCKPIT_MIRROR_LEFT 0x2A4A, 0x4000, 14 +#define F_4E_PLT_COCKPIT_MIRROR_LEFT_AM 0x2A4A, 0x4000 +#define F_4E_PLT_COCKPIT_MIRROR_RIGHT 0x2A4A, 0x8000, 15 +#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 0x2A8C, 0x0080, 7 +#define F_4E_PLT_COCKPIT_PRESSURE_EMERGENCY_RELEASE_AM 0x2A8C, 0x0080 +#define F_4E_PLT_EXT_LIGHT_ANTI_COLL 0x2A74, 0x0300, 8 +#define F_4E_PLT_EXT_LIGHT_FLASH_MODE 0x2A74, 0x0C00, 10 #define F_4E_PLT_EXT_LIGHT_FORMATION_BRIGHTNESS 0x2A8E, 0xFFFF, 0 #define F_4E_PLT_EXT_LIGHT_FORMATION_BRIGHTNESS_A 0x2A8E -#define F_4E_PLT_EXT_LIGHT_FORMATION_MODE 0x2A8C, 0x0006, 1 -#define F_4E_PLT_EXT_LIGHT_TAIL_BRIGHTNESS 0x2A74, 0x00C0, 6 -#define F_4E_PLT_EXT_LIGHT_TAXI_LAND 0x2A74, 0xC000, 14 -#define F_4E_PLT_EXT_LIGHT_WING_BRIGHTNESS 0x2A74, 0x0300, 8 -#define F_4E_PLT_FUEL_AIR_REFUEL 0x2A56, 0x0400, 10 -#define F_4E_PLT_FUEL_AIR_REFUEL_AM 0x2A56, 0x0400 -#define F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK 0x2A56, 0x4000, 14 -#define F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK_AM 0x2A56, 0x4000 -#define F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK 0x2A56, 0x8000, 15 -#define F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK_AM 0x2A56, 0x8000 -#define F_4E_PLT_FUEL_EXTERNAL_TANKS_FEED 0x2A56, 0x3000, 12 -#define F_4E_PLT_FUEL_FEED_TANK_CHECK 0x2A64, 0x0001, 0 -#define F_4E_PLT_FUEL_FEED_TANK_CHECK_AM 0x2A64, 0x0001 -#define F_4E_PLT_FUEL_REFUEL_SELECTOR 0x2A56, 0x0200, 9 -#define F_4E_PLT_FUEL_REFUEL_SELECTOR_AM 0x2A56, 0x0200 -#define F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER 0x2A56, 0x0100, 8 -#define F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER_AM 0x2A56, 0x0100 -#define F_4E_PLT_FUEL_WING_FUEL_DUMP 0x2A56, 0x0800, 11 -#define F_4E_PLT_FUEL_WING_FUEL_DUMP_AM 0x2A56, 0x0800 -#define F_4E_PLT_FUEL_WING_INTERNAL_FEED 0x2A52, 0x8000, 15 -#define F_4E_PLT_FUEL_WING_INTERNAL_FEED_AM 0x2A52, 0x8000 +#define F_4E_PLT_EXT_LIGHT_FORMATION_MODE 0x2A8C, 0x0300, 8 +#define F_4E_PLT_EXT_LIGHT_TAIL_BRIGHTNESS 0x2A74, 0x3000, 12 +#define F_4E_PLT_EXT_LIGHT_TAXI_LAND 0x2A8C, 0x0060, 5 +#define F_4E_PLT_EXT_LIGHT_WING_BRIGHTNESS 0x2A74, 0xC000, 14 +#define F_4E_PLT_FUEL_AIR_REFUEL 0x2A64, 0x0002, 1 +#define F_4E_PLT_FUEL_AIR_REFUEL_AM 0x2A64, 0x0002 +#define F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK 0x2A64, 0x0020, 5 +#define F_4E_PLT_FUEL_BOOST_PUMP_L_CHECK_AM 0x2A64, 0x0020 +#define F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK 0x2A64, 0x0040, 6 +#define F_4E_PLT_FUEL_BOOST_PUMP_R_CHECK_AM 0x2A64, 0x0040 +#define F_4E_PLT_FUEL_EXTERNAL_TANKS_FEED 0x2A64, 0x0018, 3 +#define F_4E_PLT_FUEL_FEED_TANK_CHECK 0x2A64, 0x0080, 7 +#define F_4E_PLT_FUEL_FEED_TANK_CHECK_AM 0x2A64, 0x0080 +#define F_4E_PLT_FUEL_REFUEL_SELECTOR 0x2A64, 0x0001, 0 +#define F_4E_PLT_FUEL_REFUEL_SELECTOR_AM 0x2A64, 0x0001 +#define F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER 0x2A56, 0x8000, 15 +#define F_4E_PLT_FUEL_REFUEL_SELECTOR_COVER_AM 0x2A56, 0x8000 +#define F_4E_PLT_FUEL_WING_FUEL_DUMP 0x2A64, 0x0004, 2 +#define F_4E_PLT_FUEL_WING_FUEL_DUMP_AM 0x2A64, 0x0004 +#define F_4E_PLT_FUEL_WING_INTERNAL_FEED 0x2A56, 0x4000, 14 +#define F_4E_PLT_FUEL_WING_INTERNAL_FEED_AM 0x2A56, 0x4000 #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 @@ -13206,24 +13214,24 @@ #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 0x2A52, 0x4000, 14 -#define F_4E_PLT_MASTER_ARM_SW_AM 0x2A52, 0x4000 +#define F_4E_PLT_MASTER_ARM_SW 0x2A56, 0x2000, 13 +#define F_4E_PLT_MASTER_ARM_SW_AM 0x2A56, 0x2000 #define F_4E_PLT_O2_FLOW 0x2A58, 0xFFFF, 0 #define F_4E_PLT_O2_FLOW_A 0x2A58 #define F_4E_PLT_O2_LITERS 0x2A5C, 0xFFFF, 0 #define F_4E_PLT_O2_LITERS_A 0x2A5C -#define F_4E_PLT_O2_MIXTURE 0x2A52, 0x0100, 8 -#define F_4E_PLT_O2_MIXTURE_AM 0x2A52, 0x0100 -#define F_4E_PLT_O2_MODE 0x2A4A, 0xC000, 14 +#define F_4E_PLT_O2_MIXTURE 0x2A52, 0x8000, 15 +#define F_4E_PLT_O2_MIXTURE_AM 0x2A52, 0x8000 +#define F_4E_PLT_O2_MODE 0x2A52, 0x6000, 13 #define F_4E_PLT_O2_PRESSURE 0x2A5A, 0xFFFF, 0 #define F_4E_PLT_O2_PRESSURE_A 0x2A5A -#define F_4E_PLT_O2_SUPPLY 0x2A52, 0x0200, 9 -#define F_4E_PLT_O2_SUPPLY_AM 0x2A52, 0x0200 -#define F_4E_PLT_O2_TEST 0x2A4A, 0x2000, 13 -#define F_4E_PLT_O2_TEST_AM 0x2A4A, 0x2000 -#define F_4E_PLT_THROTTLE_CM_DISPENSE 0x2A6E, 0x8000, 15 -#define F_4E_PLT_THROTTLE_CM_DISPENSE_AM 0x2A6E, 0x8000 -#define F_4E_PLT_THROTTLE_MIC 0x2A74, 0x0C00, 10 +#define F_4E_PLT_O2_SUPPLY 0x2A56, 0x0100, 8 +#define F_4E_PLT_O2_SUPPLY_AM 0x2A56, 0x0100 +#define F_4E_PLT_O2_TEST 0x2A52, 0x1000, 12 +#define F_4E_PLT_O2_TEST_AM 0x2A52, 0x1000 +#define F_4E_PLT_THROTTLE_CM_DISPENSE 0x2A8C, 0x0004, 2 +#define F_4E_PLT_THROTTLE_CM_DISPENSE_AM 0x2A8C, 0x0004 +#define F_4E_PLT_THROTTLE_MIC 0x2A8C, 0x0003, 0 #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 @@ -13279,53 +13287,59 @@ #define F_4E_WSO_CM_RIPPLE_AM 0x2A42, 0x1000 #define F_4E_WSO_CM_RIPPLE_COVER 0x2A42, 0x0800, 11 #define F_4E_WSO_CM_RIPPLE_COVER_AM 0x2A42, 0x0800 +#define F_4E_WSO_COCKPIT_HELMET 0x2A52, 0x0800, 11 +#define F_4E_WSO_COCKPIT_HELMET_AM 0x2A52, 0x0800 +#define F_4E_WSO_COCKPIT_MIRROR_LEFT 0x2A52, 0x0200, 9 +#define F_4E_WSO_COCKPIT_MIRROR_LEFT_AM 0x2A52, 0x0200 +#define F_4E_WSO_COCKPIT_MIRROR_RIGHT 0x2A52, 0x0400, 10 +#define F_4E_WSO_COCKPIT_MIRROR_RIGHT_AM 0x2A52, 0x0400 #define F_4E_WSO_ICS_AMPLIFIER 0x2A0E, 0x0003, 0 #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 0x2A70, 0xFFFF, 0 #define F_4E_WSO_IFF_CHALLENGE_DIM_A 0x2A70 -#define F_4E_WSO_IFF_CHALLENGE_LIGHT 0x2A66, 0x1000, 12 -#define F_4E_WSO_IFF_CHALLENGE_LIGHT_AM 0x2A66, 0x1000 -#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON 0x2A66, 0x0800, 11 -#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON_AM 0x2A66, 0x0800 +#define F_4E_WSO_IFF_CHALLENGE_LIGHT 0x2A6E, 0x0800, 11 +#define F_4E_WSO_IFF_CHALLENGE_LIGHT_AM 0x2A6E, 0x0800 +#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON 0x2A6E, 0x0400, 10 +#define F_4E_WSO_IFF_CHALLENGE_TEST_BUTTON_AM 0x2A6E, 0x0400 #define F_4E_WSO_IFF_CODE_A 0x2A68 -#define F_4E_WSO_IFF_CODE_HUNDREDS 0x2A64, 0x1E00, 9 -#define F_4E_WSO_IFF_CODE_INC_HUNDREDS 0x2A64, 0x8000, 15 -#define F_4E_WSO_IFF_CODE_INC_HUNDREDS_AM 0x2A64, 0x8000 -#define F_4E_WSO_IFF_CODE_INC_ONES 0x2A66, 0x0020, 5 -#define F_4E_WSO_IFF_CODE_INC_ONES_AM 0x2A66, 0x0020 -#define F_4E_WSO_IFF_CODE_INC_TENS 0x2A66, 0x0010, 4 -#define F_4E_WSO_IFF_CODE_INC_TENS_AM 0x2A66, 0x0010 -#define F_4E_WSO_IFF_CODE_INC_THOUSANDS 0x2A64, 0x4000, 14 -#define F_4E_WSO_IFF_CODE_INC_THOUSANDS_AM 0x2A64, 0x4000 -#define F_4E_WSO_IFF_CODE_ONES 0x2A64, 0x001E, 1 -#define F_4E_WSO_IFF_CODE_TENS 0x2A64, 0x01E0, 5 -#define F_4E_WSO_IFF_CODE_THOUSANDS 0x2A66, 0x000F, 0 +#define F_4E_WSO_IFF_CODE_HUNDREDS 0x2A66, 0x000F, 0 +#define F_4E_WSO_IFF_CODE_INC_HUNDREDS 0x2A66, 0x0400, 10 +#define F_4E_WSO_IFF_CODE_INC_HUNDREDS_AM 0x2A66, 0x0400 +#define F_4E_WSO_IFF_CODE_INC_ONES 0x2A66, 0x1000, 12 +#define F_4E_WSO_IFF_CODE_INC_ONES_AM 0x2A66, 0x1000 +#define F_4E_WSO_IFF_CODE_INC_TENS 0x2A66, 0x0800, 11 +#define F_4E_WSO_IFF_CODE_INC_TENS_AM 0x2A66, 0x0800 +#define F_4E_WSO_IFF_CODE_INC_THOUSANDS 0x2A66, 0x0200, 9 +#define F_4E_WSO_IFF_CODE_INC_THOUSANDS_AM 0x2A66, 0x0200 +#define F_4E_WSO_IFF_CODE_ONES 0x2A64, 0x0F00, 8 +#define F_4E_WSO_IFF_CODE_TENS 0x2A64, 0xF000, 12 +#define F_4E_WSO_IFF_CODE_THOUSANDS 0x2A66, 0x00F0, 4 #define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM 0x2A72, 0xFFFF, 0 #define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_DIM_A 0x2A72 -#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON 0x2A6E, 0x0100, 8 -#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON_AM 0x2A6E, 0x0100 -#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT 0x2A6E, 0x0200, 9 -#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT_AM 0x2A6E, 0x0200 -#define F_4E_WSO_IFF_COMBAT_TREE_MODE_2 0x2A6E, 0x1800, 11 -#define F_4E_WSO_IFF_COMBAT_TREE_MODE_3 0x2A6E, 0x6000, 13 -#define F_4E_WSO_IFF_COMBAT_TREE_TEST 0x2A6E, 0x0400, 10 -#define F_4E_WSO_IFF_COMBAT_TREE_TEST_AM 0x2A6E, 0x0400 +#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON 0x2A6E, 0x8000, 15 +#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_BUTTON_AM 0x2A6E, 0x8000 +#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT 0x2A74, 0x0001, 0 +#define F_4E_WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT_AM 0x2A74, 0x0001 +#define F_4E_WSO_IFF_COMBAT_TREE_MODE_2 0x2A74, 0x000C, 2 +#define F_4E_WSO_IFF_COMBAT_TREE_MODE_3 0x2A74, 0x0030, 4 +#define F_4E_WSO_IFF_COMBAT_TREE_TEST 0x2A74, 0x0002, 1 +#define F_4E_WSO_IFF_COMBAT_TREE_TEST_AM 0x2A74, 0x0002 #define F_4E_WSO_IFF_MODE_A 0x2A6C -#define F_4E_WSO_IFF_MODE_DEC 0x2A66, 0x0040, 6 -#define F_4E_WSO_IFF_MODE_DEC_AM 0x2A66, 0x0040 -#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS 0x2A66, 0x0100, 8 -#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS_AM 0x2A66, 0x0100 -#define F_4E_WSO_IFF_MODE_DEC_ONES 0x2A66, 0x0400, 10 -#define F_4E_WSO_IFF_MODE_DEC_ONES_AM 0x2A66, 0x0400 -#define F_4E_WSO_IFF_MODE_DEC_TENS 0x2A66, 0x0200, 9 -#define F_4E_WSO_IFF_MODE_DEC_TENS_AM 0x2A66, 0x0200 -#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS 0x2A66, 0x0080, 7 -#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS_AM 0x2A66, 0x0080 -#define F_4E_WSO_IFF_MODE_INC 0x2A64, 0x2000, 13 -#define F_4E_WSO_IFF_MODE_INC_AM 0x2A64, 0x2000 -#define F_4E_WSO_IFF_TEST_CHALLENGE 0x2A66, 0x6000, 13 +#define F_4E_WSO_IFF_MODE_DEC 0x2A66, 0x2000, 13 +#define F_4E_WSO_IFF_MODE_DEC_AM 0x2A66, 0x2000 +#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS 0x2A66, 0x8000, 15 +#define F_4E_WSO_IFF_MODE_DEC_HUNDREDS_AM 0x2A66, 0x8000 +#define F_4E_WSO_IFF_MODE_DEC_ONES 0x2A6E, 0x0200, 9 +#define F_4E_WSO_IFF_MODE_DEC_ONES_AM 0x2A6E, 0x0200 +#define F_4E_WSO_IFF_MODE_DEC_TENS 0x2A6E, 0x0100, 8 +#define F_4E_WSO_IFF_MODE_DEC_TENS_AM 0x2A6E, 0x0100 +#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS 0x2A66, 0x4000, 14 +#define F_4E_WSO_IFF_MODE_DEC_THOUSANDS_AM 0x2A66, 0x4000 +#define F_4E_WSO_IFF_MODE_INC 0x2A66, 0x0100, 8 +#define F_4E_WSO_IFF_MODE_INC_AM 0x2A66, 0x0100 +#define F_4E_WSO_IFF_TEST_CHALLENGE 0x2A6E, 0x3000, 12 #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 @@ -13345,14 +13359,14 @@ #define F_4E_WSO_KY_28_P_MODE_TEST_AM 0x2A00, 0x0010 #define F_4E_WSO_O2_FLOW 0x2A60, 0xFFFF, 0 #define F_4E_WSO_O2_FLOW_A 0x2A60 -#define F_4E_WSO_O2_MIXTURE 0x2A52, 0x1000, 12 -#define F_4E_WSO_O2_MIXTURE_AM 0x2A52, 0x1000 -#define F_4E_WSO_O2_MODE 0x2A52, 0x0C00, 10 +#define F_4E_WSO_O2_MIXTURE 0x2A56, 0x0800, 11 +#define F_4E_WSO_O2_MIXTURE_AM 0x2A56, 0x0800 +#define F_4E_WSO_O2_MODE 0x2A56, 0x0600, 9 #define F_4E_WSO_O2_PRESSURE 0x2A62, 0xFFFF, 0 #define F_4E_WSO_O2_PRESSURE_A 0x2A62 -#define F_4E_WSO_O2_SUPPLY 0x2A52, 0x2000, 13 -#define F_4E_WSO_O2_SUPPLY_AM 0x2A52, 0x2000 -#define F_4E_WSO_THROTTLE_MIC 0x2A74, 0x3000, 12 +#define F_4E_WSO_O2_SUPPLY 0x2A56, 0x1000, 12 +#define F_4E_WSO_O2_SUPPLY_AM 0x2A56, 0x1000 +#define F_4E_WSO_THROTTLE_MIC 0x2A8C, 0x0018, 3 #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 2a155d287..fb235fc18 100644 --- a/Scripts/DCS-BIOS/doc/doc_assets/F-4E.jsonp +++ b/Scripts/DCS-BIOS/doc/doc_assets/F-4E.jsonp @@ -685,6 +685,124 @@ docdata["F-4E"] = } ] } }, + "PLT Cockpit": { + "PLT_COCKPIT_HELMET": { + "category": "PLT Cockpit", + "control_type": "selector", + "description": "Put On / Take Off Helmet", + "identifier": "PLT_COCKPIT_HELMET", + "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": 10834, + "address_mask_identifier": "F_4E_PLT_COCKPIT_HELMET_AM", + "address_mask_shift_identifier": "F_4E_PLT_COCKPIT_HELMET", + "description": "selector position", + "mask": 256, + "max_value": 1, + "shift_by": 8, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_COCKPIT_MIRROR_LEFT": { + "category": "PLT Cockpit", + "control_type": "selector", + "description": "Toggle Mirrors L", + "identifier": "PLT_COCKPIT_MIRROR_LEFT", + "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": 10826, + "address_mask_identifier": "F_4E_PLT_COCKPIT_MIRROR_LEFT_AM", + "address_mask_shift_identifier": "F_4E_PLT_COCKPIT_MIRROR_LEFT", + "description": "selector position", + "mask": 16384, + "max_value": 1, + "shift_by": 14, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_COCKPIT_MIRROR_RIGHT": { + "category": "PLT Cockpit", + "control_type": "selector", + "description": "Toggle Mirrors R", + "identifier": "PLT_COCKPIT_MIRROR_RIGHT", + "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": 10826, + "address_mask_identifier": "F_4E_PLT_COCKPIT_MIRROR_RIGHT_AM", + "address_mask_shift_identifier": "F_4E_PLT_COCKPIT_MIRROR_RIGHT", + "description": "selector position", + "mask": 32768, + "max_value": 1, + "shift_by": 15, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_COCKPIT_MIRROR_TOP": { + "category": "PLT Cockpit", + "control_type": "selector", + "description": "Toggle Mirrors C", + "identifier": "PLT_COCKPIT_MIRROR_TOP", + "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": 10826, + "address_mask_identifier": "F_4E_PLT_COCKPIT_MIRROR_TOP_AM", + "address_mask_shift_identifier": "F_4E_PLT_COCKPIT_MIRROR_TOP", + "description": "selector position", + "mask": 8192, + "max_value": 1, + "shift_by": 13, + "suffix": "", + "type": "integer" + } ] + } + }, "PLT Countermeasures Panel": { "PLT_CM_CHAFF_BURST_COUNT": { "category": "PLT Countermeasures Panel", @@ -1028,9 +1146,9 @@ docdata["F-4E"] = "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_ANTI_COLL", "description": "selector position", - "mask": 12, + "mask": 768, "max_value": 2, - "shift_by": 2, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -1052,9 +1170,9 @@ docdata["F-4E"] = "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_FLASH_MODE", "description": "selector position", - "mask": 48, + "mask": 3072, "max_value": 2, - "shift_by": 4, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -1076,9 +1194,9 @@ docdata["F-4E"] = "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_TAIL_BRIGHTNESS", "description": "selector position", - "mask": 192, + "mask": 12288, "max_value": 2, - "shift_by": 6, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -1100,9 +1218,9 @@ docdata["F-4E"] = "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_WING_BRIGHTNESS", "description": "selector position", - "mask": 768, + "mask": 49152, "max_value": 2, - "shift_by": 8, + "shift_by": 14, "suffix": "", "type": "integer" } ] @@ -1127,13 +1245,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10838, + "address": 10852, "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": 2, "max_value": 1, - "shift_by": 10, + "shift_by": 1, "suffix": "", "type": "integer" } ] @@ -1157,13 +1275,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10838, + "address": 10852, "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": 32, "max_value": 1, - "shift_by": 14, + "shift_by": 5, "suffix": "", "type": "integer" } ] @@ -1187,13 +1305,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10838, + "address": 10852, "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": 64, "max_value": 1, - "shift_by": 15, + "shift_by": 6, "suffix": "", "type": "integer" } ] @@ -1212,12 +1330,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10838, + "address": 10852, "address_mask_shift_identifier": "F_4E_PLT_FUEL_EXTERNAL_TANKS_FEED", "description": "selector position", - "mask": 12288, + "mask": 24, "max_value": 2, - "shift_by": 12, + "shift_by": 3, "suffix": "", "type": "integer" } ] @@ -1245,9 +1363,9 @@ docdata["F-4E"] = "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": 128, "max_value": 1, - "shift_by": 0, + "shift_by": 7, "suffix": "", "type": "integer" } ] @@ -1270,13 +1388,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10838, + "address": 10852, "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": 1, "max_value": 1, - "shift_by": 9, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -1303,9 +1421,9 @@ docdata["F-4E"] = "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": 32768, "max_value": 1, - "shift_by": 8, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -1328,13 +1446,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10838, + "address": 10852, "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": 4, "max_value": 1, - "shift_by": 11, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -1357,13 +1475,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10834, + "address": 10838, "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": 32768, + "mask": 16384, "max_value": 1, - "shift_by": 15, + "shift_by": 14, "suffix": "", "type": "integer" } ] @@ -2181,12 +2299,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10868, + "address": 10892, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_TAXI_LAND", "description": "selector position", - "mask": 49152, + "mask": 96, "max_value": 2, - "shift_by": 14, + "shift_by": 5, "suffix": "", "type": "integer" } ] @@ -2251,9 +2369,9 @@ docdata["F-4E"] = "address_mask_identifier": "F_4E_PLT_O2_MIXTURE_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_MIXTURE", "description": "selector position", - "mask": 256, + "mask": 32768, "max_value": 1, - "shift_by": 8, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -2269,12 +2387,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10826, + "address": 10834, "address_mask_shift_identifier": "F_4E_PLT_O2_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 49152, + "mask": 24576, "max_value": 2, - "shift_by": 14, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -2315,13 +2433,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10834, + "address": 10838, "address_mask_identifier": "F_4E_PLT_O2_SUPPLY_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_SUPPLY", "description": "selector position", - "mask": 512, + "mask": 256, "max_value": 1, - "shift_by": 9, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -2345,13 +2463,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10826, + "address": 10834, "address_mask_identifier": "F_4E_PLT_O2_TEST_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_TEST", "description": "selector position", - "mask": 8192, + "mask": 4096, "max_value": 1, - "shift_by": 13, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -2381,9 +2499,9 @@ docdata["F-4E"] = "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": 1, + "mask": 128, "max_value": 1, - "shift_by": 0, + "shift_by": 7, "suffix": "", "type": "integer" } ] @@ -2431,9 +2549,9 @@ docdata["F-4E"] = "address": 10892, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_FORMATION_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 6, + "mask": 768, "max_value": 2, - "shift_by": 1, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -2459,13 +2577,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10862, + "address": 10892, "address_mask_identifier": "F_4E_PLT_THROTTLE_CM_DISPENSE_AM", "address_mask_shift_identifier": "F_4E_PLT_THROTTLE_CM_DISPENSE", "description": "selector position", - "mask": 32768, + "mask": 4, "max_value": 1, - "shift_by": 15, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -2481,12 +2599,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10868, + "address": 10892, "address_mask_shift_identifier": "F_4E_PLT_THROTTLE_MIC", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 3072, + "mask": 3, "max_value": 2, - "shift_by": 10, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -2511,13 +2629,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10834, + "address": 10838, "address_mask_identifier": "F_4E_PLT_MASTER_ARM_SW_AM", "address_mask_shift_identifier": "F_4E_PLT_MASTER_ARM_SW", "description": "selector position", - "mask": 16384, + "mask": 8192, "max_value": 1, - "shift_by": 14, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -2979,6 +3097,95 @@ docdata["F-4E"] = } ] } }, + "WSO Cockpit": { + "WSO_COCKPIT_HELMET": { + "category": "WSO Cockpit", + "control_type": "selector", + "description": "Put On / Take Off Helmet", + "identifier": "WSO_COCKPIT_HELMET", + "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": 10834, + "address_mask_identifier": "F_4E_WSO_COCKPIT_HELMET_AM", + "address_mask_shift_identifier": "F_4E_WSO_COCKPIT_HELMET", + "description": "selector position", + "mask": 2048, + "max_value": 1, + "shift_by": 11, + "suffix": "", + "type": "integer" + } ] + }, + "WSO_COCKPIT_MIRROR_LEFT": { + "category": "WSO Cockpit", + "control_type": "selector", + "description": "Toggle WSO Mirror Left", + "identifier": "WSO_COCKPIT_MIRROR_LEFT", + "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": 10834, + "address_mask_identifier": "F_4E_WSO_COCKPIT_MIRROR_LEFT_AM", + "address_mask_shift_identifier": "F_4E_WSO_COCKPIT_MIRROR_LEFT", + "description": "selector position", + "mask": 512, + "max_value": 1, + "shift_by": 9, + "suffix": "", + "type": "integer" + } ] + }, + "WSO_COCKPIT_MIRROR_RIGHT": { + "category": "WSO Cockpit", + "control_type": "selector", + "description": "Toggle WSO Mirror Right", + "identifier": "WSO_COCKPIT_MIRROR_RIGHT", + "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": 10834, + "address_mask_identifier": "F_4E_WSO_COCKPIT_MIRROR_RIGHT_AM", + "address_mask_shift_identifier": "F_4E_WSO_COCKPIT_MIRROR_RIGHT", + "description": "selector position", + "mask": 1024, + "max_value": 1, + "shift_by": 10, + "suffix": "", + "type": "integer" + } ] + } + }, "WSO Countermeasures Panel": { "WSO_CM_CHAFF": { "category": "WSO Countermeasures Panel", @@ -3508,13 +3715,13 @@ docdata["F-4E"] = "identifier": "WSO_IFF_CHALLENGE_LIGHT", "inputs": [ ], "outputs": [ { - "address": 10854, + "address": 10862, "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": 2048, "max_value": 1, - "shift_by": 12, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -3538,13 +3745,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10854, + "address": 10862, "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": 1024, "max_value": 1, - "shift_by": 11, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -3571,12 +3778,12 @@ docdata["F-4E"] = "identifier": "WSO_IFF_CODE_HUNDREDS", "inputs": [ ], "outputs": [ { - "address": 10852, + "address": 10854, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_HUNDREDS", "description": "IFF Code (hundreds)", - "mask": 7680, + "mask": 15, "max_value": 8, - "shift_by": 9, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -3600,13 +3807,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10852, + "address": 10854, "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": 1024, "max_value": 1, - "shift_by": 15, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -3634,9 +3841,9 @@ docdata["F-4E"] = "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": 4096, "max_value": 1, - "shift_by": 5, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -3664,9 +3871,9 @@ docdata["F-4E"] = "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": 2048, "max_value": 1, - "shift_by": 4, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -3690,13 +3897,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10852, + "address": 10854, "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": 512, "max_value": 1, - "shift_by": 14, + "shift_by": 9, "suffix": "", "type": "integer" } ] @@ -3711,9 +3918,9 @@ docdata["F-4E"] = "address": 10852, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_ONES", "description": "IFF Code (ones)", - "mask": 30, + "mask": 3840, "max_value": 8, - "shift_by": 1, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -3728,9 +3935,9 @@ docdata["F-4E"] = "address": 10852, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_TENS", "description": "IFF Code (tens)", - "mask": 480, + "mask": 61440, "max_value": 8, - "shift_by": 5, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -3745,9 +3952,9 @@ docdata["F-4E"] = "address": 10854, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_THOUSANDS", "description": "IFF Code (thousands)", - "mask": 15, + "mask": 240, "max_value": 8, - "shift_by": 0, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -3802,9 +4009,9 @@ docdata["F-4E"] = "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": 32768, "max_value": 1, - "shift_by": 8, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -3816,13 +4023,13 @@ docdata["F-4E"] = "identifier": "WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT", "inputs": [ ], "outputs": [ { - "address": 10862, + "address": 10868, "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": 1, "max_value": 1, - "shift_by": 9, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -3841,12 +4048,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10862, + "address": 10868, "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_MODE_2", "description": "selector position", - "mask": 6144, + "mask": 12, "max_value": 2, - "shift_by": 11, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -3865,12 +4072,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10862, + "address": 10868, "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_MODE_3", "description": "selector position", - "mask": 24576, + "mask": 48, "max_value": 2, - "shift_by": 13, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -3894,13 +4101,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10862, + "address": 10868, "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": 2, "max_value": 1, - "shift_by": 10, + "shift_by": 1, "suffix": "", "type": "integer" } ] @@ -3943,9 +4150,9 @@ docdata["F-4E"] = "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": 8192, "max_value": 1, - "shift_by": 6, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -3973,9 +4180,9 @@ docdata["F-4E"] = "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": 32768, "max_value": 1, - "shift_by": 8, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -3999,13 +4206,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10854, + "address": 10862, "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": 512, "max_value": 1, - "shift_by": 10, + "shift_by": 9, "suffix": "", "type": "integer" } ] @@ -4029,13 +4236,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10854, + "address": 10862, "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": 256, "max_value": 1, - "shift_by": 9, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -4063,9 +4270,9 @@ docdata["F-4E"] = "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": 16384, "max_value": 1, - "shift_by": 7, + "shift_by": 14, "suffix": "", "type": "integer" } ] @@ -4089,13 +4296,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10852, + "address": 10854, "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": 256, "max_value": 1, - "shift_by": 13, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -4111,12 +4318,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10854, + "address": 10862, "address_mask_shift_identifier": "F_4E_WSO_IFF_TEST_CHALLENGE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 24576, + "mask": 12288, "max_value": 2, - "shift_by": 13, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -4394,13 +4601,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10834, + "address": 10838, "address_mask_identifier": "F_4E_WSO_O2_MIXTURE_AM", "address_mask_shift_identifier": "F_4E_WSO_O2_MIXTURE", "description": "selector position", - "mask": 4096, + "mask": 2048, "max_value": 1, - "shift_by": 12, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -4416,12 +4623,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10834, + "address": 10838, "address_mask_shift_identifier": "F_4E_WSO_O2_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 3072, + "mask": 1536, "max_value": 2, - "shift_by": 10, + "shift_by": 9, "suffix": "", "type": "integer" } ] @@ -4462,13 +4669,13 @@ docdata["F-4E"] = "interface": "action" } ], "outputs": [ { - "address": 10834, + "address": 10838, "address_mask_identifier": "F_4E_WSO_O2_SUPPLY_AM", "address_mask_shift_identifier": "F_4E_WSO_O2_SUPPLY", "description": "selector position", - "mask": 8192, + "mask": 4096, "max_value": 1, - "shift_by": 13, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -4486,12 +4693,12 @@ docdata["F-4E"] = "max_value": 2 } ], "outputs": [ { - "address": 10868, + "address": 10892, "address_mask_shift_identifier": "F_4E_WSO_THROTTLE_MIC", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 12288, + "mask": 24, "max_value": 2, - "shift_by": 12, + "shift_by": 3, "suffix": "", "type": "integer" } ] diff --git a/Scripts/DCS-BIOS/doc/json/F-4E.json b/Scripts/DCS-BIOS/doc/json/F-4E.json index 31a247851..9319a9d24 100644 --- a/Scripts/DCS-BIOS/doc/json/F-4E.json +++ b/Scripts/DCS-BIOS/doc/json/F-4E.json @@ -684,6 +684,124 @@ } ] } }, + "PLT Cockpit": { + "PLT_COCKPIT_HELMET": { + "category": "PLT Cockpit", + "control_type": "selector", + "description": "Put On / Take Off Helmet", + "identifier": "PLT_COCKPIT_HELMET", + "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": 10834, + "address_mask_identifier": "F_4E_PLT_COCKPIT_HELMET_AM", + "address_mask_shift_identifier": "F_4E_PLT_COCKPIT_HELMET", + "description": "selector position", + "mask": 256, + "max_value": 1, + "shift_by": 8, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_COCKPIT_MIRROR_LEFT": { + "category": "PLT Cockpit", + "control_type": "selector", + "description": "Toggle Mirrors L", + "identifier": "PLT_COCKPIT_MIRROR_LEFT", + "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": 10826, + "address_mask_identifier": "F_4E_PLT_COCKPIT_MIRROR_LEFT_AM", + "address_mask_shift_identifier": "F_4E_PLT_COCKPIT_MIRROR_LEFT", + "description": "selector position", + "mask": 16384, + "max_value": 1, + "shift_by": 14, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_COCKPIT_MIRROR_RIGHT": { + "category": "PLT Cockpit", + "control_type": "selector", + "description": "Toggle Mirrors R", + "identifier": "PLT_COCKPIT_MIRROR_RIGHT", + "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": 10826, + "address_mask_identifier": "F_4E_PLT_COCKPIT_MIRROR_RIGHT_AM", + "address_mask_shift_identifier": "F_4E_PLT_COCKPIT_MIRROR_RIGHT", + "description": "selector position", + "mask": 32768, + "max_value": 1, + "shift_by": 15, + "suffix": "", + "type": "integer" + } ] + }, + "PLT_COCKPIT_MIRROR_TOP": { + "category": "PLT Cockpit", + "control_type": "selector", + "description": "Toggle Mirrors C", + "identifier": "PLT_COCKPIT_MIRROR_TOP", + "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": 10826, + "address_mask_identifier": "F_4E_PLT_COCKPIT_MIRROR_TOP_AM", + "address_mask_shift_identifier": "F_4E_PLT_COCKPIT_MIRROR_TOP", + "description": "selector position", + "mask": 8192, + "max_value": 1, + "shift_by": 13, + "suffix": "", + "type": "integer" + } ] + } + }, "PLT Countermeasures Panel": { "PLT_CM_CHAFF_BURST_COUNT": { "category": "PLT Countermeasures Panel", @@ -1027,9 +1145,9 @@ "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_ANTI_COLL", "description": "selector position", - "mask": 12, + "mask": 768, "max_value": 2, - "shift_by": 2, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -1051,9 +1169,9 @@ "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_FLASH_MODE", "description": "selector position", - "mask": 48, + "mask": 3072, "max_value": 2, - "shift_by": 4, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -1075,9 +1193,9 @@ "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_TAIL_BRIGHTNESS", "description": "selector position", - "mask": 192, + "mask": 12288, "max_value": 2, - "shift_by": 6, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -1099,9 +1217,9 @@ "address": 10868, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_WING_BRIGHTNESS", "description": "selector position", - "mask": 768, + "mask": 49152, "max_value": 2, - "shift_by": 8, + "shift_by": 14, "suffix": "", "type": "integer" } ] @@ -1126,13 +1244,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10838, + "address": 10852, "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": 2, "max_value": 1, - "shift_by": 10, + "shift_by": 1, "suffix": "", "type": "integer" } ] @@ -1156,13 +1274,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10838, + "address": 10852, "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": 32, "max_value": 1, - "shift_by": 14, + "shift_by": 5, "suffix": "", "type": "integer" } ] @@ -1186,13 +1304,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10838, + "address": 10852, "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": 64, "max_value": 1, - "shift_by": 15, + "shift_by": 6, "suffix": "", "type": "integer" } ] @@ -1211,12 +1329,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10838, + "address": 10852, "address_mask_shift_identifier": "F_4E_PLT_FUEL_EXTERNAL_TANKS_FEED", "description": "selector position", - "mask": 12288, + "mask": 24, "max_value": 2, - "shift_by": 12, + "shift_by": 3, "suffix": "", "type": "integer" } ] @@ -1244,9 +1362,9 @@ "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": 128, "max_value": 1, - "shift_by": 0, + "shift_by": 7, "suffix": "", "type": "integer" } ] @@ -1269,13 +1387,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10838, + "address": 10852, "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": 1, "max_value": 1, - "shift_by": 9, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -1302,9 +1420,9 @@ "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": 32768, "max_value": 1, - "shift_by": 8, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -1327,13 +1445,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10838, + "address": 10852, "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": 4, "max_value": 1, - "shift_by": 11, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -1356,13 +1474,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10834, + "address": 10838, "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": 32768, + "mask": 16384, "max_value": 1, - "shift_by": 15, + "shift_by": 14, "suffix": "", "type": "integer" } ] @@ -2180,12 +2298,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10868, + "address": 10892, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_TAXI_LAND", "description": "selector position", - "mask": 49152, + "mask": 96, "max_value": 2, - "shift_by": 14, + "shift_by": 5, "suffix": "", "type": "integer" } ] @@ -2250,9 +2368,9 @@ "address_mask_identifier": "F_4E_PLT_O2_MIXTURE_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_MIXTURE", "description": "selector position", - "mask": 256, + "mask": 32768, "max_value": 1, - "shift_by": 8, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -2268,12 +2386,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10826, + "address": 10834, "address_mask_shift_identifier": "F_4E_PLT_O2_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 49152, + "mask": 24576, "max_value": 2, - "shift_by": 14, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -2314,13 +2432,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10834, + "address": 10838, "address_mask_identifier": "F_4E_PLT_O2_SUPPLY_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_SUPPLY", "description": "selector position", - "mask": 512, + "mask": 256, "max_value": 1, - "shift_by": 9, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -2344,13 +2462,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10826, + "address": 10834, "address_mask_identifier": "F_4E_PLT_O2_TEST_AM", "address_mask_shift_identifier": "F_4E_PLT_O2_TEST", "description": "selector position", - "mask": 8192, + "mask": 4096, "max_value": 1, - "shift_by": 13, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -2380,9 +2498,9 @@ "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": 1, + "mask": 128, "max_value": 1, - "shift_by": 0, + "shift_by": 7, "suffix": "", "type": "integer" } ] @@ -2430,9 +2548,9 @@ "address": 10892, "address_mask_shift_identifier": "F_4E_PLT_EXT_LIGHT_FORMATION_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 6, + "mask": 768, "max_value": 2, - "shift_by": 1, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -2458,13 +2576,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10862, + "address": 10892, "address_mask_identifier": "F_4E_PLT_THROTTLE_CM_DISPENSE_AM", "address_mask_shift_identifier": "F_4E_PLT_THROTTLE_CM_DISPENSE", "description": "selector position", - "mask": 32768, + "mask": 4, "max_value": 1, - "shift_by": 15, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -2480,12 +2598,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10868, + "address": 10892, "address_mask_shift_identifier": "F_4E_PLT_THROTTLE_MIC", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 3072, + "mask": 3, "max_value": 2, - "shift_by": 10, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -2510,13 +2628,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10834, + "address": 10838, "address_mask_identifier": "F_4E_PLT_MASTER_ARM_SW_AM", "address_mask_shift_identifier": "F_4E_PLT_MASTER_ARM_SW", "description": "selector position", - "mask": 16384, + "mask": 8192, "max_value": 1, - "shift_by": 14, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -2978,6 +3096,95 @@ } ] } }, + "WSO Cockpit": { + "WSO_COCKPIT_HELMET": { + "category": "WSO Cockpit", + "control_type": "selector", + "description": "Put On / Take Off Helmet", + "identifier": "WSO_COCKPIT_HELMET", + "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": 10834, + "address_mask_identifier": "F_4E_WSO_COCKPIT_HELMET_AM", + "address_mask_shift_identifier": "F_4E_WSO_COCKPIT_HELMET", + "description": "selector position", + "mask": 2048, + "max_value": 1, + "shift_by": 11, + "suffix": "", + "type": "integer" + } ] + }, + "WSO_COCKPIT_MIRROR_LEFT": { + "category": "WSO Cockpit", + "control_type": "selector", + "description": "Toggle WSO Mirror Left", + "identifier": "WSO_COCKPIT_MIRROR_LEFT", + "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": 10834, + "address_mask_identifier": "F_4E_WSO_COCKPIT_MIRROR_LEFT_AM", + "address_mask_shift_identifier": "F_4E_WSO_COCKPIT_MIRROR_LEFT", + "description": "selector position", + "mask": 512, + "max_value": 1, + "shift_by": 9, + "suffix": "", + "type": "integer" + } ] + }, + "WSO_COCKPIT_MIRROR_RIGHT": { + "category": "WSO Cockpit", + "control_type": "selector", + "description": "Toggle WSO Mirror Right", + "identifier": "WSO_COCKPIT_MIRROR_RIGHT", + "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": 10834, + "address_mask_identifier": "F_4E_WSO_COCKPIT_MIRROR_RIGHT_AM", + "address_mask_shift_identifier": "F_4E_WSO_COCKPIT_MIRROR_RIGHT", + "description": "selector position", + "mask": 1024, + "max_value": 1, + "shift_by": 10, + "suffix": "", + "type": "integer" + } ] + } + }, "WSO Countermeasures Panel": { "WSO_CM_CHAFF": { "category": "WSO Countermeasures Panel", @@ -3507,13 +3714,13 @@ "identifier": "WSO_IFF_CHALLENGE_LIGHT", "inputs": [ ], "outputs": [ { - "address": 10854, + "address": 10862, "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": 2048, "max_value": 1, - "shift_by": 12, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -3537,13 +3744,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10854, + "address": 10862, "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": 1024, "max_value": 1, - "shift_by": 11, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -3570,12 +3777,12 @@ "identifier": "WSO_IFF_CODE_HUNDREDS", "inputs": [ ], "outputs": [ { - "address": 10852, + "address": 10854, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_HUNDREDS", "description": "IFF Code (hundreds)", - "mask": 7680, + "mask": 15, "max_value": 8, - "shift_by": 9, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -3599,13 +3806,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10852, + "address": 10854, "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": 1024, "max_value": 1, - "shift_by": 15, + "shift_by": 10, "suffix": "", "type": "integer" } ] @@ -3633,9 +3840,9 @@ "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": 4096, "max_value": 1, - "shift_by": 5, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -3663,9 +3870,9 @@ "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": 2048, "max_value": 1, - "shift_by": 4, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -3689,13 +3896,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10852, + "address": 10854, "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": 512, "max_value": 1, - "shift_by": 14, + "shift_by": 9, "suffix": "", "type": "integer" } ] @@ -3710,9 +3917,9 @@ "address": 10852, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_ONES", "description": "IFF Code (ones)", - "mask": 30, + "mask": 3840, "max_value": 8, - "shift_by": 1, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -3727,9 +3934,9 @@ "address": 10852, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_TENS", "description": "IFF Code (tens)", - "mask": 480, + "mask": 61440, "max_value": 8, - "shift_by": 5, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -3744,9 +3951,9 @@ "address": 10854, "address_mask_shift_identifier": "F_4E_WSO_IFF_CODE_THOUSANDS", "description": "IFF Code (thousands)", - "mask": 15, + "mask": 240, "max_value": 8, - "shift_by": 0, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -3801,9 +4008,9 @@ "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": 32768, "max_value": 1, - "shift_by": 8, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -3815,13 +4022,13 @@ "identifier": "WSO_IFF_COMBAT_TREE_CHALLENGE_TEST_LIGHT", "inputs": [ ], "outputs": [ { - "address": 10862, + "address": 10868, "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": 1, "max_value": 1, - "shift_by": 9, + "shift_by": 0, "suffix": "", "type": "integer" } ] @@ -3840,12 +4047,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10862, + "address": 10868, "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_MODE_2", "description": "selector position", - "mask": 6144, + "mask": 12, "max_value": 2, - "shift_by": 11, + "shift_by": 2, "suffix": "", "type": "integer" } ] @@ -3864,12 +4071,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10862, + "address": 10868, "address_mask_shift_identifier": "F_4E_WSO_IFF_COMBAT_TREE_MODE_3", "description": "selector position", - "mask": 24576, + "mask": 48, "max_value": 2, - "shift_by": 13, + "shift_by": 4, "suffix": "", "type": "integer" } ] @@ -3893,13 +4100,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10862, + "address": 10868, "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": 2, "max_value": 1, - "shift_by": 10, + "shift_by": 1, "suffix": "", "type": "integer" } ] @@ -3942,9 +4149,9 @@ "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": 8192, "max_value": 1, - "shift_by": 6, + "shift_by": 13, "suffix": "", "type": "integer" } ] @@ -3972,9 +4179,9 @@ "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": 32768, "max_value": 1, - "shift_by": 8, + "shift_by": 15, "suffix": "", "type": "integer" } ] @@ -3998,13 +4205,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10854, + "address": 10862, "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": 512, "max_value": 1, - "shift_by": 10, + "shift_by": 9, "suffix": "", "type": "integer" } ] @@ -4028,13 +4235,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10854, + "address": 10862, "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": 256, "max_value": 1, - "shift_by": 9, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -4062,9 +4269,9 @@ "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": 16384, "max_value": 1, - "shift_by": 7, + "shift_by": 14, "suffix": "", "type": "integer" } ] @@ -4088,13 +4295,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10852, + "address": 10854, "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": 256, "max_value": 1, - "shift_by": 13, + "shift_by": 8, "suffix": "", "type": "integer" } ] @@ -4110,12 +4317,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10854, + "address": 10862, "address_mask_shift_identifier": "F_4E_WSO_IFF_TEST_CHALLENGE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 24576, + "mask": 12288, "max_value": 2, - "shift_by": 13, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -4393,13 +4600,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10834, + "address": 10838, "address_mask_identifier": "F_4E_WSO_O2_MIXTURE_AM", "address_mask_shift_identifier": "F_4E_WSO_O2_MIXTURE", "description": "selector position", - "mask": 4096, + "mask": 2048, "max_value": 1, - "shift_by": 12, + "shift_by": 11, "suffix": "", "type": "integer" } ] @@ -4415,12 +4622,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10834, + "address": 10838, "address_mask_shift_identifier": "F_4E_WSO_O2_MODE", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 3072, + "mask": 1536, "max_value": 2, - "shift_by": 10, + "shift_by": 9, "suffix": "", "type": "integer" } ] @@ -4461,13 +4668,13 @@ "interface": "action" } ], "outputs": [ { - "address": 10834, + "address": 10838, "address_mask_identifier": "F_4E_WSO_O2_SUPPLY_AM", "address_mask_shift_identifier": "F_4E_WSO_O2_SUPPLY", "description": "selector position", - "mask": 8192, + "mask": 4096, "max_value": 1, - "shift_by": 13, + "shift_by": 12, "suffix": "", "type": "integer" } ] @@ -4485,12 +4692,12 @@ "max_value": 2 } ], "outputs": [ { - "address": 10868, + "address": 10892, "address_mask_shift_identifier": "F_4E_WSO_THROTTLE_MIC", "description": "switch position -- 0 = Down, 1 = Mid, 2 = Up", - "mask": 12288, + "mask": 24, "max_value": 2, - "shift_by": 12, + "shift_by": 3, "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 dee509670..0c0f2d1ba 100644 --- a/Scripts/DCS-BIOS/lib/modules/aircraft_modules/F-4E.lua +++ b/Scripts/DCS-BIOS/lib/modules/aircraft_modules/F-4E.lua @@ -285,6 +285,23 @@ end, 3, WSO_COUNTERMEASURES_PANEL, "Flare Counter") -- cockpit local COCKPIT_DEVICE_ID = 7 +-- Pilot Cockpit +local PILOT_COCKPIT = "PLT Cockpit" + +-- presently, toggling one mirror toggles all mirrors in both cockpits +F_4E:defineToggleSwitch("PLT_COCKPIT_MIRROR_TOP", COCKPIT_DEVICE_ID, 3019, 3061, PILOT_COCKPIT, "Toggle Mirrors C") +F_4E:defineToggleSwitch("PLT_COCKPIT_MIRROR_LEFT", COCKPIT_DEVICE_ID, 3020, 3062, PILOT_COCKPIT, "Toggle Mirrors L") +F_4E:defineToggleSwitch("PLT_COCKPIT_MIRROR_RIGHT", COCKPIT_DEVICE_ID, 3021, 3063, PILOT_COCKPIT, "Toggle Mirrors R") +F_4E:defineToggleSwitch("PLT_COCKPIT_HELMET", COCKPIT_DEVICE_ID, 3028, 1900, PILOT_COCKPIT, "Put On / Take Off Helmet") + +-- WSO Cockpit +local WSO_COCKPIT = "WSO Cockpit" + +-- 2024-05-25 mirrors intentionally use same arg_number as pilot - this is the way it is in the module lua +F_4E:defineToggleSwitch("WSO_COCKPIT_MIRROR_LEFT", COCKPIT_DEVICE_ID, 3034, 3062, WSO_COCKPIT, "Toggle WSO Mirror Left") +F_4E:defineToggleSwitch("WSO_COCKPIT_MIRROR_RIGHT", COCKPIT_DEVICE_ID, 3035, 3063, WSO_COCKPIT, "Toggle WSO Mirror Right") +F_4E:defineToggleSwitch("WSO_COCKPIT_HELMET", COCKPIT_DEVICE_ID, 3031, 1903, WSO_COCKPIT, "Put On / Take Off Helmet") + -- AFCS local AFCS_DEVICE_ID = 9