File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
app/src/processing/app/debug Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -503,6 +503,16 @@ public void message(String s) {
503
503
"to Wire.read() for consistency with other libraries.\n \n " );
504
504
}
505
505
506
+ if (pieces [3 ].trim ().equals ("'Mouse' was not declared in this scope" )) {
507
+ error = _ ("'Mouse' only supported on the Arduino Leonardo" );
508
+ //msg = _("\nThe 'Mouse' class is only supported on the Arduino Leonardo.\n\n");
509
+ }
510
+
511
+ if (pieces [3 ].trim ().equals ("'Keyboard' was not declared in this scope" )) {
512
+ error = _ ("'Keyboard' only supported on the Arduino Leonardo" );
513
+ //msg = _("\nThe 'Keyboard' class is only supported on the Arduino Leonardo.\n\n");
514
+ }
515
+
506
516
RunnerException e = sketch .placeException (error , pieces [1 ], PApplet .parseInt (pieces [2 ]) - 1 );
507
517
508
518
// replace full file path with the name of the sketch tab (unless we're
You can’t perform that action at this time.
0 commit comments