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    /// [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategoryarcadestick?language=objc)
36    pub static GCProductCategoryArcadeStick: Option<&'static NSString>;
37}
38
39extern "C" {
40    /// 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.
41    ///
42    /// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorysiriremote1stgen?language=objc)
43    pub static GCProductCategorySiriRemote1stGen: Option<&'static NSString>;
44}
45
46extern "C" {
47    /// The Siri Remote (2nd generation), or Apple TV Remote (2nd generation), was first introduced in 2021. It features a touch-enabled clickpad for navigation.
48    ///
49    /// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorysiriremote2ndgen?language=objc)
50    pub static GCProductCategorySiriRemote2ndGen: Option<&'static NSString>;
51}
52
53extern "C" {
54    /// Users can use Apple TV Remote controls in Control Center on an iOS or iPadOS device.
55    ///
56    /// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorycontrolcenterremote?language=objc)
57    pub static GCProductCategoryControlCenterRemote: Option<&'static NSString>;
58}
59
60extern "C" {
61    /// The Universal Electronics remote is an infrared and Bluetooth Low Energy remote designed to work with the Apple TV.
62    ///
63    /// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategoryuniversalelectronicsremote?language=objc)
64    pub static GCProductCategoryUniversalElectronicsRemote: Option<&'static NSString>;
65}
66
67extern "C" {
68    /// If multiple remotes have been combined into one, the device will have the GCProductCategoryCoalescedRemote product category.
69    ///
70    ///
71    /// By default, the Game Controller framework will try to coalesce, or combine, the physical Apple TV Remote and the
72    /// virtual Control Center remote and treat them as a single GCDevice instance. By setting GCSupportsMultipleMicroGamepads in your
73    /// app's plist to true, you can disable this behavior.
74    ///
75    /// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorycoalescedremote?language=objc)
76    pub static GCProductCategoryCoalescedRemote: Option<&'static NSString>;
77}
78
79extern "C" {
80    /// Keyboards and Mice Product Categories
81    ///
82    /// See also [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorymouse?language=objc)
83    pub static GCProductCategoryMouse: Option<&'static NSString>;
84}
85
86extern "C" {
87    /// [Apple's documentation](https://developer.apple.com/documentation/gamecontroller/gcproductcategorykeyboard?language=objc)
88    pub static GCProductCategoryKeyboard: Option<&'static NSString>;
89}