Skip to content

Commit 54d5d33

Browse files
committed
Correct README
1 parent 8f8b1eb commit 54d5d33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ void setup() {
1919
void loop() {
2020
delay(30);
2121
player1.update(); // read key state
22-
if (player1.button_A() && player1.button_D_down()
23-
|| player1.button_Start()) { // has no deeper meaning ;)
24-
int xachse = player1.axis_x(); // can be negative oder positive
22+
if (player1.A() && player1.D_down()
23+
|| player1.Start()) { // has no deeper meaning ;)
24+
int xaxis = player1.axis_x(); // can be negative oder positive
2525
// regarding to orientation of the analog stick
2626
}
2727
// …

0 commit comments

Comments
 (0)