Skip to content

Commit 80a2285

Browse files
committed
Merge branch 'dev'
2 parents 397a328 + be346e1 commit 80a2285

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+14556
-14522
lines changed

.clang-format

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
BasedOnStyle: Google
2+
IndentWidth: 2
3+
TabWidth: 2
4+
UseTab: Never
5+
ColumnLimit: 200
6+
IndentCaseLabels: false
7+
IndentPPDirectives: BeforeHash
8+
PPIndentWidth: -1

docs/develop/layers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,21 @@
5252
"controls": [
5353
{
5454
"name": "xFrequency",
55-
"type": "range",
55+
"type": "slider",
5656
"default": 64,
5757
"p": 1065414703,
5858
"value": 64
5959
},
6060
{
6161
"name": "fadeRate",
62-
"type": "range",
62+
"type": "slider",
6363
"default": 128,
6464
"p": 1065414704,
6565
"value": 128
6666
},
6767
{
6868
"name": "speed",
69-
"type": "range",
69+
"type": "slider",
7070
"default": 128,
7171
"p": 1065414705,
7272
"value": 128
@@ -79,7 +79,7 @@
7979
"controls": [
8080
{
8181
"name": "speed",
82-
"type": "range",
82+
"type": "slider",
8383
"default": 128,
8484
"p": 1065405731,
8585
"value": 128

firmware/esp32-s3.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build_flags =
1111
-D ARDUINO_USB_DFU_ON_BOOT=0 ;download firmware update, disable
1212
; -D ML_LIVE_MAPPING
1313
; -D FASTLED_USES_ESP32S3_I2S ; S3 boards use the I2S driver (RMT is not supporting more then 4 outputs)
14-
-DCOLOR_ORDER_RGB=1 ; not working yet, see also https://github.com/FastLED/FastLED/issues/1966, should use ML_COLOR_ORDER / FastLED.addLeds(RGB_ORDER), workaround change #define COLOR_ORDER_RBG in driver.h
14+
; -DCOLOR_ORDER_RGB=1 ; not working yet, see also https://github.com/FastLED/FastLED/issues/1966, should use ML_COLOR_ORDER / FastLED.addLeds(RGB_ORDER), workaround change #define COLOR_ORDER_RBG in driver.h
1515
lib_deps =
1616
${env.lib_deps}
1717
${moonlight.lib_deps}

interface/src/lib/components/moonbase/MultiInput.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
bind:checked={value}
134134
on:change={onChange}
135135
/>
136-
{:else if property.type == "range"}
136+
{:else if property.type == "slider"}
137137
<div class="flex-row flex items-center space-x-2">
138138
<!-- range colors: https://daisyui.com/components/range/
139139
on:input: direct response to server

interface/src/lib/components/moonbase/ObjectArray.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
<ObjectArray property={propertyN} bind:data={dataEditable} definition={localDefinition} onChange={onChange} changeOnInput={changeOnInput}></ObjectArray>
221221
{:else if propertyN.type == "controls"}
222222
{#each dataEditable[propertyN.name] as control}
223-
<!-- e.g. dE["controls"] -> {"name":"xFrequency","type":"range","default":64,"p":1070417419,"value":64} -->
223+
<!-- e.g. dE["controls"] -> {"name":"xFrequency","type":"slider","default":64,"p":1070417419,"value":64} -->
224224
<MultiInput property={control} bind:value={control.value} onChange={onChange} changeOnInput={changeOnInput}></MultiInput>
225225
{/each}
226226
{:else}

lib/framework/WWWData.h

Lines changed: 12685 additions & 12689 deletions
Large diffs are not rendered by default.

misc/livescripts/E_PanTilt.sc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ uint8_t range = 20;
55
bool invert = false;
66

77
void setup() {
8-
addControl(&bpm, "bpm", "range", 1, 255);
9-
addControl(&pan, "pan", "range", 0, 255);
10-
addControl(&tilt, "tilt", "range", 0, 255);
11-
addControl(&range, "range", "range", 0, 255);
8+
addControl(&bpm, "bpm", "slider", 1, 255);
9+
addControl(&pan, "pan", "slider", 0, 255);
10+
addControl(&tilt, "tilt", "slider", 0, 255);
11+
addControl(&range, "range", "slider", 0, 255);
1212
addControl(&invert, "invert", "checkbox", false, true);
1313
}
1414
void loop() {

misc/livescripts/E_noise.sc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ uint8_t speed = 128;
22
uint8_t scale = 128;
33

44
void setup() {
5-
addControl(&speed, "speed", "range", 1, 255);
6-
addControl(&scale, "scale", "range", 1, 255);
5+
addControl(&speed, "speed", "slider", 1, 255);
6+
addControl(&scale, "scale", "slider", 1, 255);
77
}
88

99
void loop() {

misc/livescripts/E_octo.sc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ uint8_t branches = 4;
1212

1313
void setup()
1414
{
15-
addControl(&speed, "speed", "range", 1, 255);
16-
addControl(&branches, "branches", "range", 1, 8);
15+
addControl(&speed, "speed", "slider", 1, 255);
16+
addControl(&branches, "branches", "slider", 1, 8);
1717

1818
C_X = width / 2;
1919
C_Y = height / 2;

misc/livescripts/L_SE16.sc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
uint8_t height = 16;
22

33
void setup() {
4-
addControl(&height, "height", "range", 1, 255);
4+
addControl(&height, "height", "slider", 1, 255);
55
}
66

77
void addStrip( uint8_t xposition, uint8_t start_y, uint8_t stop_y, uint8_t pin) {

0 commit comments

Comments
 (0)