Mouse arduino

Hello

Just saw[ your article.

Would it be possible to have the wiring diagram ? Because I have a problem, I have my horizontal and vertical controls which are reversed. Up leads down and left leads right

I am using an [Arduino Leonardo board and get [contactor.

Thanks in advance](Module KY023 joystick, PS2 double axe XY pour Arduino & Raspberry, MONDUINO | eBay)](Carte Arduino Leonardo R3 ATmega32u4 (Compatible) - DiyDomo)](Pro Micro & Fio V3 Hookup Guide - SparkFun Learn)

If you’re using Arduino Leonardo, it will be easier if you follow this tutorial: https://docs.arduino.cc/built-in-exampl … useControl

This one includes circuit diagram and code in detail.

Are you using potentiometers for X and Y? If so, reverse ground and vcc on the outside terminals.

Hello

Finally I turned my tick Joyce around and it works.

However, I have another question. when you press the top joystick it goes up, the bottom joystick it goes down, the right joystick is the right, the left joystick is the left. But my question was, if with the controller if we would like to go diagonally! Is it possible ?