3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

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)

Keyword

get_cockpit / cockpit_input