PowerKeys Scripting API
    Preparing search index...

    Interface HidEvent

    Raw HID report received by HID.OnRawEvent.

    interface HidEvent {
        usage_page: number;
        usage: number;
        raw_hex: string;
        raw_data: number[];
        device_name: string | null;
        device_id: string | null;
    }
    Index
    usage_page: number

    HID usage page; this callback only emits vendor-defined pages 0xFF00 and above.

    usage: number

    HID usage within the page.

    raw_hex: string

    Space-separated hex representation of the raw report bytes.

    raw_data: number[]

    Raw HID report bytes. Each entry is an integer from 0 through 255.

    device_name: string | null

    Human-readable product name of the device, or null if unknown.

    device_id: string | null

    Device path string, or null if unavailable.