Implemented keyboard input
This commit is contained in:
parent
4eed1778a6
commit
b6d50a781d
11 changed files with 179 additions and 59 deletions
|
|
@ -77,9 +77,11 @@ pub fn build(b: *std.Build) void {
|
|||
if (wayland) {
|
||||
exe.root_module.addIncludePath(b.path("ext"));
|
||||
exe.linkSystemLibrary("wayland-client");
|
||||
exe.linkSystemLibrary("xkbcommon");
|
||||
exe.root_module.addCSourceFile(.{ .file = b.path("ext/xdg-shell.c") });
|
||||
} else {
|
||||
exe.linkSystemLibrary("xcb");
|
||||
exe.linkSystemLibrary("xcb-keysyms");
|
||||
exe.linkSystemLibrary("xcb-icccm");
|
||||
}
|
||||
b.installArtifact(exe);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue