diff options
author | Sven Gothel <[email protected]> | 2012-09-16 21:13:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-09-16 21:13:51 +0200 |
commit | 646714d3dab87396b9a3119bf90ca26e0b1c97ce (patch) | |
tree | 678209f657c5f3bfa29e54c171565488a15f9951 /.project | |
parent | f2bd50ff25009de477a203460abe8a5597acdbc5 (diff) |
Fix Bug 601: Harmonize order of key events incl. auto-repeat and adding AUTOREPEAT_MASK modifier bit. Refine InputEvent toString(..) and list modifiers by name.
As now described in NEWT's KeyEvent:
+/**
+ * Key events are delivered in the following order:
+ * <ol>
+ * <li>{@link #EVENT_KEY_PRESSED}</li>
+ * <li>{@link #EVENT_KEY_RELEASED}</li>
+ * <li>{@link #EVENT_KEY_TYPED}</li>
+ * </ol>
+ * In case the native platform does not
+ * deliver keyboard events in the above order or skip events,
+ * the NEWT driver will reorder and inject synthetic events if required.
+ * <p>
+ * Besides regular modifiers like {@link InputEvent##SHIFT_MASK} etc.,
+ * the {@link InputEvent#AUTOREPEAT_MASK} bit is added if repetition is detected.
+ * </p>
+ */
Diffstat (limited to '.project')
0 files changed, 0 insertions, 0 deletions