summaryrefslogtreecommitdiff
path: root/src/pkjs/config.json
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2026-07-17 01:12:18 +0200
committerReiner Herrmann <reiner@reiner-h.de>2026-07-17 01:12:18 +0200
commit7b2319b1727dd25d16f12351376cdba75a404fb1 (patch)
treec46f480e22dbdb7a345240813d2ab7c5fa083217 /src/pkjs/config.json
parentdf2fbf4c9291cce340945a0a71de0200ccae7369 (diff)
make settings configurable via phone app
Diffstat (limited to 'src/pkjs/config.json')
-rw-r--r--src/pkjs/config.json73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/pkjs/config.json b/src/pkjs/config.json
new file mode 100644
index 0000000..d672ea7
--- /dev/null
+++ b/src/pkjs/config.json
@@ -0,0 +1,73 @@
+[
+ {
+ "type": "section",
+ "items": [
+ {
+ "type": "heading",
+ "defaultValue": "Beats"
+ },
+ {
+ "type": "slider",
+ "messageKey": "bpm",
+ "defaultValue": 90,
+ "label": "Per Minute",
+ "min": 1,
+ "max": 200
+ },
+ {
+ "type": "slider",
+ "messageKey": "beats",
+ "defaultValue": 4,
+ "label": "Per Bar",
+ "min": 1,
+ "max": 16
+ }
+ ]
+ },
+ {
+ "type": "section",
+ "items": [
+ {
+ "type": "heading",
+ "defaultValue": "Settings"
+ },
+ {
+ "type": "slider",
+ "messageKey": "volume",
+ "label": "Volume",
+ "defaultValue": 100,
+ "min": 1,
+ "max": 100,
+ "capabilities": [
+ "PLATFORM_EMERY"
+ ]
+ },
+ {
+ "type": "slider",
+ "messageKey": "volume",
+ "label": "Volume",
+ "defaultValue": 100,
+ "min": 1,
+ "max": 100,
+ "capabilities": [
+ "PLATFORM_FLINT"
+ ]
+ },
+ {
+ "type": "checkboxgroup",
+ "messageKey": "beat_indicators",
+ "label": "Beat indicators",
+ "defaultValue": [true, true, true],
+ "options": [
+ "Flashing",
+ "Vibration",
+ "Beep"
+ ]
+ }
+ ]
+ },
+ {
+ "type": "submit",
+ "defaultValue": "Save"
+ }
+]