@ertekinno/human-like
Version:
A sophisticated React typewriter effect library with realistic human typing behavior, mobile/desktop keyboards, and comprehensive theming support
55 lines (54 loc) • 1.36 kB
TypeScript
import { KeyboardLayoutDefinition } from './types';
/**
* Standard US QWERTY desktop keyboard layout
*/
export declare const DESKTOP_QWERTY_LAYOUT: KeyboardLayoutDefinition;
/**
* Desktop key mappings - what physical key produces each character
* Format: [key, requiresShift]
*/
export declare const DESKTOP_KEY_MAPPING: Record<string, [string, boolean]>;
/**
* Desktop keyboard physical layout for visual representation
*/
export declare const DESKTOP_PHYSICAL_LAYOUT: {
rows: ({
keys: ({
key: string;
shift?: undefined;
} | {
key: string;
shift: string;
})[];
} | {
keys: {
key: string;
width: string;
}[];
})[];
modifiers: {
left: string[];
right: string[];
};
};
/**
* Common desktop keyboard shortcuts and behaviors
*/
export declare const DESKTOP_SHORTCUTS: {
COPY: string[];
PASTE: string[];
CUT: string[];
SELECT_ALL: string[];
SELECT_WORD: string[];
HOME: string[];
END: string[];
WORD_LEFT: string[];
WORD_RIGHT: string[];
DELETE_WORD_LEFT: string[];
DELETE_WORD_RIGHT: string[];
DELETE_LINE: string[];
AUTO_CAPITALIZE_SENTENCES: boolean;
SMART_QUOTES: boolean;
AUTO_CORRECTION: boolean;
};
//# sourceMappingURL=desktop-layouts.d.ts.map