icrate/generated/GameController/
GCDevice.rs1use crate::common::*;
4use crate::AppKit::*;
5use crate::Foundation::*;
6use crate::GameController::*;
7
8extern_protocol!(
9 pub unsafe trait GCDevice: NSObjectProtocol {
10 #[cfg(feature = "Foundation_NSString")]
11 #[method_id(@__retain_semantics Other vendorName)]
12 unsafe fn vendorName(&self) -> Option<Id<NSString>>;
13
14 #[cfg(feature = "Foundation_NSString")]
15 #[method_id(@__retain_semantics Other productCategory)]
16 unsafe fn productCategory(&self) -> Id<NSString>;
17
18 #[cfg(feature = "GameController_GCPhysicalInputProfile")]
19 #[deprecated = "Use the physicalInputProfile property on GCController instead. For GCKeyboard, use the keyboardInput property. For GCMouse, use the mouseInput property."]
20 #[method_id(@__retain_semantics Other physicalInputProfile)]
21 unsafe fn physicalInputProfile(&self) -> Id<GCPhysicalInputProfile>;
22 }
23
24 unsafe impl ProtocolType for dyn GCDevice {}
25);