Skip to main content
Skip table of contents

get_cockpit_input(index)

Features

You can check the status of the Cockpit button.

(5 Button)

(6 Button)

Parameter

Parameter NameData TypeDefault ValueDescription
indexintNone
Notifies the press/release status of a designated button among 5 (or 6) Cockpit buttons

Return

ValueDescription
ret

0: Release the button

1: Press the button

Example

PY
get_cockpit_input(1)
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.