use crate::common::*;
use crate::AppKit::*;
use crate::Foundation::*;
use crate::GameController::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "GameController_GCSteeringWheelElement")]
pub struct GCSteeringWheelElement;
#[cfg(feature = "GameController_GCSteeringWheelElement")]
unsafe impl ClassType for GCSteeringWheelElement {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
#[cfg(feature = "GameController_GCSteeringWheelElement")]
unsafe impl GCAxisElement for GCSteeringWheelElement {}
#[cfg(feature = "GameController_GCSteeringWheelElement")]
unsafe impl GCPhysicalInputElement for GCSteeringWheelElement {}
#[cfg(feature = "GameController_GCSteeringWheelElement")]
unsafe impl NSObjectProtocol for GCSteeringWheelElement {}
extern_methods!(
#[cfg(feature = "GameController_GCSteeringWheelElement")]
unsafe impl GCSteeringWheelElement {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
#[method(maximumDegreesOfRotation)]
pub unsafe fn maximumDegreesOfRotation(&self) -> c_float;
}
);
extern_methods!(
#[cfg(feature = "GameController_GCSteeringWheelElement")]
unsafe impl GCSteeringWheelElement {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);