Skip to main content

Cocos2D.CCGamePadButtonStatus


Enum CCGamePadButtonStatus

Namespace: Cocos2D
Assembly: Cocos2D.dll, cocos2d_mono.Core.Android.dll, cocos2d_mono.Core.DesktopGL.dll, cocos2d-mono.Core.iOS.dll, cocos2d_mono.Core.Linux.dll, cocos2d_mono.Core.macOS.dll, cocos2d_mono.Windows.dll, cocos2d_mono.DesktopGL.dll, cocos2d-mono.iOS.dll, cocos2d_mono.Linux.dll, cocos2d_mono.macOS.dll

How the button was engaged. You will get a Pressed notification unless the director is configuerd to consume button presses and create the Tapped button status.

public enum CCGamePadButtonStatus

Fields

NotApplicable = 3

Used when one of the buttons reported does not exist on the game pad

Pressed = 0

Released = 1

Tapped = 2

A pressed and released action was merged