Fn+Tab to send the tab character

This commit is contained in:
Jules Aguillon 2022-01-29 20:03:17 +01:00
parent 4333575bb9
commit 7af579a1bc
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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);
}
}