Skip to content

Commit 419d085

Browse files
authored
Add info to enable special buttons individually
1 parent f245ac6 commit 419d085

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Diff for: examples/SpecialButtons/SpecialButtons.ino

+10-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,18 @@ void setup()
88
Serial.begin(115200);
99
BleGamepadConfiguration bleGamepadConfig;
1010
bleGamepadConfig.setWhichSpecialButtons(true, true, true, true, true, true, true, true);
11+
// Can also enable special buttons individually with the following <-- They are all disabled by default
12+
// bleGamepadConfig.setIncludeStart(true);
13+
// bleGamepadConfig.setIncludeSelect(true);
14+
// bleGamepadConfig.setIncludeMenu(true);
15+
// bleGamepadConfig.setIncludeHome(true);
16+
// bleGamepadConfig.setIncludeBack(true);
17+
// bleGamepadConfig.setIncludeVolumeInc(true);
18+
// bleGamepadConfig.setIncludeVolumeDec(true);
19+
// bleGamepadConfig.setIncludeVolumeMute(true);
1120
bleGamepad.begin(&bleGamepadConfig);
1221

13-
// changing bleGamepadConfig after the begin function has no effect, unless you call the begin function again
22+
// Changing bleGamepadConfig after the begin function has no effect, unless you call the begin function again
1423
}
1524

1625
void loop()

0 commit comments

Comments
 (0)