diff --git a/arduino-core/src/cc/arduino/Compiler.java b/arduino-core/src/cc/arduino/Compiler.java index 0280a8a2d5b..4b4bec021d4 100644 --- a/arduino-core/src/cc/arduino/Compiler.java +++ b/arduino-core/src/cc/arduino/Compiler.java @@ -549,12 +549,12 @@ public void message(String s) { } if (error.trim().equals("'Mouse' was not declared in this scope")) { - error = tr("'Mouse' only supported on the Arduino Leonardo"); + error = tr("'Mouse' only supported on the Arduino Leonardo, Micro and other ATmega32U4 based devices"); //msg = _("\nThe 'Mouse' class is only supported on the Arduino Leonardo.\n\n"); } if (error.trim().equals("'Keyboard' was not declared in this scope")) { - error = tr("'Keyboard' only supported on the Arduino Leonardo"); + error = tr("'Keyboard' only supported on the Arduino Leonardo, Micro and other ATmega3U4 based devices"); //msg = _("\nThe 'Keyboard' class is only supported on the Arduino Leonardo.\n\n"); }