File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
arduino-core/src/cc/arduino Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -549,12 +549,12 @@ public void message(String s) {
549
549
}
550
550
551
551
if (error .trim ().equals ("'Mouse' was not declared in this scope" )) {
552
- error = tr ("'Mouse' only supported on the Arduino Leonardo " );
552
+ error = tr ("'Mouse' not found. Does your sketch include the line '#include <Mouse.h>'? " );
553
553
//msg = _("\nThe 'Mouse' class is only supported on the Arduino Leonardo.\n\n");
554
554
}
555
555
556
556
if (error .trim ().equals ("'Keyboard' was not declared in this scope" )) {
557
- error = tr ("'Keyboard' only supported on the Arduino Leonardo " );
557
+ error = tr ("'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'? " );
558
558
//msg = _("\nThe 'Keyboard' class is only supported on the Arduino Leonardo.\n\n");
559
559
}
560
560
You can’t perform that action at this time.
0 commit comments