Enumerations

The following enumerations are available globally.

  • Represents the mapping of a Steam Controller’s trackpad or stick to a GCController thumbstick or directional pad.

    See more

    Declaration

    Objective-C

    enum SteamControllerMapping : NSUInteger {}

    Swift

    enum SteamControllerMapping : UInt
  • Represents a Steam Controller’s behaviour. This allows changing between Game Controller emulation (the default), and keyboard/mouse.

    In Keyboard/Mouse mode, the controls are mapped to the following keys:

    • Left trackpad: arrows
    • Analog stick: arrows
    • Analog stick button: F4
    • A: return
    • B: escape
    • Back: tab
    • Forward: escape
    • Left grip: F7
    • Right grip: F9
    • Left bumper: space
    • Right bumper: F9

    Other controls are not mapped to keys.

    See more

    Declaration

    Objective-C

    enum SteamControllerMode : NSUInteger {}

    Swift

    enum SteamControllerMode : UInt
  • Represents a physical push button input (or combination thereof) from the Steam Controller.

    The values of this enumeration are the same ones used by the controller’s bluetooth protocol.

    See more

    Declaration

    Objective-C

    enum SteamControllerButton : uint32_t {}

    Swift

    struct SteamControllerButton : OptionSet