--- /dev/null
+package lejos.devices;\r
+// package lejos.devices; // UNCOMMENT\r
+\r
+/**\r
+ * This interface is for classes that wish to receive keyboard events.\r
+ *\r
+ * @author BB\r
+ * @see Keyboard\r
+ * @see KeyEvent\r
+ * @since 0.6\r
+ */\r
+public interface KeyListener {\r
+ /**\r
+ * This method is called when a key is typed. A key is considered typed\r
+ * when it and all modifiers have been pressed and released, mapping to\r
+ * a single virtual key.\r
+ *\r
+ * @param event the <code>KeyEvent</code> indicating that a key was typed\r
+ */\r
+ void keyTyped(KeyEvent event);\r
+\r
+ /**\r
+ * This method is called when a key is pressed.\r
+ *\r
+ * @param event the <code>KeyEvent</code> indicating the key press\r
+ */\r
+ void keyPressed(KeyEvent event);\r
+\r
+ /**\r
+ * This method is called when a key is released.\r
+ *\r
+ * @param event the <code>KeyEvent</code> indicating the key release\r
+ */\r
+ void keyReleased(KeyEvent event);\r
+}
\ No newline at end of file