Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

keyboard: Keyboard = ...

Functions

  • listenCharacter(callback: (char: string) => void): Promise<Cancellable>
  • Parameters

    • callback: (char: string) => void
        • (char: string): void
        • Parameters

          • char: string

          Returns void

    Returns Promise<Cancellable>

  • listenHotkey(hotkey: Hotkey, callback: (pressed: boolean) => void): Promise<Cancellable>
  • Parameters

    • hotkey: Hotkey
    • callback: (pressed: boolean) => void
        • (pressed: boolean): void
        • Parameters

          • pressed: boolean

          Returns void

    Returns Promise<Cancellable>

  • listenText(callback: (text: string) => void, includeOliveHelpsEvents?: boolean): Promise<Cancellable>
  • Parameters

    • callback: (text: string) => void
        • (text: string): void
        • Parameters

          • text: string

          Returns void

    • includeOliveHelpsEvents: boolean = false

    Returns Promise<Cancellable>

Generated using TypeDoc