SteamControllerButton
Objective-C
enum SteamControllerButton : uint32_t {}
Swift
struct SteamControllerButton : OptionSet
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.
-
The button on the right underside of the controller.
Declaration
Objective-C
SteamControllerButtonRightGrip = 0x000001
Swift
static var rightGrip: SteamControllerButton { get }
-
Press on the left trackpad.
Declaration
Objective-C
SteamControllerButtonLeftTrackpadClick = 0x000002
Swift
static var leftTrackpadClick: SteamControllerButton { get }
-
Press on the right trackpad.
Declaration
Objective-C
SteamControllerButtonRightTrackpadClick = 0x000004
Swift
static var rightTrackpadClick: SteamControllerButton { get }
-
Touch on the left trackpad.
Declaration
Objective-C
SteamControllerButtonLeftTrackpadTouch = 0x000008
Swift
static var leftTrackpadTouch: SteamControllerButton { get }
-
Touch on the left trackpad.
Declaration
Objective-C
SteamControllerButtonRightTrackpadTouch = 0x000010
Swift
static var rightTrackpadTouch: SteamControllerButton { get }
-
Press on the analog stick.
Declaration
Objective-C
SteamControllerButtonStick = 0x000040
Swift
static var stick: SteamControllerButton { get }
-
Press in the up area of the left trackpad.
Declaration
Objective-C
SteamControllerButtonLeftTrackpadClickUp = 0x000100
Swift
static var leftTrackpadClickUp: SteamControllerButton { get }
-
Press in the right area of the left trackpad.
Declaration
Objective-C
SteamControllerButtonLeftTrackpadClickRight = 0x000200
Swift
static var leftTrackpadClickRight: SteamControllerButton { get }
-
Press in the left area of the left trackpad.
Declaration
Objective-C
SteamControllerButtonLeftTrackpadClickLeft = 0x000400
Swift
static var leftTrackpadClickLeft: SteamControllerButton { get }
-
Press in the down area of the left trackpad.
Declaration
Objective-C
SteamControllerButtonLeftTrackpadClickDown = 0x000800
Swift
static var leftTrackpadClickDown: SteamControllerButton { get }
-
The left pointing button to the left of the Steam button.
Declaration
Objective-C
SteamControllerButtonBack = 0x001000
Swift
static var back: SteamControllerButton { get }
-
Steam Button. The big round one in the middle of the controller.
Declaration
Objective-C
SteamControllerButtonSteam = 0x002000
Swift
static var steam: SteamControllerButton { get }
-
The right pointing button to the right of the Steam button.
Declaration
Objective-C
SteamControllerButtonForward = 0x004000
Swift
static var forward: SteamControllerButton { get }
-
The button on the left underside of the controller.
Declaration
Objective-C
SteamControllerButtonLeftGrip = 0x008000
Swift
static var leftGrip: SteamControllerButton { get }
-
A full press on the right trigger (the button below the right bumper).
Declaration
Objective-C
SteamControllerButtonRightTrigger = 0x010000
Swift
static var rightTrigger: SteamControllerButton { get }
-
A full press on the left trigger (the button below the left bumper).
Declaration
Objective-C
SteamControllerButtonLeftTrigger = 0x020000
Swift
static var leftTrigger: SteamControllerButton { get }
-
The right bumper button, also known as right shoulder button.
Declaration
Objective-C
SteamControllerButtonRightBumper = 0x040000
Swift
static var rightBumper: SteamControllerButton { get }
-
The left bumper button, also known as left shoulder button.
Declaration
Objective-C
SteamControllerButtonLeftBumper = 0x080000
Swift
static var leftBumper: SteamControllerButton { get }
-
The button marked A on the front of the controller.
Declaration
Objective-C
SteamControllerButtonA = 0x800000
Swift
static var A: SteamControllerButton { get }
-
The button marked B on the front of the controller.
Declaration
Objective-C
SteamControllerButtonB = 0x200000
Swift
static var B: SteamControllerButton { get }
-
The button marked X on the front of the controller.
Declaration
Objective-C
SteamControllerButtonX = 0x400000
Swift
static var X: SteamControllerButton { get }
-
The button marked Y on the front of the controller.
Declaration
Objective-C
SteamControllerButtonY = 0x100000
Swift
static var Y: SteamControllerButton { get }