DJSures / Atari-2600-VCS-USB-Joystick-Console-Arduino

Code for the Arduino Micro that emulates joysticks and console buttons for the Raspberry Pi Retro Pie Atari 2600 emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

up and down are in the opposite directions

eranfeit opened this issue · comments

Hi,
First , Thank you for sharing the code , and for the whole video of how to hack an Atarti 2600.
Wonderful job , and ver exciting as well

I have one issuse . the set command for up/down command are the opposite way ( -127 / + 127)

I did a fix in your Arduino code in my environment, and now it works fine.

Example :

if (j1y == 0)
// _j1.setYAxis(127);
_j1.setYAxis(-127);
else if (j1y == 2)
// _j1.setYAxis(-127);
_j1.setYAxis(127);
else
_j1.setYAxis(0);

_lastJ1Y = j1y;

}

Thanks again,
Eran