Avoid showing some symbols twice in Fn mode

This commit is contained in:
Jules Aguillon
2022-03-13 00:35:15 +01:00
parent ee6e892ef4
commit a57bdf8cfb
3 changed files with 25 additions and 27 deletions

View File

@@ -14,6 +14,8 @@ class KeyEventHandler implements Config.IKeyEventHandler
public void handleKeyUp(KeyValue key, int flags)
{
key = KeyModifier.handleFlags(key, flags);
if (key == null || (key.flags & KeyValue.FLAG_NOCHAR) != 0)
return;
switch (key.eventCode)
{
case KeyValue.EVENT_CONFIG: _recv.showKeyboardConfig(); return;