Correct README

This commit is contained in:
Kai Lüke 2020-06-22 21:53:15 +02:00
parent 8f8b1ebc2a
commit 54d5d3391c
1 changed files with 3 additions and 3 deletions

View File

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