Skip to main content
Module

x/deno_usbhidapi/mod.ts>hid.open

🦕 Deno FFI bindings for the HIDAPI library to access USB devices.
Go to Latest
variable hid.open
import { hid } from "https://deno.land/x/deno_usbhidapi@v0.3.2/mod.ts";
const { open } = hid;

type

(
vendorId: number,
productId: number,
serialNumber?: Uint8Array | null,
) => bigint