aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/keycodes.js
diff options
context:
space:
mode:
Diffstat (limited to 'application/keycodes.js')
-rw-r--r--application/keycodes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/keycodes.js b/application/keycodes.js
index 743bc76..7a65f5b 100644
--- a/application/keycodes.js
+++ b/application/keycodes.js
@@ -18,10 +18,10 @@ function normalizeZmkKeycodes (keycodes) {
const fnPattern = /^(.+?)\((code)\)$/
return keycodes.reduce((keycodes, keycode) => {
- const { description, context, symbol } = keycode
+ const { description, context, symbol, faIcon } = keycode
const aliases = keycode.names.filter(name => !name.match(fnPattern))
const fnCode = keycode.names.map(name => name.match(fnPattern)).filter(v => !!v)[0]
- const base = { aliases, description, context, symbol: symbol || shortestAlias(aliases), params: [] }
+ const base = { aliases, description, context, faIcon, symbol: symbol || shortestAlias(aliases), params: [] }
for (let code of aliases) {
keycodes.push(Object.assign({}, base, {