From 95acb49309a3fb8e3cff4eb5798cb4d23765fe5b Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 14 Oct 2015 22:49:14 -0700 Subject: [PATCH] Mouse and Keyboard are supported on the Micro The new Mouse and Keyboard error messages were inaccurate and misleading. --- arduino-core/src/cc/arduino/Compiler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); }