diff --git a/srcs/juloo.keyboard2/KeyModifier.java b/srcs/juloo.keyboard2/KeyModifier.java index 4d8d9c5..0837434 100644 --- a/srcs/juloo.keyboard2/KeyModifier.java +++ b/srcs/juloo.keyboard2/KeyModifier.java @@ -193,6 +193,7 @@ class KeyModifier case "$": name = "€"; break; case "#": name = "£"; break; case "*": name = "°"; break; + case "tab": name = "\\t"; break; default: return k; } return KeyValue.getKeyByName(name); diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java index 5dfd89a..7addcb2 100644 --- a/srcs/juloo.keyboard2/KeyValue.java +++ b/srcs/juloo.keyboard2/KeyValue.java @@ -248,6 +248,7 @@ class KeyValue addEventKey("f10", "F10", KeyEvent.KEYCODE_F10); addEventKey("tab", "↹", KeyEvent.KEYCODE_TAB); + addKey("\\t", "\\t", '\t', EVENT_NONE, 0); // Send the tab character addKey("space", " ", ' ', KeyEvent.KEYCODE_SPACE, 0); } }