rosenrot/keyconf.h
2022-05-16 15:47:41 +02:00

52 lines
656 B
C

#pragma once
#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
#include <stdbool.h>
#define ALTKEY GDK_ALT_MASK
#define MODKEY GDK_CONTROL_MASK
#define MODSFT 5
#define NOMODK 0
#define CACHE 0
#define HOMEPAGE 1
#define DEFAULT 0
#define HEIGHT 0
#define WIDTH 1
#define DARKMODE 2
#define SCROLLBARS 3
typedef struct {
unsigned modkey;
unsigned keycod;
unsigned funcid;
} Key;
enum {
goback,
goforward,
copy_url,
paste_url,
fullscreen,
inspector,
search,
find,
findnext,
findprev,
zoomin,
zoomout,
zoomreset,
down,
up,
reload,
reloadforce,
history,
gotop,
gobottom,
tabnext,
tabprev
};