UNPKG

emotiv-ts

Version:

A Typescript library that wraps the Cortex API functionalities to communicate with Emotiv headsets

10 lines (9 loc) 295 B
import type { w3cwebsocket } from 'websocket'; export declare class HeadsetService { socket: w3cwebsocket; private headsetId; constructor(socket: w3cwebsocket); getHeadsets(): Promise<string>; controlDevice(headsetId: string): Promise<unknown>; getHeadsetId(): string; }