Help with video game controller using rotary encoder on the Arduino Leonardo

Thank you for the info. I will make the necessary modifications when I get home.