mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-21 09:08:57 +00:00
* Add the initial support for settings * Rearrange init order for the settings and log modules * Add import settings function * Add initial settings display panel * Add settings controls * Add settings controls handlers * Add garbage gui auto-builder for settings * Add some custom binding handlers for settings * Add super ineffective ¯\_(ツ)_/¯ keyboard bindings remap function * Migrate keyboard to codes instead deprecated keyCodes * Abort key remap on Esc Co-authored-by: Sergey Stepanov <sergystepanov@gmail.com>
13 lines
258 B
JavaScript
Vendored
13 lines
258 B
JavaScript
Vendored
/**
|
|
* Stores app wide option names.
|
|
*
|
|
* Use the following format:
|
|
* UPPERCASE_NAME: 'uppercase.name'
|
|
*
|
|
* @version 1
|
|
*/
|
|
const opts = Object.freeze({
|
|
_VERSION: '_version',
|
|
LOG_LEVEL: 'log.level',
|
|
INPUT_KEYBOARD_MAP: 'input.keyboard.map'
|
|
});
|