aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
blob: c4ffb2ea1be438b1210a25b751f49f8d9aa3f233 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include "keymap.h"
#include "keycode.h"
#include "keysym_de.h"
#include "board.h"
#include "util.h"

#define KEYMAP( \
		K11, K12, K13, K14, K15, K16, \
		K21, K22, K23, K24, K25, K26, \
		K31, K32, K33, K34, K35, K36, \
		               K44, K45, K46, \
		K51, K52, K53, K54, K55, K56, \
		K61, K62, K63, K64, K65, K66, \
		K71, K72, K73, K74, K75, K76, \
		K81, K82, K83 \
	) { \
		K11, K12, K13, K14, K15, K16, \
		K21, K22, K23, K24, K25, K26, \
		K31, K32, K33, K34, K35, K36, \
		0x0, 0x0, 0x0, K44, K45, K46, \
		K51, K52, K53, K54, K55, K56, \
		K61, K62, K63, K64, K65, K66, \
		K71, K72, K73, K74, K75, K76, \
		K81, K82, K83, 0x0, 0x0, 0x0, \
	}

enum {
	BA /* BASE */
};

static const uint32_t layer_base_de[] = KEYMAP(
	_______, DE_Q   , DE_W   , DE_F   , DE_P   , DE_B   ,
	_______, DE_A   , DE_R   , DE_S   , DE_T   , DE_G   ,
	_______, DE_Z   , DE_X   , DE_C   , DE_D   , DE_V   ,
	                           KC_LGUI, KC_LALT, _______,

	DE_J   , DE_L   , DE_U   , DE_Y   , DE_QUOT, _______,
	DE_M   , DE_N   , DE_E   , DE_I   , DE_O   , _______,
	DE_K   , DE_H   , DE_COMM, DE_DOT , DE_MINS, _______,
	_______, KC_SPC , KC_LCTL
);

const uint32_t *keymap_layers_de[] = {
	[BA] = layer_base_de
};
const uint32_t keymap_layers_de_count = ARRLEN(keymap_layers_de);