UNPKG

dualsense-ts

Version:

The natural interface for your DualSense Classic and DualSense Access controllers, with Typescript

9 lines 441 B
import { HIDProvider } from "./hid_provider"; /** * Read the controller's Bluetooth MAC address from Feature Report 0x09. * Works over both USB and Bluetooth on all platforms. * Returns the MAC as a colon-separated hex string (e.g. "AA:BB:CC:DD:EE:FF"), * or undefined if the report cannot be read. */ export declare function readMacAddress(provider: HIDProvider): Promise<string | undefined>; //# sourceMappingURL=pairing_info.d.ts.map