NicoHood/HID

Can't create a gamepad instance

Closed this issue · 1 comments

Arduino: 1.8.5 (Windows 8.1), Board: "Arduino/Genuino Uno"

C:\Users\raymond\AppData\Local\Temp\arduino_modified_sketch_204102\Keyboard.ino: In function 'void setup()':

Keyboard:27: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
   Keyboard.begin();

   ^

C:\Users\raymond\AppData\Local\Temp\arduino_modified_sketch_204102\Keyboard.ino: In function 'void loop()':

Keyboard:36: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
     Keyboard.println("This message was sent with my Arduino.");

     ^

Multiple libraries were found for "HID.h"
 Used: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\HID
 Not used: C:\Users\raymond\Documents\Arduino\libraries\hid
exit status 1
'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I got past an issue where it would use the default library instead by replacing it.
But know I run into this,,,

The Arduino Uno/328 does not support HID. You need to use the 16u2 or a 32u4 board.