summaryrefslogtreecommitdiff
path: root/src/defs.h
diff options
context:
space:
mode:
authorAbhinav Prasai <abhinav.prsai@gmail.com>2025-08-29 13:22:39 +0100
committerAbhinav Prasai <abhinav.prsai@gmail.com>2025-08-29 13:22:39 +0100
commit495d9dca7d549c6ab2b3d6173a42f0bcd21feb29 (patch)
treedcc19dcd95c44bea5347391769ddd203d8de4bb4 /src/defs.h
parent6962146b747e449e7281b6c6acda0a32fb1ff453 (diff)
allow custom layouts + other changes vvv
* remove config.h * improve modifier mask cleaning * use keycode instead of sym when dealing with bindings * put <linux/limits.h> into ifdef __linux__
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defs.h b/src/defs.h
index e263789..27d16fd 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -66,6 +66,7 @@ typedef union {
typedef struct {
int mods;
KeySym keysym;
+ KeyCode keycode;
Action action;
int type;
} Binding;