Megosztás a következőn keresztül:


ArcadeStickButtons Enum

Definition

Specifies the button type for an arcade stick.

This enumeration supports a bitwise combination of its member values.

public enum class ArcadeStickButtons
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class ArcadeStickButtons
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum ArcadeStickButtons
var value = Windows.Gaming.Input.ArcadeStickButtons.none
Public Enum ArcadeStickButtons
Inheritance
ArcadeStickButtons
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Name Value Description
None 0

No button.

StickUp 1

The stick is pressed up.

StickDown 2

The stick is pressed down.

StickLeft 4

The stick is pressed left.

StickRight 8

The stick is pressed right.

Action1 16

The first action button.

Action2 32

The second action button.

Action3 64

The third action button.

Action4 128

The fourth action button.

Action5 256

The fifth action button.

Action6 512

The sixth action button.

Special1 1024

The first special button.

Special2 2048

The second special button.

Applies to

See also