This code has been used on an Arduino Pro Micro to emulate a joystick with 2 axis with a rotary encoder.
To query the rotary encoder, the Encoder library was used. For the joystick handling, the arduino Joystick library was used (Joystick.h).
This code has been used on an Arduino Pro Micro to emulate a joystick with 2 axis with a rotary encoder.
To query the rotary encoder, the Encoder library was used. For the joystick handling, the arduino Joystick library was used (Joystick.h).