added tab key to common compose layouts

This commit is contained in:
Maarten van Gompel 2023-08-27 18:36:44 +02:00
parent 68ea69944d
commit 8bffc1adc3

View File

@ -1701,7 +1701,8 @@ static struct key keys_compose_math[] = {
{"9", "(", 1.0, Code, KEY_9},
{"0", ")", 1.0, Code, KEY_0},
{"", "", 0.0, EndRow},
{"", "", 10.0, Pad},
{"Tab", "Tab", 1.0, Code, KEY_TAB},
{"", "", 9.0, Pad},
{"", "", 0.0, EndRow},
{"", "", 2, Mod, Shift, .scheme = 1},
{"+", "+", 1, Code, KEY_EQUAL, 0, Shift},
@ -1733,7 +1734,8 @@ static struct key keys_compose_punctuation[] = {
{"9", "(", 1.0, Code, KEY_9},
{"0", ")", 1.0, Code, KEY_0},
{"", "", 0.0, EndRow},
{"", "", 10.0, Pad},
{"Tab", "Tab", 1.0, Code, KEY_TAB},
{"", "", 9.0, Pad},
{"", "", 0.0, EndRow},
{"", "", 2, Mod, Shift, .scheme = 1},
{"", "", 1, Copy, 0x2026, 0, 0x2026},
@ -1761,7 +1763,8 @@ static struct key keys_compose_bracket[] = {
{"[", "[", 1, Code, KEY_LEFTBRACE},
{"]", "]", 1, Code, KEY_RIGHTBRACE},
{"", "", 0, EndRow},
{"", "", 5, Pad},
{"Tab", "Tab", 1.0, Code, KEY_TAB},
{"", "", 4, Pad},
{"<", "<", 1, Code, KEY_COMMA, 0, AltGr},
{">", ">", 1, Code, KEY_SLASH, 0, Shift},
{"`", "`", 1, Code, KEY_GRAVE},