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

Hi,

Why am I getting the error in the subject line?

I am including mouse.h in the code (see code snippet below)

The application is called sketch_jun17 and is located in the following path…

C:\Program Files (x86)\Arduino\sketch_jun17a

Please help! Let me know if you need more information. Thanks so much!

/**
 * April Fools' Mouse Prank
 * Date: February 27, 2018
 * Author: Shawn Hymel (SparkFun Electronics)
 * 
 * Upload this to a SparkFun Pro Micro, and plug it into an 
 * unsuspecting computer. That's it!
 * 
 * This sketch was written by SparkFun Electronics, with lots of
 * help from the Arduino community. This code is completely free
 * for any use.
 */

#include "Mouse.h"

#define DEBUG 0

// Parameters
const int NUM_STATES = 3;             // Number of possible animations
const unsigned lon

The application is called sketch_jun17 and is located in the following path…

C:\Program Files (x86)\Arduino\sketch_jun17a

Please help! Let me know if you need more information. Thanks so much!

What board are you trying to compile for? The mouse library doesn’t work for every Arduino board.