mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-03-13 02:42:47 +01:00
Layout: Misc Tweaks
-> Adjust padding (Sides) -> Comment out PgUP/PgDn keys -> Tweak Button Sizes / Spacing Signed-off-by: jordan Johnston <johnstonljordan@gmail.com>
This commit is contained in:
parent
bdbad476e3
commit
8a200ab333
@ -1102,8 +1102,8 @@ static struct key keys_index[] = {
|
||||
};
|
||||
|
||||
static struct key keys_landscape[] = {
|
||||
{"", "", 0.041, Pad},
|
||||
{"Esc", "Esc", 1.2, Code, KEY_ESC, .scheme = 1},
|
||||
{"", "", 0.05, Pad},
|
||||
{"Esc", "Esc", 1.24, Code, KEY_ESC, .scheme = 1},
|
||||
{"F1", "F1", 1.0, Code, KEY_F1, .scheme = 1},
|
||||
{"F2", "F2", 1.0, Code, KEY_F2, .scheme = 1},
|
||||
{"F3", "F3", 1.0, Code, KEY_F3, .scheme = 1},
|
||||
@ -1116,14 +1116,14 @@ static struct key keys_landscape[] = {
|
||||
{"F10", "F10", 1.0, Code, KEY_F10, .scheme = 1},
|
||||
{"F11", "F11", 1.0, Code, KEY_F11, .scheme = 1},
|
||||
{"F12", "F12", 1.0, Code, KEY_F12, .scheme = 1},
|
||||
{"PgUp", "PgUp", 0.5, Code, KEY_PAGEUP, .scheme = 1, .scheme = 1},
|
||||
{"PgDn", "PgDn", 0.5, Code, KEY_PAGEDOWN, .scheme = 1, .scheme = 1},
|
||||
{"Del", "Del", 1.0, Code, KEY_DELETE, .scheme = 1},
|
||||
{"", "", 0.041, Pad},
|
||||
// {"PgUp", "PgUp", 0.5, Code, KEY_PAGEUP, .scheme = 1, .scheme = 1},
|
||||
// {"PgDn", "PgDn", 0.5, Code, KEY_PAGEDOWN, .scheme = 1, .scheme = 1},
|
||||
{"Del", "Del", 1.24, Code, KEY_DELETE, .scheme = 1},
|
||||
{"", "", 0.05, Pad},
|
||||
{"", "", 0.0, EndRow},
|
||||
|
||||
{"", "", 0.04, Pad},
|
||||
{"`", "~", 0.5, Code, KEY_GRAVE, .scheme = 1},
|
||||
{"", "", 0.049, Pad},
|
||||
{"`", "~", 0.54, Code, KEY_GRAVE, .scheme = 1},
|
||||
{"1", "!", 1.0, Code, KEY_1},
|
||||
{"2", "@", 1.0, Code, KEY_2},
|
||||
{"3", "#", 1.0, Code, KEY_3},
|
||||
@ -1134,14 +1134,14 @@ static struct key keys_landscape[] = {
|
||||
{"8", "*", 1.0, Code, KEY_8},
|
||||
{"9", "(", 1.0, Code, KEY_9, &layouts[ComposeBracket]},
|
||||
{"0", ")", 1.0, Code, KEY_0, &layouts[ComposeBracket]},
|
||||
{"-", "_", 0.4, Code, KEY_MINUS, &layouts[ComposeBracket]},
|
||||
{"=", "+", 0.4, Code, KEY_EQUAL, &layouts[ComposeBracket]},
|
||||
{"⌫", "⌫", 0.9, Code, KEY_BACKSPACE, .scheme = 1},
|
||||
{"", "", 0.04, Pad},
|
||||
{"-", "_", 0.54, Code, KEY_MINUS, &layouts[ComposeBracket]},
|
||||
{"=", "+", 0.54, Code, KEY_EQUAL, &layouts[ComposeBracket]},
|
||||
{"⌫", "⌫", 0.88, Code, KEY_BACKSPACE, .scheme = 1},
|
||||
{"", "", 0.049, Pad},
|
||||
{"", "", 0.0, EndRow},
|
||||
|
||||
{"", "", 0.04, Pad},
|
||||
{"Tab", "Tab", 0.8, Code, KEY_TAB, .scheme = 1},
|
||||
{"", "", 0.05, Pad},
|
||||
{"Tab", "Tab", 0.84, Code, KEY_TAB, .scheme = 1},
|
||||
{"q", "Q", 1.0, Code, KEY_Q, &layouts[Emoji]},
|
||||
{"w", "W", 1.0, Code, KEY_W, &layouts[ComposeW]},
|
||||
{"e", "E", 1.0, Code, KEY_E, &layouts[ComposeE]},
|
||||
@ -1154,11 +1154,11 @@ static struct key keys_landscape[] = {
|
||||
{"p", "P", 1.0, Code, KEY_P, &layouts[ComposeP]},
|
||||
{"[", "{", 0.468, Code, KEY_LEFTBRACE},
|
||||
{"]", "}", 0.468, Code, KEY_RIGHTBRACE},
|
||||
{"\\", "|", 0.468, Code, KEY_BACKSLASH, .scheme = 1},
|
||||
{"", "", 0.04, Pad},
|
||||
{"\\", "|", 0.54, Code, KEY_BACKSLASH, .scheme = 1},
|
||||
{"", "", 0.05, Pad},
|
||||
{"", "", 0.0, EndRow},
|
||||
|
||||
{"", "", 0.038, Pad},
|
||||
{"", "", 0.049, Pad},
|
||||
{"⌨͕", "⌨͔", 0.46, NextLayer, .scheme = 1},
|
||||
{"Caps", "Caps", 0.64, Mod, CapsLock, .scheme = 1},
|
||||
{"a", "A", 1.0, Code, KEY_A, &layouts[ComposeA]},
|
||||
@ -1173,10 +1173,10 @@ static struct key keys_landscape[] = {
|
||||
{";", ":", 0.468, Code, KEY_SEMICOLON},
|
||||
{"'", "''", 0.468, Code, KEY_APOSTROPHE, &layouts[ComposeBracket]},
|
||||
{"Enter", "Enter", 0.84, Code, KEY_ENTER, .scheme = 1},
|
||||
{"", "", 0.038, Pad},
|
||||
{"", "", 0.049, Pad},
|
||||
{"", "", 0.0, EndRow},
|
||||
|
||||
{"", "", 0.035, Pad},
|
||||
{"", "", 0.046, Pad},
|
||||
{"<>", "<>", 0.44, Layout, 0, &layouts[Special], .scheme = 1},
|
||||
{"⇧", "⇫", 0.9, Mod, Shift, .scheme = 1},
|
||||
{"z", "Z", 1.0, Code, KEY_Z, &layouts[ComposeZ]},
|
||||
@ -1191,10 +1191,10 @@ static struct key keys_landscape[] = {
|
||||
{"/", "?", 0.46, Code, KEY_SLASH},
|
||||
{"↑", "↑", 0.8, Code, KEY_UP, .scheme = 1},
|
||||
{"Cmp", "Cmp", 0.8, Compose, .scheme = 1},
|
||||
{"", "", 0.035, Pad},
|
||||
{"", "", 0.046, Pad},
|
||||
{"", "", 0.0, EndRow},
|
||||
|
||||
{"", "", 0.027, Pad},
|
||||
{"", "", 0.037, Pad},
|
||||
{"Ctr", "Ctr", 0.4, Mod, Ctrl, .scheme = 1},
|
||||
{"Sup", "Sup", 0.4, Mod, Super, .scheme = 1},
|
||||
{"Alt", "Alt", 0.4, Mod, Alt, .scheme = 1},
|
||||
@ -1202,13 +1202,13 @@ static struct key keys_landscape[] = {
|
||||
{"←", "←", 0.63, Code, KEY_LEFT, .scheme = 1},
|
||||
{"↓", "↓", 0.63, Code, KEY_DOWN, .scheme = 1},
|
||||
{"→", "→", 0.63, Code, KEY_RIGHT, .scheme = 1},
|
||||
{"", "", 0.027, Pad},
|
||||
{"", "", 0.037, Pad},
|
||||
/* end of layout */
|
||||
{"", "", 0.0, Last},
|
||||
};
|
||||
|
||||
static struct key keys_landscape_special[] = {
|
||||
{"", "", 0.04, Pad},
|
||||
{"", "", 0.05, Pad},
|
||||
{"Esc", "Esc", 1.0, Code, KEY_ESC, .scheme = 1},
|
||||
{"", "", 0.5, Pad, .scheme = 1},
|
||||
{"1", "!", 1.0, Code, KEY_1},
|
||||
@ -1223,10 +1223,10 @@ static struct key keys_landscape_special[] = {
|
||||
{"0", ")", 1.0, Code, KEY_0, &layouts[ComposeBracket]},
|
||||
{"", "", 0.5, Pad, .scheme = 1},
|
||||
{"Tab", "Tab", 1.0, Code, KEY_TAB, .scheme = 1},
|
||||
{"", "", 0.04, Pad},
|
||||
{"", "", 0.05, Pad},
|
||||
{"", "", 0.0, EndRow},
|
||||
|
||||
{"", "", 0.04, Pad},
|
||||
{"", "", 0.05, Pad},
|
||||
{"⇈", "⇈", 1.0, Code, KEY_PAGEUP, .scheme = 1},
|
||||
{"⇊", "⇊", 1.0, Code, KEY_PAGEDOWN, .scheme = 1},
|
||||
{"CpL", "CpL", 1.0, Mod, CapsLock, .scheme = 1},
|
||||
@ -1240,10 +1240,10 @@ static struct key keys_landscape_special[] = {
|
||||
{"\\", "|", 1.0, Code, KEY_BACKSLASH},
|
||||
{"/", ">", 1.0, Code, KEY_SLASH},
|
||||
{"Del", "Del", 1.0, Code, KEY_DELETE, .scheme = 1},
|
||||
{"", "", 0.04, Pad},
|
||||
{"", "", 0.05, Pad},
|
||||
{"", "", 0.0, EndRow},
|
||||
|
||||
{"", "", 0.04, Pad},
|
||||
{"", "", 0.05, Pad},
|
||||
{"⇤", "⇤", 1.0, Code, KEY_HOME, .scheme = 1},
|
||||
{"⇥", "⇥", 1.0, Code, KEY_END, .scheme = 1},
|
||||
{"⇧", "⇫", 2.0, Mod, Shift, .scheme = 1},
|
||||
@ -1256,10 +1256,10 @@ static struct key keys_landscape_special[] = {
|
||||
{"/", ">", 1.0, Code, KEY_SLASH},
|
||||
{"", "", 0.5, Pad, .scheme = 1},
|
||||
{"⌫", "⌫", 1.5, Code, KEY_BACKSPACE, .scheme = 1},
|
||||
{"", "", 0.04, Pad},
|
||||
{"", "", 0.05, Pad},
|
||||
{"", "", 0.0, EndRow},
|
||||
|
||||
{"", "", 0.04, Pad},
|
||||
{"", "", 0.05, Pad},
|
||||
{"Abc", "Abc", 1.0, BackLayer, .scheme = 1},
|
||||
{"⌨͕", "⌨͔", 1.0, NextLayer, .scheme = 1},
|
||||
{"Ctr", "Ctr", 1.0, Mod, Ctrl, .scheme = 1},
|
||||
@ -1268,7 +1268,7 @@ static struct key keys_landscape_special[] = {
|
||||
{"Alt", "Alt", 1.0, Mod, Alt, .scheme = 1},
|
||||
{"AGr", "AGr", 1.0, Mod, AltGr, .scheme = 1},
|
||||
{"Enter", "Enter", 2.0, Code, KEY_ENTER, .scheme = 1},
|
||||
{"", "", 0.04, Pad},
|
||||
{"", "", 0.05, Pad},
|
||||
|
||||
/* end of layout */
|
||||
{"", "", 0.0, Last},
|
||||
|
Loading…
x
Reference in New Issue
Block a user