Type Definitions
The following type definitions are available globally.
-
A block called when a button is pressed or released.
Declaration
Objective-C
typedef void (^SteamControllerButtonHandler)(SteamController *_Nonnull, SteamControllerButton, BOOL)
Swift
typealias SteamControllerButtonHandler = (SteamController, SteamControllerButton, Bool) -> Void