This commit is contained in:
Pedro de Oliveira 2014-09-15 01:08:10 +01:00
parent dc5d550bf0
commit 59f9c594aa
1 changed files with 2 additions and 2 deletions

View File

@ -56,6 +56,7 @@ word controllerRead()
}
void loop() {
/*
Clock Cycle Button Reported
=========== ===============
@ -91,7 +92,6 @@ void loop() {
joySt.buttons |= (!bitRead(controller_data, 10) << 4); // L - bit 11 - bit 4 on the Joystick
joySt.buttons |= (!bitRead(controller_data, 11) << 5); // R - bit 12 - bit 3 on the Joystick
joySt.xAxis = 127; // Reset x axis
joySt.yAxis = 127; // Rest y axis