Breadcrumbs

get_cockpit_input()

Definition

get_cockpit_input(index)

Features

You can check the status of the Cockpit button.


(6 Button)

image2024-4-5_18-57-25.png


(5 Button)

image2024-4-5_19-2-18.png

Parameter

Parameter Name

Data Type

Default Value

Description

index

int

None

Notifies the press/release status of a designated button among 5 (or 6) Cockpit buttons

Return

Value

Description

ret

0: Release the button

1: Press the button

Example

Python
get_cockpit_input(1)