ov_default_click_shortcuts apply when using scout_mode = "click", and ov_default_type_shortcuts apply when using scout_mode = "type"
Usage
ov_default_click_shortcuts()
ov_shortcuts(sc_type = "click", ...)
ov_default_type_shortcuts()
ov_default_playstable_shortcuts()Arguments
- sc_type
string: the shortcuts type, one of "click", "type", or "playstable"
- ...
: named values that are added to the default set of shortcuts. The name should match one of the existing entries, and its value should be the new shortcut key to use. If that shortcut key is already used elsewhere in the defaults, it will be removed from its default assignment
Details
Shortcuts should be defined in terms of the printable representation of the key (e.g. "a", "$", "H", "Escape", "Enter"). See https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values for guidance. Shortcuts can optionally use modifier keys: "Ctrl-x" means pressing the control key and x simultaneously; similarly Alt-x, Meta-x, Shift-x. Be aware that some keys are hard-coded for specific functionality and might cause problems if you use them as shortcuts (e.g. "Enter", "Tab"), and some keys have browser-level or operating-system-level handling that cannot be overridden.
