Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Need help running alduino badusb scripts

so pasted this script into my arduino rubber ducky software. But i keep getting error messages like:

'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?

and:

sketch_may05a:35: error: 'KEY_RETURN' was not declared in this scope

wtf help me HF?
I think this would do better here: IoT, Embedded Systems, Electronics, Gadgets, and DIY
Can you hear my weed?


cuz it's loud
Keyboard.h (and Mouse.h) only works on devices that use the ATmega32u4 processor, like the Leonardo or Micro. See: https://www.arduino.cc/en/Reference/MouseKeyboard. Keyboard.h is built into the IDE. It is not a library you install so it might be your processor, but I would suggest removing it and seeing what happens.

Spoiler (Click to View)
(May 5, 2017 04:54 PM)ℭorruption Wrote:  Keyboard.h (and Mouse.h) only works on devices that use the ATmega32u4 processor, like the Leonardo or Micro. See: https://www.arduino.cc/en/Reference/MouseKeyboard. Keyboard.h is built into the IDE. It is not a library you install so it might be your processor, but I would suggest removing it and seeing what happens.

Spoiler (Click to View)

thanks


Possibly Related Threads...
Thread / Author Replies Views Last Post
by MattleproApr 18, 2026 10:48 PM 4 153 Apr 18, 2026 10:48 PM
Last Post: Mattlepro
by SIM-3429335Dec 28, 2018 03:30 AM 4 179 Dec 28, 2018 03:30 AM
Last Post: Asdethprime
by JoshuaHotchinAug 6, 2017 12:52 PM 5 185 Aug 6, 2017 12:52 PM
Last Post: THC