Browse Source

Correct README

master
Kai Lüke 3 years ago
parent
commit
54d5d3391c
  1. 6
      README.md

6
README.md

@ -19,9 +19,9 @@ void setup() { @@ -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
}
// …

Loading…
Cancel
Save