Input configuration

interface InputConfig {
    keyboard: {
        enableShortcuts: boolean;
        shortcuts: Map<string, string>;
    };
    mouse: {
        dragThreshold: number;
        enableDragging: boolean;
        enableSelection: boolean;
    };
    touch: {
        enableGestures: boolean;
        pinchSensitivity: number;
    };
}

Properties

Properties

keyboard: {
    enableShortcuts: boolean;
    shortcuts: Map<string, string>;
}

Type declaration

  • enableShortcuts: boolean
  • shortcuts: Map<string, string>
mouse: {
    dragThreshold: number;
    enableDragging: boolean;
    enableSelection: boolean;
}

Type declaration

  • dragThreshold: number
  • enableDragging: boolean
  • enableSelection: boolean
touch: {
    enableGestures: boolean;
    pinchSensitivity: number;
}

Type declaration

  • enableGestures: boolean
  • pinchSensitivity: number