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