UNPKG

nodehotkey

Version:
32 lines (31 loc) 2.35 kB
/******************************************************************************************* * * * ███╗ ██╗ ██████╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ████████╗██╗ ██╗███████╗██╗ ██╗ * * ████╗ ██║██╔═══██╗██╔══██╗██╔════╝██║ ██║██╔═══██╗╚══██╔══╝██║ ██╔╝██╔════╝╚██╗ ██╔╝ * * ██╔██╗ ██║██║ ██║██║ ██║█████╗ ███████║██║ ██║ ██║ █████╔╝ █████╗ ╚████╔╝ * * ██║╚██╗██║██║ ██║██║ ██║██╔══╝ ██╔══██║██║ ██║ ██║ ██╔═██╗ ██╔══╝ ╚██╔╝ * * ██║ ╚████║╚██████╔╝██████╔╝███████╗██║ ██║╚██████╔╝ ██║ ██║ ██╗███████╗ ██║ * * * * Title: NodeHotKey * * Author: Rubinder Singh * * Date: 07-Jun-2019 * *******************************************************************************************/ import { MacroType } from '../../types/nhk-types'; declare const EventEmitter: any; export declare class NodeHotKey extends EventEmitter { /** * start listening for keyboard, mouse and Macro events * @returns {void} */ startListening: () => void; /** * stop listening for keyboard and mouse events * @returns {void} */ stopListening: () => void; readonly eventTypes: { [key: string]: string; }; constructor(pMacros?: MacroType); } export {};