Hi, just installed Arduino IDE on macOS 12 (Sierra) and started it, letting the program use it's default sketches location (/Users//Documents/Arduino) , not changing anything.
When I try the USB-examples using Keyboard and Mouse they won't compile:
'Mouse' not found. Does your sketch include the line '#include <Mouse.h>'?
'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Both files already had #include "Mouse.h", #include "Keyboard.h" and changing to brackets made no difference.
Another of the examples like "Autoscroll" whith #include <LiquidCrystal.h> compiles. So there's no general error on #include paths.
If I look inside Arduino.app both Mouse.h and Keyboard.h are there (as well as LiquidCrystal.h). If I look at "Manage Libraries" both Keyboard and Mouse are installed (it even says "built in").
So why doesn't the compiler find them?
If I open the .h files both the problematic libraries has this statement, which is not present in the example that compiles:
#ifndef MOUSE_h
#define MOUSE_h
#include "HID.h"
#if !defined(_USING_HID)
#warning "Using legacy HID core (non pluggable)"
#else
Not the inclusion of a file named "HID.h". I can not see this headerfile in the preloaded libraies and I can't find it using Manage Libraries either. Could this be the problem and what can be done?