aircraft
Classes:
| Name | Description |
|---|---|
A10C |
A-10C Warthog. |
A10C2 |
A-10C II Tank Killer. |
AH64DBLKII |
AH-64D Apache. |
AV8BNA |
AV-8B Night Attack. |
AdvancedAircraft |
Advanced Aircraft. |
BasicAircraft |
Basic Aircraft. |
C130J30 |
C-130J 30 Hercules. |
F14A135GR |
F-14A-135-GR Tomcat. |
F14B |
F-14B Tomcat. |
F15ESE |
F-15ESE Eagle. |
F16C50 |
F-16C Viper. |
F4E45MC |
F-4E Phantom II. |
FA18Chornet |
F/A-18C Hornet. |
Ka50 |
Ka-50 Black Shark. |
Ka503 |
Ka-50 Black Shark III. |
MetaAircraft |
Metaclass for all BasicAircraft. |
Mi24P |
Mi-24P Hind. |
Mi8MT |
Mi-8MTV2 Magnificent Eight. |
Functions:
| Name | Description |
|---|---|
draw_autopilot_channels |
Draw rectangles with a background for autopilot channels. |
A10C
A10C(lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs])
Bases: AdvancedAircraft
A-10C Warthog.
Create A-10C Warthog or A-10C II Tank Killer.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for A-10C Warthog for Color LCD. |
draw_for_lcd_mono |
Prepare image for A-10C Warthog for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for A-10C Warthog for Color LCD.
Source code in src/dcspy/aircraft.py
900 901 902 903 904 905 906 907 908 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for A-10C Warthog for Mono LCD.
Source code in src/dcspy/aircraft.py
890 891 892 893 894 895 896 897 898 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
A10C2
A10C2(lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs])
Bases: A10C
A-10C II Tank Killer.
Create A-10C Warthog or A-10C II Tank Killer.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for A-10C II Tank Killer for Color LCD. |
draw_for_lcd_mono |
Prepare image for A-10C II Tank Killer for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for A-10C II Tank Killer for Color LCD.
Source code in src/dcspy/aircraft.py
925 926 927 928 929 930 931 932 933 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for A-10C II Tank Killer for Mono LCD.
Source code in src/dcspy/aircraft.py
915 916 917 918 919 920 921 922 923 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
AH64DBLKII
AH64DBLKII(
lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs]
)
Bases: AdvancedAircraft
AH-64D Apache.
Create AH-64D Apache.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare AH-64D Apache specific DCS-BIOS request for button pressed. |
draw_for_lcd_color |
Prepare image for AH-64D Apache for Color LCD. |
draw_for_lcd_mono |
Prepare image for AH-64D Apache for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set new data. |
Source code in src/dcspy/aircraft.py
674 675 676 677 678 679 680 681 682 683 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare AH-64D Apache specific DCS-BIOS request for button pressed.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for AH-64D Apache for Color LCD.
Source code in src/dcspy/aircraft.py
696 697 698 699 700 701 702 703 704 705 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for AH-64D Apache for Mono LCD.
Source code in src/dcspy/aircraft.py
685 686 687 688 689 690 691 692 693 694 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set new data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 | |
AV8BNA
AV8BNA(lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs])
Bases: AdvancedAircraft
AV-8B Night Attack.
Create AV-8B Night Attack.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for AV-8B N/A for Color LCD. |
draw_for_lcd_mono |
Prepare image for AV-8B N/A for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for AV-8B N/A for Color LCD.
Source code in src/dcspy/aircraft.py
1016 1017 1018 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for AV-8B N/A for Mono LCD.
Source code in src/dcspy/aircraft.py
1012 1013 1014 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
AdvancedAircraft
AdvancedAircraft(
lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs]
)
Bases: BasicAircraft
Advanced Aircraft.
Create advanced aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for Aircraft for Color LCD. |
draw_for_lcd_mono |
Prepare image for Aircraft for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
110 111 112 113 114 115 116 117 118 119 120 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for Aircraft for Color LCD.
Source code in src/dcspy/aircraft.py
151 152 153 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for Aircraft for Mono LCD.
Source code in src/dcspy/aircraft.py
147 148 149 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
BasicAircraft
Basic Aircraft.
Create basic aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
get_bios |
Get value for DCS-BIOS selector. |
set_bios |
Set value for DCS-BIOS selector. |
Source code in src/dcspy/aircraft.py
57 58 59 60 61 62 63 64 65 66 67 68 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
set_bios
Set value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
82 83 84 85 86 87 88 89 90 | |
C130J30
C130J30(
lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs]
)
Bases: AdvancedAircraft
C-130J 30 Hercules.
Create C-130J 30 Hercules.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for C-130J-30 for Color LCD. |
draw_for_lcd_mono |
Prepare image for C-130J-30 for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for C-130J-30 for Color LCD.
Source code in src/dcspy/aircraft.py
1057 1058 1059 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for C-130J-30 for Mono LCD.
Source code in src/dcspy/aircraft.py
1053 1054 1055 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
F14A135GR
F14A135GR(
lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs]
)
Bases: F14B
F-14A-135-GR Tomcat.
Create advanced aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for F-14B Tomcat for Color LCD. |
draw_for_lcd_mono |
Prepare image for F-14B Tomcat for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
110 111 112 113 114 115 116 117 118 119 120 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for F-14B Tomcat for Color LCD.
Source code in src/dcspy/aircraft.py
952 953 954 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for F-14B Tomcat for Mono LCD.
Source code in src/dcspy/aircraft.py
948 949 950 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
F14B
F14B(lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs])
Bases: AdvancedAircraft
F-14B Tomcat.
Create advanced aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for F-14B Tomcat for Color LCD. |
draw_for_lcd_mono |
Prepare image for F-14B Tomcat for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
110 111 112 113 114 115 116 117 118 119 120 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for F-14B Tomcat for Color LCD.
Source code in src/dcspy/aircraft.py
952 953 954 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for F-14B Tomcat for Mono LCD.
Source code in src/dcspy/aircraft.py
948 949 950 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
F15ESE
F15ESE(lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs])
Bases: AdvancedAircraft
F-15ESE Eagle.
Create F-15ESE Egle.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for F-15ESE Eagle for Color LCD. |
draw_for_lcd_mono |
Prepare image for F-15ESE Eagle for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
408 409 410 411 412 413 414 415 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for F-15ESE Eagle for Color LCD.
Source code in src/dcspy/aircraft.py
427 428 429 430 431 432 433 434 435 436 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for F-15ESE Eagle for Mono LCD.
Source code in src/dcspy/aircraft.py
417 418 419 420 421 422 423 424 425 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
F16C50
F16C50(lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs])
Bases: AdvancedAircraft
F-16C Viper.
Create F-16C Viper.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for F-16C Viper for Color LCD. |
draw_for_lcd_mono |
Prepare image for F-16C Viper for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Catch BIOS changes and remove garbage characters and replace with correct ones. |
Source code in src/dcspy/aircraft.py
268 269 270 271 272 273 274 275 276 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for F-16C Viper for Color LCD.
Source code in src/dcspy/aircraft.py
293 294 295 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for F-16C Viper for Mono LCD.
Source code in src/dcspy/aircraft.py
289 290 291 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Catch BIOS changes and remove garbage characters and replace with correct ones.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
Selector name |
required |
|
BiosValue
|
Value for DCS-BIOS |
required |
Source code in src/dcspy/aircraft.py
297 298 299 300 301 302 303 304 305 306 307 308 | |
F4E45MC
F4E45MC(
lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs]
)
Bases: AdvancedAircraft
F-4E Phantom II.
Create F-4E Phantom II.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for F-4E Phantom II Color LCD. |
draw_for_lcd_mono |
Prepare image for F-4E Phantom II Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
359 360 361 362 363 364 365 366 367 368 369 370 371 372 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for F-4E Phantom II Color LCD.
Source code in src/dcspy/aircraft.py
399 400 401 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for F-4E Phantom II Mono LCD.
Source code in src/dcspy/aircraft.py
395 396 397 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
FA18Chornet
FA18Chornet(
lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs]
)
Bases: AdvancedAircraft
F/A-18C Hornet.
Create F/A-18C Hornet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for F/A-18C Hornet for Color LCD. |
draw_for_lcd_mono |
Prepare image for F/A-18C Hornet for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set new data. |
Source code in src/dcspy/aircraft.py
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for F/A-18C Hornet for Color LCD.
Source code in src/dcspy/aircraft.py
224 225 226 227 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for F/A-18C Hornet for Mono LCD.
Source code in src/dcspy/aircraft.py
220 221 222 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set new data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
229 230 231 232 233 234 235 236 237 238 239 | |
Ka50
Ka50(lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs])
Bases: AdvancedAircraft
Ka-50 Black Shark.
Create Ka-50 Black Shark.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for Ka-50 Black Shark for Mono LCD. |
draw_for_lcd_mono |
Prepare image for Ka-50 Black Shark for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for Ka-50 Black Shark for Mono LCD.
Source code in src/dcspy/aircraft.py
526 527 528 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for Ka-50 Black Shark for Mono LCD.
Source code in src/dcspy/aircraft.py
522 523 524 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
Ka503
Ka503(lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs])
Bases: Ka50
Ka-50 Black Shark III.
Create Ka-50 Black Shark.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for Ka-50 Black Shark for Mono LCD. |
draw_for_lcd_mono |
Prepare image for Ka-50 Black Shark for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for Ka-50 Black Shark for Mono LCD.
Source code in src/dcspy/aircraft.py
526 527 528 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for Ka-50 Black Shark for Mono LCD.
Source code in src/dcspy/aircraft.py
522 523 524 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
MetaAircraft
Mi24P
Mi24P(lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs])
Bases: AdvancedAircraft
Mi-24P Hind.
Create Mi-24P Hind.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for Mi-24P Hind for Color LCD. |
draw_for_lcd_mono |
Prepare image for Mi-24P Hind for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for Mi-24P Hind for Color LCD.
Source code in src/dcspy/aircraft.py
652 653 654 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for Mi-24P Hind for Mono LCD.
Source code in src/dcspy/aircraft.py
648 649 650 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
Mi8MT
Mi8MT(lcd_type: LcdInfo, **kwargs: Unpack[AircraftKwargs])
Bases: AdvancedAircraft
Mi-8MTV2 Magnificent Eight.
Create Mi-8MTV2 Magnificent Eight.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
LCD type |
required |
Methods:
| Name | Description |
|---|---|
button_request |
Prepare DCS-BIOS request for pressed button for specific aircraft. |
draw_for_lcd_color |
Prepare image for Mi-8MTV2 Magnificent Eight for Color LCD. |
draw_for_lcd_mono |
Prepare image for Mi-8MTV2 Magnificent Eight for Mono LCD. |
get_bios |
Get value for DCS-BIOS selector. |
prepare_image |
Prepare an image to be sent to a correct type of LCD. |
set_bios |
Set a value for DCS-BIOS selector and update LCD with an image. |
Source code in src/dcspy/aircraft.py
540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 | |
button_request
button_request(button: AnyButton) -> RequestModel
Prepare DCS-BIOS request for pressed button for specific aircraft.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
AnyButton
|
LcdButton, Gkey or MouseButton |
required |
Returns:
| Type | Description |
|---|---|
RequestModel
|
RequestModel object |
Source code in src/dcspy/aircraft.py
70 71 72 73 74 75 76 77 78 79 80 | |
draw_for_lcd_color
draw_for_lcd_color(img: Image) -> None
Prepare image for Mi-8MTV2 Magnificent Eight for Color LCD.
Source code in src/dcspy/aircraft.py
581 582 583 | |
draw_for_lcd_mono
draw_for_lcd_mono(img: Image) -> None
Prepare image for Mi-8MTV2 Magnificent Eight for Mono LCD.
Source code in src/dcspy/aircraft.py
577 578 579 | |
get_bios
Get value for DCS-BIOS selector.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
A name of selector |
required |
|
BiosValue
|
When fetch of value failed, this value will be returned |
''
|
Source code in src/dcspy/aircraft.py
92 93 94 95 96 97 98 99 100 101 102 | |
prepare_image
prepare_image() -> Image
Prepare an image to be sent to a correct type of LCD.
Returns:
| Type | Description |
|---|---|
Image
|
Image instance ready to display on LCD |
Source code in src/dcspy/aircraft.py
133 134 135 136 137 138 139 140 141 142 143 144 145 | |
set_bios
Set a value for DCS-BIOS selector and update LCD with an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
|
required |
|
BiosValue
|
|
required |
Source code in src/dcspy/aircraft.py
122 123 124 125 126 127 128 129 130 131 | |
draw_autopilot_channels
draw_autopilot_channels(
lcd: LcdInfo,
ap_channel: str,
c_rect: tuple[float, float, float, float],
c_text: tuple[float, float],
draw_obj: ImageDraw,
turn_on: str | int | float,
) -> None
Draw rectangles with a background for autopilot channels.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
LcdInfo
|
Instance of LCD |
required |
|
str
|
Channel name |
required |
|
tuple[float, float, float, float]
|
Coordinates for rectangle |
required |
|
tuple[float, float]
|
Coordinates for a name |
required |
|
ImageDraw
|
ImageDraw instance |
required |
|
str | int | float
|
Channel on/off, fill on/off |
required |
Source code in src/dcspy/aircraft.py
1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 | |