Skip to main content
Skip table of contents

get_cockpit_input(index)

기능

Cockpit 버튼의 상태를 확인 할 수 있다.

(버튼 5개 )

(버튼 6개)

인수

인수명
자료형
기본값
설명
indexintNone

Cockpit 버튼 5개 (또는 6개) 중 지정한 버튼의 누름/해제 상태를 알려줌

리턴

설명
ret

0: 버튼 해제

1: 버튼 누름

예제

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.