Skip to main content
Module

x/deno_usbhidapi/mod.ts>hid.read

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

type

(device: bigint, length: number) => Promise<Uint8Array>