diff --git a/README.md b/README.md index 6b050f8..834e5d6 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,9 @@ void setup() { void loop() { delay(30); player1.update(); // read key state - if (player1.button_A() && player1.button_D_down() - || player1.button_Start()) { // has no deeper meaning ;) - int xachse = player1.axis_x(); // can be negative oder positive + if (player1.A() && player1.D_down() + || player1.Start()) { // has no deeper meaning ;) + int xaxis = player1.axis_x(); // can be negative oder positive // regarding to orientation of the analog stick } // …