1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2_foundation::*;
use crate::*;
extern "C" {
/// Game Controller Product Categories
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorydualsense?language=objc)
pub static GCProductCategoryDualSense: Option<&'static NSString>;
}
extern "C" {
/// [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorydualshock4?language=objc)
pub static GCProductCategoryDualShock4: Option<&'static NSString>;
}
extern "C" {
/// [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorymfi?language=objc)
pub static GCProductCategoryMFi: Option<&'static NSString>;
}
extern "C" {
/// [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategoryxboxone?language=objc)
pub static GCProductCategoryXboxOne: Option<&'static NSString>;
}
extern "C" {
/// [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategoryhid?language=objc)
pub static GCProductCategoryHID: Option<&'static NSString>;
}
extern "C" {
/// The category for game controller products that support 6DoF tracking on visionOS.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategoryspatialcontroller?language=objc)
pub static GCProductCategorySpatialController: Option<&'static NSString>;
}
extern "C" {
/// [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategoryarcadestick?language=objc)
pub static GCProductCategoryArcadeStick: Option<&'static NSString>;
}
extern "C" {
/// The Siri Remote (1st generation), or Apple TV Remote (1st generation), was first introduced in 2015. It features a Touch surface for touch navigation, and supports device motion.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorysiriremote1stgen?language=objc)
pub static GCProductCategorySiriRemote1stGen: Option<&'static NSString>;
}
extern "C" {
/// The Siri Remote (2nd generation), or Apple TV Remote (2nd generation), was first introduced in 2021. It features a touch-enabled clickpad for navigation.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorysiriremote2ndgen?language=objc)
pub static GCProductCategorySiriRemote2ndGen: Option<&'static NSString>;
}
extern "C" {
/// Users can use Apple TV Remote controls in Control Center on an iOS or iPadOS device.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorycontrolcenterremote?language=objc)
pub static GCProductCategoryControlCenterRemote: Option<&'static NSString>;
}
extern "C" {
/// The Universal Electronics remote is an infrared and Bluetooth Low Energy remote designed to work with the Apple TV.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategoryuniversalelectronicsremote?language=objc)
pub static GCProductCategoryUniversalElectronicsRemote: Option<&'static NSString>;
}
extern "C" {
/// If multiple remotes have been combined into one, the device will have the GCProductCategoryCoalescedRemote product category.
///
///
/// By default, the Game Controller framework will try to coalesce, or combine, the physical Apple TV Remote and the
/// virtual Control Center remote and treat them as a single GCDevice instance. By setting GCSupportsMultipleMicroGamepads in your
/// app's plist to true, you can disable this behavior.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorycoalescedremote?language=objc)
pub static GCProductCategoryCoalescedRemote: Option<&'static NSString>;
}
extern "C" {
/// Keyboards and Mice Product Categories
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorymouse?language=objc)
pub static GCProductCategoryMouse: Option<&'static NSString>;
}
extern "C" {
/// [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorykeyboard?language=objc)
pub static GCProductCategoryKeyboard: Option<&'static NSString>;
}
extern "C" {
/// The category for stylus products that support 6DoF tracking on visionOS.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategoryspatialstylus?language=objc)
pub static GCProductCategorySpatialStylus: Option<&'static NSString>;
}