nodehotkey
Version:
Authotkey like macros for NodeJS
32 lines (31 loc) • 2.35 kB
TypeScript
/*******************************************************************************************
* *
* ███╗ ██╗ ██████╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ████████╗██╗ ██╗███████╗██╗ ██╗ *
* ████╗ ██║██╔═══██╗██╔══██╗██╔════╝██║ ██║██╔═══██╗╚══██╔══╝██║ ██╔╝██╔════╝╚██╗ ██╔╝ *
* ██╔██╗ ██║██║ ██║██║ ██║█████╗ ███████║██║ ██║ ██║ █████╔╝ █████╗ ╚████╔╝ *
* ██║╚██╗██║██║ ██║██║ ██║██╔══╝ ██╔══██║██║ ██║ ██║ ██╔═██╗ ██╔══╝ ╚██╔╝ *
* ██║ ╚████║╚██████╔╝██████╔╝███████╗██║ ██║╚██████╔╝ ██║ ██║ ██╗███████╗ ██║ *
* *
* 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 {};