libCEC Node.js API
    Preparing search index...

    Interface CecAdapterEvents

    The strongly-typed event surface of CecAdapter. Names map to the addon's on(event, listener) overloads.

    interface CecAdapterEvents {
        log: (message: LogMessage) => void;
        keyPress: (key: KeyPress) => void;
        command: (command: CecCommand) => void;
        sourceActivated: (address: CecLogicalAddress, activated: boolean) => void;
        alert: (alert: CecAlert) => void;
        configurationChanged: (config: CecConfiguration) => void;
        menuStateChanged: (state: number) => void;
        commandHandler: (command: CecCommand) => void;
    }
    Index
    log: (message: LogMessage) => void
    keyPress: (key: KeyPress) => void
    command: (command: CecCommand) => void
    sourceActivated: (address: CecLogicalAddress, activated: boolean) => void
    alert: (alert: CecAlert) => void
    configurationChanged: (config: CecConfiguration) => void
    menuStateChanged: (state: number) => void
    commandHandler: (command: CecCommand) => void

    Opt-in; enable with { enableCommandHandler: true }. Observe-only.