Options
physicalKeyboardHighlightPreventDefault
Whether physicalKeyboardHighlight should use preventDefault to disable default browser actions. This prevents default browser keyboard shortcuts when physical keyboard highlighting is enabled.
let keyboard = new SimpleKeyboard({
physicalKeyboardHighlight: true,
physicalKeyboardHighlightPreventDefault: true
});
// Prevents default browser actions like Ctrl+S, F5 refresh, etc.
// while still highlighting the keys on the virtual keyboard