Skip to main content

Interface: InstrumentEvents

Events from the VCockpit BaseInstrument framework.

Properties

vc_flight_start

vc_flight_start: boolean

An event fired when the flight is started.

Defined in

src/sdk/instruments/InstrumentEvents.ts:33


vc_game_state

vc_game_state: GameState

An event fired when the game state changes.

Defined in

src/sdk/instruments/InstrumentEvents.ts:30


vc_mouse_enter

vc_mouse_enter: MouseEvent

An event fired when the mouse enters the instrument.

Defined in

src/sdk/instruments/InstrumentEvents.ts:39


vc_mouse_leave

vc_mouse_leave: MouseEvent

An event fired when the mouse leaves the instrument.

Defined in

src/sdk/instruments/InstrumentEvents.ts:36


vc_powered

vc_powered: boolean

An event fired when the instrument is powered on or off.

Defined in

src/sdk/instruments/InstrumentEvents.ts:24


vc_screen_state

vc_screen_state: ScreenStateEvent

An event fired when the screen state changes.

Defined in

src/sdk/instruments/InstrumentEvents.ts:27