Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 598 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 598 Bytes

CI

hidapi

This is hidapi, packaged for Zig.

Installation

First, update your build.zig.zon:

zig fetch --save git+https://github.com/allyourcodebase/hidapi.git

You can then import hidapi in your build.zig with:

const hidapi_dep = b.dependency("hidapi", .{
    .target = target,
    .optimize = optimize,
});
exe.root_module.linkLibrary(hidapi_dep.artifact("hidapi"));