From c1b1068c4b63721d445477df66f296295cddc17a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Fri, 29 Dec 2023 13:23:41 +0100 Subject: [PATCH] fix: settings.yml missing hex prefix feat: add direnv config --- .envrc | 1 + .gitignore | 1 + src/lib/assets/settings.yml | 78 ++++++++++++++++++------------------- 3 files changed, 41 insertions(+), 39 deletions(-) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 00000000..3550a30f --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore index d491c39e..c0cfb693 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ node_modules /package .env .env.* +.direnv !.env.example venv vite.config.js.timestamp-* diff --git a/src/lib/assets/settings.yml b/src/lib/assets/settings.yml index 6e11f464..1649e9c3 100644 --- a/src/lib/assets/settings.yml +++ b/src/lib/assets/settings.yml @@ -1,118 +1,118 @@ settings: - 1: + 0x1: title: Enable Serial Header description: boolean 0 or 1, default is 0 - 2: + 0x2: title: Enable Serial Logging description: boolean 0 or 1, default is 0 - 3: + 0x3: title: Enable Serial Debugging description: boolean 0 or 1, default is 0 - 4: + 0x4: title: Enable Serial Raw description: boolean 0 or 1, default is 0 - 5: + 0x5: title: Enable Serial Chord description: boolean 0 or 1, default is 0 - 6: + 0x6: title: Enable Serial Keyboard description: boolean 0 or 1, default is 0 - 7: + 0x7: title: Enable Serial Mouse description: boolean 0 or 1, default is 0 - 11: + 0x11: title: Enable USB HID Keyboard description: boolean 0 or 1, default is 1 - 12: + 0x12: title: Enable Character Entry description: boolean 0 or 1 - 13: + 0x13: title: GUI-CTRL Swap Mode description: boolean 0 or 1; 1 swaps keymap 0 and 1. (CCL only) - 14: + 0x14: title: Key Scan Duration description: scan rate described in milliseconds; default is 2ms = 500Hz - 15: + 0x15: title: Key Debounce Press Duration description: debounce time in milliseconds; default is 7ms on the One and 20ms on the Lite - 16: + 0x16: title: Key Debounce Release Duration description: debounce time in milliseconds; default is 7ms on the One and 20ms on the Lite - 17: + 0x17: title: Keyboard Output Character Microsecond Delays description: delay time in microseconds (one delay for press and again for release); default is 480us; max is 10240us; increments of 40us - 21: + 0x21: title: Enable USB HID Mouse description: boolean 0 or 1; default is 1 - 22: + 0x22: title: Slow Mouse Speed description: pixels to move at the mouse poll rate; default for CC1 is 5 = 250px/s - 23: + 0x23: title: Fast Mouse Speed description: pixels to move at the mouse poll rate; default for CC1 is 25 = 1250px/s - 24: + 0x24: title: Enable Active Mouse description: boolean 0 or 1; moves mouse back and forth every 60s - 25: + 0x25: title: Mouse Scroll Speed description: default is 1; polls at 1/4th the rate of the mouse move updates - 26: + 0x26: title: Mouse Poll Duration description: poll rate described in milliseconds; default is 20ms = 50Hz - 31: + 0x31: title: Enable Chording description: boolean 0 or 1 - 32: + 0x32: title: Enable Chording Character Counter Timeout description: boolean 0 or 1; default is 1 - 33: + 0x33: title: Chording Character Counter Timeout Timer description: 0-255 deciseconds; default is 40 or 4.0 seconds - 34: + 0x34: title: Chord Detection Press Tolerance(ms) description: 1-50 milliseconds - 35: + 0x35: title: Chord Detection Release Tolerance(ms) description: 1-50 milliseconds - 41: + 0x41: title: Enable Spurring description: boolean 0 or 1; default is 1 - 42: + 0x42: title: Enable Spurring Character Counter Timeout description: boolean 0 or 1; default is 1 - 43: + 0x43: title: Spurring Character Counter Timeout Timer description: 0-255 seconds; default is 240 - 51: + 0x51: title: Enable Arpeggiates description: boolean 0 or 1; default is 1 - 54: + 0x54: title: Arpeggiate Tolerance description: in milliseconds; default 800ms - 61: + 0x61: title: Enable Compound Chording (coming soon) description: boolean 0 or 1; default is 0 - 64: + 0x64: title: Compound Tolerance description: in milliseconds; default 1500ms - 81: + 0x81: title: LED Brightness description: 0-50 (CCL only); default is 5, which draws around 100 mA of current - 82: + 0x82: title: LED Color Code description: Color Codes to be listed (CCL only) - 83: + 0x83: title: Enable LED Key Highlight (coming soon) description: boolean 0 or 1 (CCL only) - 84: + 0x84: title: Enable LEDs description: boolean 0 or 1; default is 1 (CCL only) - 91: + 0x91: title: Operating System description: Operating system codes listed below - 92: + 0x92: title: Enable Realtime Feedback description: boolean 0 or 1; default is 1 - 93: + 0x93: title: Enable CharaChorder Ready on startup description: boolean 0 or 1; default is 1