1
0
mirror of git://git.suckless.org/svkbd synced 2025-02-16 10:36:57 +00:00
svkbd/layout.arrows.h
Hiltjo Posthuma fd01322564 adjust other layouts for the second label change
From the commit:

	commit d06db9eb4f
	Author: Maarten van Gompel <proycon@anaproy.nl>
	Date:   Sat Mar 6 16:30:44 2021 +0100

	    Added a second key label for the shift-activated symbols
2021-07-03 11:30:53 +02:00

30 lines
495 B
C

#define KEYS 6
static Key keys_arrows[] = {
{ 0, 0, XK_Shift_L, 2 },
{ "", 0, XK_Left, 1 },
{ "", 0, XK_Down, 1 },
{ "", 0, XK_Up, 1 },
{ "", 0, XK_Right, 1},
{ "Alt", 0, XK_Alt_L, 2 },
};
Buttonmod buttonmods[] = {
{ XK_Shift_L, Button2 },
{ XK_Alt_L, Button3 },
};
#define OVERLAYS 1
static Key overlay[OVERLAYS] = {
{ 0, 0, XK_Cancel },
};
#define LAYERS 1
static char* layer_names[LAYERS] = {
"arrows",
};
static Key* available_layers[LAYERS] = {
keys_arrows,
};