Dukweeno / Duckuino

Simple DuckyScript to Arduino C converter.
https://dukweeno.github.io/Duckuino/
MIT License
353 stars 117 forks source link

Keyboard not fount #103

Closed Berufswahlparcour closed 4 years ago

Berufswahlparcour commented 4 years ago

Are you using the live version that could be found here ?

What type of issue is it ?

Describe your problem here :D

Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\hohoh\Documents\Arduino\sketch_oct24a\sketch_oct24a.ino:5:0:

C:\Program Files (x86)\Arduino\libraries\Keyboard\src/Keyboard.h:29:2: warning: #warning "Using legacy HID core (non pluggable)" [-Wcpp]

warning "Using legacy HID core (non pluggable)"

^~~

C:\Users\hohoh\Documents\Arduino\sketch_oct24a\sketch_oct24a.ino: In function 'void typeKey(int)':

sketch_oct24a:9:3: error: 'Keyboard' not found. Does your sketch include the line '#include '? Keyboard.press(key);

^~~~

C:\Users\hohoh\Documents\Arduino\sketch_oct24a\sketch_oct24a.ino: In function 'void setup()':

sketch_oct24a:18:3: error: 'Keyboard' not found. Does your sketch include the line '#include '? Keyboard.begin();

^~~~

sketch_oct24a:25:18: error: 'KEY_LEFT_CTRL' was not declared in this scope

Keyboard.press(KEY_LEFT_CTRL);

              ^~~~~~~~~~~~~

sketch_oct24a:26:18: error: 'KEY_LEFT_ESC' was not declared in this scope

Keyboard.press(KEY_LEFT_ESC);

              ^~~~~~~~~~~~

sketch_oct24a:35:11: error: 'KEY_RETURN' was not declared in this scope

typeKey(KEY_RETURN);

       ^~~~~~~~~~

sketch_oct24a:39:11: error: 'KEY_TAB' was not declared in this scope

typeKey(KEY_TAB);

       ^~~~~~~

sketch_oct24a:59:18: error: 'KEY_LEFT_ALT' was not declared in this scope

Keyboard.press(KEY_LEFT_ALT);

              ^~~~~~~~~~~~

Multiple libraries were found for "Keyboard.h" Used: C:\Program Multiple libraries were found for "HID.h" Used: C:\Program exit status 1 'Keyboard' not found. Does your sketch include the line '#include '?

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

lowlevl commented 4 years ago

Could you provide the .zip Duckuino produced ?

lowlevl commented 4 years ago

Also you can't use Arduino Uno with this project !!

Berufswahlparcour commented 4 years ago

Okay i set the wrong Arduino