Adapting Arduino side to joystick

Doesn't work at the moment!