Compiled Code - Adruino Micro not showing as 'Game Controller'

Hey All.

I need some help.
I'm a noob trying and having some issues with my diy handbrake using adruino board.

I followed this youtube video to do my own handbrake.

I bought the following board:

I compiled the following code to it:

#include <Joystick.h>

void setup()

{pinMode(A0, INPUT); 
   Joystick.begin();}

const int pinToButtonMap = A0;

void loop()

{int pot = analogRead(A0);
int mapped = map(pot,0,1023,0,255);
{Joystick.setThrottle(mapped);}}

When I go to Devices and Printers - the Adruino Micro is not displayed as a Game Controller and not allowing me to access Game Properties.

Can Someone help? Not sure what I did wrong.

Appreciate it.

Thanks :slight_smile:

Untitled.png