From 86655d495913d16ced4c2bab489dcec50cdeb4a0 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Wed, 22 Dec 2021 20:40:39 +0100 Subject: [PATCH] Always send the keycode for the tab key Don't write the tab character and always send the keycode, which is most probably handled by applications. --- srcs/juloo.keyboard2/KeyValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java index fee6723..4dd4242 100644 --- a/srcs/juloo.keyboard2/KeyValue.java +++ b/srcs/juloo.keyboard2/KeyValue.java @@ -221,8 +221,8 @@ class KeyValue addEventKey("f8", "F8", KeyEvent.KEYCODE_F8); addEventKey("f9", "F9", KeyEvent.KEYCODE_F9); addEventKey("f10", "F10", KeyEvent.KEYCODE_F10); + addEventKey("tab", "↹", KeyEvent.KEYCODE_TAB); - addKey("tab", "↹", '\t', KeyEvent.KEYCODE_TAB, 0); addKey("space", " ", ' ', KeyEvent.KEYCODE_SPACE, 0); } }