DDControllerButton
class DDControllerButton: NSObject
A Daydream View controller button.
-
Set this closure if you want to be notified continuously of the value of this button. For the Daydream View controller, this closure will be called roughly 60 times per second if set.
Declaration
Swift
public var valueChangedHandler: DDControllerButtonValueChangedHandler?
-
Set this closure if you want to be notified only when the press state of this button changes.
Declaration
Swift
public var pressedChangedHandler: DDControllerButtonValueChangedHandler?
-
Set this closure if you want to be notified after the button has been pressed for one second.
Declaration
Swift
public var longPressHandler: DDControllerButtonValueChangedHandler?
-
The current press state of the button.
Declaration
Swift
public var pressed: Bool
-
Undocumented
Declaration
Swift
class DDControllerButton: NSObject