Skip to content

Commit

Permalink
Add F-4E Cockpit Device (#656)
Browse files Browse the repository at this point in the history
Fixes #589
  • Loading branch information
charliefoxtwo authored May 25, 2024
1 parent b1996b2 commit f855e51
Show file tree
Hide file tree
Showing 4 changed files with 783 additions and 338 deletions.
174 changes: 94 additions & 80 deletions Scripts/DCS-BIOS/doc/Addresses.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading

0 comments on commit f855e51

Please sign in to comment.