mirror of
https://github.com/pothos/arduino-n64-controller-library
synced 2024-11-21 00:05:20 -05:00
Correct README
This commit is contained in:
parent
8f8b1ebc2a
commit
54d5d3391c
@ -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…
Reference in New Issue
Block a user