Go Down

Topic: Compiled Code - Adruino Micro not showing as 'Game Controller'  (Read 58 times) previous topic - next topic


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:

Code: [Select]
#include <Joystick.h>

void setup()

{pinMode(A0, INPUT);

const int pinToButtonMap = A0;

void loop()

{int pot = analogRead(A0);
int mapped = map(pot,0,1023,0,255);

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 :)

Go Up