summaryrefslogtreecommitdiff
path: root/src/c.zig
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-08-19 23:54:53 +0200
committerdec05eba <dec05eba@protonmail.com>2023-08-19 23:57:56 +0200
commitcb636288cdad210eaef62ea0ebed9e4ae154a7fc (patch)
treeacf95dcec16116fc752aba2b499663e63fb8ca68 /src/c.zig
initial commit
Diffstat (limited to 'src/c.zig')
-rw-r--r--src/c.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/c.zig b/src/c.zig
new file mode 100644
index 0000000..395245b
--- /dev/null
+++ b/src/c.zig
@@ -0,0 +1,7 @@
+pub usingnamespace @cImport({
+ @cInclude("xcb/xcb.h");
+
+ // Add more define here if you want to include more keys. See depends/libxcb/depends/xorgproto/include/X11/keysymdef.h
+ @cDefine("XK_TECHNICAL", "");
+ @cInclude("X11/keysymdef.h");
+}); \ No newline at end of file