#[non_exhaustive]pub enum ClientEvent {
Throttle1Set {
value: i32,
},
Throttle2Set {
value: i32,
},
Throttle3Set {
value: i32,
},
Throttle4Set {
value: i32,
},
AxisElevatorSet {
value: i32,
},
Brakes,
BrakesLeft,
BrakesRight,
AxisLeftBrakeSet {
value: i32,
},
AxisRightBrakeSet {
value: i32,
},
ParkingBrakes,
}Expand description
SimConnect Client Event.
Defined by https://www.prepar3d.com/SDKv5/sdk/references/variables/event_ids.html. Extended by https://docs.flightsimulator.com/html/Programming_Tools/Event_IDs/Event_IDs.htm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Throttle1Set
Set throttle 1 exactly (0 to 16383).
Throttle2Set
Set throttle 2 exactly (0 to 16383).
Throttle3Set
Set throttle 3 exactly (0 to 16383).
Throttle4Set
Set throttle 4 exactly (0 to 16383).
AxisElevatorSet
Sets elevator position (-16383 - +16383).
Brakes
Increment brake pressure. Note: These are simulated spring-loaded toe brakes, which will bleed back to zero over time.
BrakesLeft
Increments left brake pressure. Note: This is a simulated spring-loaded toe brake, which will bleed back to zero over time.
BrakesRight
Increments right brake pressure. Note: This is a simulated spring-loaded toe brake, which will bleed back to zero over time.
AxisLeftBrakeSet
Sets left brake position from axis controller (e.g. joystick). -16383 (0 brakes) to +16383 (max brakes).
AxisRightBrakeSet
Sets right brake position from axis controller (e.g. joystick). -16383 (0 brakes) to +16383 (max brakes).
ParkingBrakes
Toggles parking brake on/off.
Trait Implementations§
Source§impl Clone for ClientEvent
impl Clone for ClientEvent
Source§fn clone(&self) -> ClientEvent
fn clone(&self) -> ClientEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more