Posted on 3 Comments

How To Enable or Disable Analog Stick Support for the Game Boy Controller v2.1 / Pro Micro

Copy the code at Arduino: USB Gamepad and set the variable ENABLE_ANALOG1 to:

  1.  true to enable Analog Stick support.
  2. false to disable Analog Stick support.

Code works with the latest Arduino IDE 1.8.5.

Follow the tutorial I made on How To Program the Pro Micro with Arduino.

 

3 thoughts on “How To Enable or Disable Analog Stick Support for the Game Boy Controller v2.1 / Pro Micro

  1. Hi,

    Can i use this code if i want to use 2 analog sticks?

    #include

    #define PINS 14
    #define ENABLE_ANALOG2 true
    int X1 = A0;
    int Y1 = A1;
    int X2 = A2;
    int Y2 = A2;

    Because it’s giving a error on the code.
    Thanks in advance, F

    1. Which code is it?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.