From f5af9b34a01d00d23160db349396ee0521f5ed46 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Thu, 25 Jul 2024 04:13:44 +0200 Subject: [PATCH] Add UNKNOWN and SPACE key --- .../sosengine/graphics/types/input/Key.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/types/input/Key.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/types/input/Key.java index 71ba7bf..9cd5977 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/types/input/Key.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/types/input/Key.java @@ -27,6 +27,13 @@ package de.staropensource.sosengine.graphics.types.input; */ @SuppressWarnings({ "unused" }) public enum Key { + /** + * An unknown key. + * + * @since v1-alpha2 + */ + UNKNOWN, + /** * The left mouse button. * @@ -732,6 +739,12 @@ public enum Key { * @since v1-alpha2 */ SLASH, + /** + * The {@code ENTER} key. + * + * @since v1-alpha2 + */ + SPACE, /** * The {@code TAB} key. *