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) {
549549 }
550550
551551 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>'? " );
553553 //msg = _("\nThe 'Mouse' class is only supported on the Arduino Leonardo.\n\n");
554554 }
555555
556556 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>'? " );
558558 //msg = _("\nThe 'Keyboard' class is only supported on the Arduino Leonardo.\n\n");
559559 }
560560
You can’t perform that action at this time.
0 commit comments