Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_usbhidapi/mod.ts>hid.read

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

type

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