commit 549125161040ca8a43cd4fb7875260e94fe4e2ff
Author: Maarten van Gompel <[email protected]>
AuthorDate: Sun Jun 13 22:28:01 2021 +0200
Commit: Hiltjo Posthuma <[email protected]>
CommitDate: Sun Jun 13 23:15:46 2021 +0200
added an additional minimal mobile layer
diff --git a/layout.mobile-intl.h b/layout.mobile-intl.h
index b454abb..b581592 100644
--- a/layout.mobile-intl.h
+++ b/layout.mobile-intl.h
@@ -16,7 +16,7 @@ static Key keys_en[KEYS] = {
{ 0 }, /* New row */
- { "â¹", 0, XK_Tab, 0.5 },
+ { "â¹", 0, XK_Tab, 0.75 },
{ 0, 0, XK_q, 1 },
{ 0, 0, XK_w, 1 },
{ 0, 0, XK_e, 1 },
@@ -27,7 +27,7 @@ static Key keys_en[KEYS] = {
{ 0, 0, XK_i, 1 },
{ 0, 0, XK_o, 1 },
{ 0, 0, XK_p, 1 },
- { "/", "?", XK_slash, 1 },
+ { "/", "?", XK_slash, .75 },
{ 0 }, /* New row */
@@ -67,6 +67,52 @@ static Key keys_en[KEYS] = {
{ "â² Enter", 0, XK_Return, 2 },
};
+static Key keys_minimal[KEYS] = {
+ { 0, 0, XK_q, 1 },
+ { 0, 0, XK_w, 1 },
+ { 0, 0, XK_e, 1 },
+ { 0, 0, XK_r, 1 },
+ { 0, 0, XK_t, 1 },
+ { 0, 0, XK_y, 1 },
+ { 0, 0, XK_u, 1 },
+ { 0, 0, XK_i, 1 },
+ { 0, 0, XK_o, 1 },
+ { 0, 0, XK_p, 1 },
+
+ { 0 }, /* New row */
+
+ { 0, 0, XK_a, 1 },
+ { 0, 0, XK_s, 1 },
+ { 0, 0, XK_d, 1 },
+ { 0, 0, XK_f, 1 },
+ { 0, 0, XK_g, 1 },
+ { 0, 0, XK_h, 1 },
+ { 0, 0, XK_j, 1 },
+ { 0, 0, XK_k, 1 },
+ { 0, 0, XK_l, 1 },
+
+ { 0 }, /* New row */
+
+ { "â§", 0, XK_Shift_L, 1.5 },
+ { 0, 0, XK_z, 1 },
+ { 0, 0, XK_x, 1 },
+ { 0, 0, XK_c, 1 },
+ { 0, 0, XK_v, 1 },
+ { 0, 0, XK_b, 1 },
+ { 0, 0, XK_n, 1 },
+ { 0, 0, XK_m, 1 },
+ { "â«", 0, XK_BackSpace, 1.5 },
+
+ { 0 }, /* New row */
+
+ { "âº", 0, XK_Cancel, 1},
+ { "'", "\"", XK_apostrophe, 1 },
+ { ",", "<", XK_comma, 1 },
+ { "", 0, XK_space, 4 },
+ { ".", ">", XK_period, 1 },
+ { "â² Enter", 0, XK_Return, 2 },
+};
+
#define OVERLAYS 197
static Key overlay[OVERLAYS] = {
{ 0, 0, XK_a }, //Overlay for a
@@ -550,12 +596,13 @@ static Key keys_dialer[KEYS] = {
{ 0 }, /* Last item (double 0) */
};
-#define LAYERS 5
+#define LAYERS 6
static char* layer_names[LAYERS] = {
"en",
"symbols",
"navigation",
"dialer",
+ "minimal",
"ru",
};
@@ -564,6 +611,7 @@ static Key* available_layers[LAYERS] = {
keys_symbols,
keys_navigation,
keys_dialer,
+ keys_minimal,
keys_ru
};