Add name to layout struct
This commit is contained in:
parent
aebc90ccd4
commit
aa74bcf04f
7 changed files with 16 additions and 2 deletions
|
|
@ -347,11 +347,13 @@ const int sq2lv_num_layouts = 2;
|
|||
const sq2lv_layout_t sq2lv_layouts[] = {
|
||||
/* US English */
|
||||
{
|
||||
.name = name_us,
|
||||
.num_layers = num_layers_us,
|
||||
.layers = layers_us
|
||||
},
|
||||
/* German */
|
||||
{
|
||||
.name = name_de,
|
||||
.num_layers = num_layers_de,
|
||||
.layers = layers_de
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ typedef struct {
|
|||
|
||||
/* Layout type */
|
||||
typedef struct {
|
||||
/* Layout name */
|
||||
const char * const name;
|
||||
/* Total number of layers */
|
||||
const int num_layers;
|
||||
/* Layers array */
|
||||
|
|
|
|||
|
|
@ -255,6 +255,7 @@ const int sq2lv_num_layouts = 1;
|
|||
const sq2lv_layout_t sq2lv_layouts[] = {
|
||||
/* US English (Terminal) */
|
||||
{
|
||||
.name = name_terminal_us,
|
||||
.num_layers = num_layers_terminal_us,
|
||||
.layers = layers_terminal_us
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,6 +44,8 @@ typedef struct {
|
|||
|
||||
/* Layout type */
|
||||
typedef struct {
|
||||
/* Layout name */
|
||||
const char * const name;
|
||||
/* Total number of layers */
|
||||
const int num_layers;
|
||||
/* Layers array */
|
||||
|
|
|
|||
|
|
@ -158,6 +158,7 @@ const int sq2lv_num_layouts = 1;
|
|||
const sq2lv_layout_t sq2lv_layouts[] = {
|
||||
/* US English */
|
||||
{
|
||||
.name = name_us,
|
||||
.num_layers = num_layers_us,
|
||||
.layers = layers_us
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@ typedef struct {
|
|||
|
||||
/* Layout type */
|
||||
typedef struct {
|
||||
/* Layout name */
|
||||
const char * const name;
|
||||
/* Total number of layers */
|
||||
const int num_layers;
|
||||
/* Layers array */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue