mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-23 10:07:30 +00:00
* Initial new frontend rewrite * Refactor some module deps * Fix options ref in the ajax module * Refactor * Add controller state * Refactor
20 lines
378 B
JavaScript
Vendored
20 lines
378 B
JavaScript
Vendored
const KEY = (() => {
|
|
return {
|
|
A: 'a',
|
|
B: 'b',
|
|
X: 'x',
|
|
Y: 'y',
|
|
START: 'start',
|
|
SELECT: 'select',
|
|
LOAD: 'load',
|
|
SAVE: 'save',
|
|
HELP: 'help',
|
|
JOIN: 'join',
|
|
FULL: 'full',
|
|
QUIT: 'quit',
|
|
UP: 'up',
|
|
DOWN: 'down',
|
|
LEFT: 'left',
|
|
RIGHT: 'right',
|
|
}
|
|
})();
|