~hallyn/svkbd

svkbd/layout.arrows.h -rw-r--r-- 475 bytes
ac605be8Serge Hallyn add colon next to backspace on main keyboard 1 year, 1 month ago
                                                                                
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
#define KEYS 6
static Key keys_arrows[] = {
	{ 0, XK_Shift_L, 2 },
	{ "←", XK_Left, 1 },
	{ "↓", XK_Down, 1 },
	{ "↑", XK_Up, 1 },
	{ "→", XK_Right, 1},
	{ "Alt", XK_Alt_L, 2 },
};

Buttonmod buttonmods[] = {
	{ XK_Shift_L, Button2 },
	{ XK_Alt_L, Button3 },
};

#define OVERLAYS 1
static Key overlay[OVERLAYS] = {
		{ 0, XK_Cancel },
};

#define LAYERS 1
static char* layer_names[LAYERS] = {
	"arrows",
};

static Key* available_layers[LAYERS] = {
	keys_arrows,
};