MCPcopy Create free account
hub / github.com/360Controller/360Controller / ButtonBits

Enum ButtonBits

360Controller/ControlStruct.h:78–95  ·  view source on GitHub ↗

Button bits

Source from the content-addressed store, hash-verified

76
77// Button bits
78enum ButtonBits {
79 btnHatRight = 0x8000,
80 btnHatLeft = 0x4000,
81 btnBack = 0x2000,
82 btnStart = 0x1000,
83 btnDigiRight = 0x0800,
84 btnDigiLeft = 0x0400,
85 btnDigiDown = 0x0200,
86 btnDigiUp = 0x0100,
87 btnY = 0x0080,
88 btnX = 0x0040,
89 btnB = 0x0020,
90 btnA = 0x0010,
91 btnReserved1 = 0x0008, // Unused?
92 btnXbox = 0x0004,
93 btnShoulderRight = 0x0002,
94 btnShoulderLeft = 0x0001
95};
96
97// LED values
98enum LEDValues {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected