Functions
listenCharacter
- listenCharacter(callback: (char: string) => void): Promise<Cancellable>
Parameters
callback: (char: string) => void
listenHotkey
- listenHotkey(hotkey: Hotkey, callback: (pressed: boolean) => void): Promise<Cancellable>
Parameters
callback: (pressed: boolean) => void
listenText
- listenText(callback: (text: string) => void, includeOliveHelpsEvents?: boolean): Promise<Cancellable>
Parameters
callback: (text: string) => void
includeOliveHelpsEvents: boolean = false