ORIENT/modules/system/assets/ui/docs/input-hotkey.md

317 B

Input Hotkey API

Scripts that manage user input events.

Example

<button data-hotkey="b" onclick="alert('B is for Banana!')">
    Press "B" on your keyboard
</button>

<button data-hotkey="shift+r" onclick="confirm('Shift gears...?')">
    Press "Shift + R" on your keyboard
</button>