Index

keyboard

MMO.inputs.keyboard · 2 symbols · generated 30 Sep 2026

function

shortcutIcon

keyboard.js:17

Create an icon for a keyboard shortcut, using this table: ⎋ ` 1 2 3 4 5 6 7 8 9 0 - = ⌫ ⎀ ⤒ ⇞ ⇥ Q W E R T Y U I O P [ ] \ ⌦ ⤓ ⇟ 🄰 A S D F G H J K L ; ' ↵ ⇧ Z X C V B N M , . / ⇧ ↑ ⎈ ❖ ⎇ ␣ ⎇ ❖ ▤ ⎈ ← ↓ →

function MMO.inputs.keyboard.shortcutIcon(shortcut)
Namespace
MMO.inputs.keyboard
🌐 ⌃ ⌥ ⌘
shortcutstringa valid shortcut declaration. Keys are separated by +.
returnsstring
function

isShortcutValid

keyboard.js:84

Test if shortcut is valid

function MMO.inputs.keyboard.isShortcutValid(event, shortcut)
Namespace
MMO.inputs.keyboard
eventKeyboardEventevent triggered by keydown, keypress, or keyup
shortcutstringa valid shortcut declaration. Keys are separated by +. Special keys : - Control, ControlLeft, ControlRight, - Alt, AltLeft, AltRight, AltGraph - Shift, ShiftLeft, ShiftRight - Meta, MetaLeft, MetaRight - Enter - Space - Escape - F1, F2, F3, ... - ScrollLock - Home, End - PageUp, PageDown - Insert, Delete, Backspace - ArrowLeft, ArrowRight, ArrowUp, ArrowDown - CapsLock - Tab