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
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2::__framework_prelude::*;
use objc2_foundation::*;

use crate::*;

extern_protocol!(
    #[cfg(feature = "GCPhysicalInputElement")]
    pub unsafe trait GCDirectionPadElement: GCPhysicalInputElement {
        #[cfg(feature = "GCAxis2DInput")]
        #[method_id(@__retain_semantics Other xyAxes)]
        unsafe fn xyAxes(&self) -> Id<ProtocolObject<dyn GCAxis2DInput>>;

        #[cfg(feature = "GCAxisInput")]
        #[method_id(@__retain_semantics Other xAxis)]
        unsafe fn xAxis(&self) -> Id<ProtocolObject<dyn GCAxisInput>>;

        #[cfg(feature = "GCAxisInput")]
        #[method_id(@__retain_semantics Other yAxis)]
        unsafe fn yAxis(&self) -> Id<ProtocolObject<dyn GCAxisInput>>;

        #[cfg(all(feature = "GCLinearInput", feature = "GCPressedStateInput"))]
        #[method_id(@__retain_semantics Other up)]
        unsafe fn up(&self) -> Id<TodoProtocols>;

        #[cfg(all(feature = "GCLinearInput", feature = "GCPressedStateInput"))]
        #[method_id(@__retain_semantics Other down)]
        unsafe fn down(&self) -> Id<TodoProtocols>;

        #[cfg(all(feature = "GCLinearInput", feature = "GCPressedStateInput"))]
        #[method_id(@__retain_semantics Other left)]
        unsafe fn left(&self) -> Id<TodoProtocols>;

        #[cfg(all(feature = "GCLinearInput", feature = "GCPressedStateInput"))]
        #[method_id(@__retain_semantics Other right)]
        unsafe fn right(&self) -> Id<TodoProtocols>;
    }

    #[cfg(feature = "GCPhysicalInputElement")]
    unsafe impl ProtocolType for dyn GCDirectionPadElement {}
);