Adds numbers layout

This will be used in the dialer
master
Jonathan Hodgson 4 years ago
parent 440d08a0fd
commit 2a8d7b503f
  1. 1
      .gitignore
  2. 30
      layout.numbers.h

1
.gitignore vendored

@ -1,4 +1,5 @@
config.h
layout.h
svkbd-colemak
svkbd-numbers
svkbd-sxmo

@ -0,0 +1,30 @@
static Key keys[18] = { NULL };
static Key keys_en[18] = {
{ "1", XK_1, 1 },
{ "2", XK_2, 1 },
{ "3", XK_3, 1 },
{ 0 }, /* New row */
{ "4", XK_4, 1 },
{ "5", XK_5, 1 },
{ "6", XK_6, 1 },
{ 0 }, /* New row */
{ "7", XK_7, 1 },
{ "8", XK_8, 1 },
{ "9", XK_9, 1 },
{ 0 }, /* New row */
{ "*", XK_KP_Multiply, 1 },
{ "0", XK_0, 1 },
{ "#", XK_numbersign, 1 },
{ 0 }, /* New row */
{ "", XK_BackSpace, 1 },
{ "", XK_Return, 2 }
};
static Key keys_symbols[18] = {
};
Buttonmod buttonmods[] = {
{ XK_Shift_L, Button2 },
{ XK_Alt_L, Button3 },
};
Loading…
Cancel
Save