diff --git a/srcs/juloo.keyboard2/KeyModifier.java b/srcs/juloo.keyboard2/KeyModifier.java index 0bc8e3f..a90d1c6 100644 --- a/srcs/juloo.keyboard2/KeyModifier.java +++ b/srcs/juloo.keyboard2/KeyModifier.java @@ -204,6 +204,7 @@ class KeyModifier case "!": name = "¡"; break; case "?": name = "¿"; break; case "tab": name = "\\t"; break; + case "space": name = "nbsp"; break; case "€": case "£": return removed_key; // Avoid showing these twice default: return k; } diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java index 97564a2..74d21aa 100644 --- a/srcs/juloo.keyboard2/KeyValue.java +++ b/srcs/juloo.keyboard2/KeyValue.java @@ -265,5 +265,6 @@ class KeyValue addKey("\\t", "\\t", '\t', EVENT_NONE, 0); // Send the tab character addKey("space", "\r", ' ', KeyEvent.KEYCODE_SPACE, FLAG_KEY_FONT | FLAG_SMALLER_FONT); + addKey("nbsp", "\u237d", '\u00a0', EVENT_NONE, FLAG_KEY_FONT | FLAG_SMALLER_FONT); } }