UNPKG

shuttle-webhid

Version:

An npm module for interfacing with the Contour Shuttle devices in Node.js

11 lines 595 B
import { Shuttle } from '@shuttle-lib/core'; /** Prompts the user for which Shuttle device to select */ export declare function requestAccess(): Promise<HIDDevice[]>; /** * Reopen previously selected devices. * The browser remembers what the user previously allowed your site to access, and this will open those without the request dialog */ export declare function getOpenedDevices(): Promise<HIDDevice[]>; /** Sets up a connection to a HID device (the Shuttle device) */ export declare function setupShuttle(browserDevice: HIDDevice): Promise<Shuttle>; //# sourceMappingURL=methods.d.ts.map