Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
163 commits
Select commit Hold shift + click to select a range
a9d9d8d
Initial Pixel rewrite
Podbod12 Oct 24, 2024
ce8b6f9
animation system rewrite code dump
Podbod12 Oct 27, 2024
7ebe18e
animation station code dump
Podbod12 Oct 27, 2024
dcff107
Started updating config/animation options
Podbod12 Oct 30, 2024
d149664
first life!
Podbod12 Nov 4, 2024
0b5a6bb
Chase and static done
Podbod12 Nov 9, 2024
a0cb96d
code dump
Podbod12 Nov 16, 2024
9e3d232
code dump
Podbod12 Nov 22, 2024
fef7e78
code dump
Podbod12 Nov 23, 2024
96c516c
Wave animation
Podbod12 Nov 25, 2024
aaa6a90
Move types done
Podbod12 Dec 12, 2024
867b45a
beta?
Podbod12 Dec 16, 2024
ca2f7be
Added define for prototype haute
Podbod12 Dec 17, 2024
f624a0b
Knight Rider effect
Podbod12 Jan 9, 2025
57d4128
Special moves priority and Jiggle effect
Podbod12 Jan 12, 2025
1cc471b
Update config.proto
Podbod12 Jan 14, 2025
fc3fb16
Removed all SM stuff from ConvertToGIPOBranch
Podbod12 Jan 14, 2025
d0ee1c1
Legacy led removed. LED off state
Podbod12 Jan 14, 2025
3814e43
webconfig set/getAnimationProtoOptions
Podbod12 Jan 17, 2025
fa124e1
fixes for get/set anim options
Podbod12 Jan 19, 2025
624da7a
Add mock for animation options route in dev server
Pelsin Jan 19, 2025
7856281
Add api fetcher for getAnimationOptions
Pelsin Jan 19, 2025
465343c
Add route for animation options page
Pelsin Jan 19, 2025
e07bf30
Add start of animation global state handler
Pelsin Jan 19, 2025
1263048
Start with profile select and brightness in animation page
Pelsin Jan 19, 2025
b71e3b4
Convert to TS, add support for custom colors
Pelsin Jan 19, 2025
fe9b57d
Add handling of custom colors
Pelsin Jan 20, 2025
cdafa64
First crude version of config for animations
Pelsin Jan 20, 2025
08c1c8f
Use correct end points for animation
Pelsin Jan 20, 2025
ff771b7
unpack/pack light indexes for webconfig
Podbod12 Jan 20, 2025
5c6dd9c
Light data api
Podbod12 Jan 22, 2025
3f4aa2a
New LED Rain effect
Podbod12 Jan 27, 2025
87cfcc6
Turned off debugging
Podbod12 Jan 27, 2025
f4dc309
Burst press effect
Podbod12 Feb 7, 2025
4fdbfbb
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin Feb 24, 2025
b9dadcc
Led data now saved on first boot
Podbod12 Mar 4, 2025
f504aa9
Use the correct key for animation options, make sure to post the new …
Pelsin Mar 5, 2025
d3ad025
Correctly use color enums for pressed/non pressed
Pelsin Mar 28, 2025
7b49661
Merge pull request #2 from OpenStickCommunity/main
Podbod12 Mar 30, 2025
d12ddb3
led animation speed intiialisations
Podbod12 Apr 9, 2025
ffdee15
Merge pull request #3 from OpenStickCommunity/main
Podbod12 Apr 13, 2025
b835c42
Save delay and faster anim changes
Podbod12 Apr 13, 2025
f0df36a
Add translation strings to animation page and improve color selector
Pelsin Apr 14, 2025
a139309
Merge branch 'LED_ConvertToGIPOWithNewAnimations'
Podbod12 Apr 23, 2025
0fb644b
Merge in 6 months of main changes with led updates
Podbod12 Apr 23, 2025
61cc1b9
Changed banners to be an array and queue banner display
Podbod12 Apr 26, 2025
b0facff
Merge pull request #5 from Podbod12/main
Podbod12 Apr 28, 2025
e344e3e
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin Apr 29, 2025
b266a5b
Fixed and simplified LED brightness
Podbod12 May 16, 2025
7aa8244
Merge pull request #6 from Podbod12/main
Podbod12 May 16, 2025
b416995
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin May 22, 2025
e1901c2
Start adding lightdata editor
Pelsin May 24, 2025
16dd3e4
Separate animation and light coords sections
Pelsin May 24, 2025
b9689aa
LED Test Modes
Podbod12 May 25, 2025
0c0b66d
Merge pull request #7 from Podbod12/main
Podbod12 May 25, 2025
75db53f
Merge coors and animation page into leds, handle lightdata post
Pelsin May 26, 2025
1cd3110
Change columns, use formik change handler
Pelsin May 26, 2025
5419567
Colour -> Color
Pelsin May 26, 2025
d54ad3d
Remove old led routes and add new
Pelsin May 26, 2025
d58c91b
Lights update during webconfig changes
Podbod12 May 27, 2025
6c35ee2
Merge pull request #8 from Podbod12/main
Podbod12 May 27, 2025
bf9eea8
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin Jun 29, 2025
baa2018
Add preview helpers
Pelsin Jun 29, 2025
1c0e0dc
Try to make building work in github
Pelsin Jun 29, 2025
6fbc6b1
Change copy
Pelsin Jun 30, 2025
fbb518a
Add preview helpers to own section and rename animation to led config…
Pelsin Jun 30, 2025
c0a7385
Include vite env as types
Pelsin Jun 30, 2025
589ae69
Remove custom theme
Pelsin Jun 30, 2025
ee0640b
Remove last remnants of custom theme
Pelsin Jun 30, 2025
a0b4ebc
Merge remote-tracking branch 'upstream/main'
Podbod12 Jul 1, 2025
10bd913
build fix
Podbod12 Jul 1, 2025
8d4856e
Merge pull request #11 from Podbod12/main
Podbod12 Jul 1, 2025
a7e9e2c
Merge branch 'pr/9' into LED_ConvertToGIPOWithNewAnimations
Podbod12 Jul 1, 2025
3edb1d7
Experiment on lighting leds in pin mapping
Pelsin Jul 2, 2025
afaecaa
Fix for incorrect led counts for neopico system.
Podbod12 Jul 5, 2025
e1268f0
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin Jul 5, 2025
14e6985
Create a leds preview hook
Pelsin Jul 5, 2025
6f3e89a
Upgrade react-select, remove old ledconfig page
Pelsin Jul 6, 2025
2b7aa7e
Remove old led config route
Pelsin Jul 6, 2025
1ae8505
Add light tooltip, default colors for gpio, handle case colors, clean…
Pelsin Jul 6, 2025
d9f6cc0
Add support for exporting/importing new led system config
Pelsin Jul 6, 2025
f3433d3
Merge pull request #12 from Pelsin/LED_ConvertToGIPOWithNewAnimations
Podbod12 Jul 7, 2025
16b54f5
Animation Throttle and Case/Button option
Podbod12 Jul 7, 2025
1ee1993
Make sure we don't try to render leds page until ready
Pelsin Jul 7, 2025
a45227a
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin Jul 7, 2025
0cade9a
Add switch for using case in pressed animations, better selection for…
Pelsin Jul 7, 2025
67b7c58
remvoed debug string
Podbod12 Jul 8, 2025
a844651
Merge pull request #13 from Pelsin/LED_ConvertToGIPOWithNewAnimations
Podbod12 Jul 8, 2025
d78f27f
Merge pull request #14 from Podbod12/LED_ConvertToGIPOWithNewAnimations
Podbod12 Jul 8, 2025
766f159
Remove unused env
Pelsin Jul 8, 2025
27efcd8
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin Jul 8, 2025
9e6998a
Merge branch 'main' into LED_ConvertToGIPOWithNewAnimations
Pelsin Jul 8, 2025
9ba4117
Replace last usage of color-picker with native one, improve performan…
Pelsin Jul 8, 2025
0e17d92
Replace last usage of color-picker with native one, improve performan…
Pelsin Jul 8, 2025
5800455
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Pelsi…
Pelsin Jul 8, 2025
75f31aa
Allow selecting custom colors
Pelsin Jul 8, 2025
e0bd0a3
Add light data to export
Pelsin Jul 8, 2025
5c59bd3
Correctly set custom color values, convert pin and case id selection …
Pelsin Jul 9, 2025
388eee2
LED Idle timeout
Podbod12 Aug 29, 2025
11bbbe4
Merge pull request #15 from Podbod12/main
Podbod12 Aug 29, 2025
ab12f11
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin Aug 31, 2025
4f069ee
Auto select added light, re-organize preview helpers
Pelsin Aug 31, 2025
f9576d1
Prevent adding more than 100 lights, adding lights now allocates firs…
Pelsin Aug 31, 2025
11fd77c
Add overlapping check for lights
Pelsin Aug 31, 2025
345f50f
Merge remote-tracking branch 'upstream/main'
Podbod12 Sep 14, 2025
299732b
fixup bad merge
Podbod12 Sep 14, 2025
cfa3c43
Merge pull request #17 from Podbod12/main
Podbod12 Sep 14, 2025
6f5bfac
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin Sep 14, 2025
8418fc5
Start adding an easy mode for led animation section
Pelsin Sep 14, 2025
307772b
Refactor to remove redundant color sections
Pelsin Sep 19, 2025
35f7bf1
Better layout for easy mode, better handling of overlays
Pelsin Sep 26, 2025
91bbd3f
Add info for custom theme, pressed preview, and set all color functio…
Pelsin Sep 27, 2025
090f75f
Allow setting case and gpio pin idle/pressed colors in advanced mode.…
Pelsin Sep 28, 2025
c06df22
Remove unused imports and code
Pelsin Sep 28, 2025
124f474
Merge branch 'main' into LED_ConvertToGIPOWithNewAnimations
Pelsin Sep 28, 2025
5a4c1cb
Hide preview helpers, automatic profile preview on change in ez mode
Pelsin Sep 28, 2025
f3f2df5
Make sure advanced mode is set correctly if no light data is sent
Pelsin Sep 29, 2025
e3d02e9
Fix merge issue, removing old ledTheme config for backup
Pelsin Sep 30, 2025
ee2f4e9
Calculate the size of the lights based on its neighbors, change brigh…
Pelsin Sep 30, 2025
6f5b733
Merge pull request #18 from Pelsin/LED_ConvertToGIPOWithNewAnimations
Podbod12 Sep 30, 2025
e94c608
Re-add led configuration page
Pelsin Sep 30, 2025
6a0ec17
Remove old context
Pelsin Sep 30, 2025
026ee42
Fix some translations
Pelsin Sep 30, 2025
ca00373
Fix a bug where led profile preview would trigger incorrectly
Pelsin Sep 30, 2025
f182398
Change brightness to validate between 1-10
Pelsin Sep 30, 2025
6b16cca
Brightness, cleanup, profile save fix
Podbod12 Sep 30, 2025
39f7f81
Make sure we don't change enum values for hotkeys that could be saved…
Pelsin Oct 3, 2025
67c1d88
Restored Brightness to 0-10
Podbod12 Oct 5, 2025
2107a16
Upped max to 200
Podbod12 Oct 5, 2025
a159b3d
Add generated enums, and change brightness validation
Pelsin Oct 6, 2025
61f745a
Comment out special moves hotkey
Pelsin Oct 6, 2025
2a6c0e2
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin Oct 6, 2025
272bc75
Upped case lights to 80 for haldiman
Podbod12 Oct 6, 2025
079cf40
Merge pull request #19 from Podbod12/LED_200LEDs
Podbod12 Oct 6, 2025
5b9b9d3
Restore max lights and case lights after pulling fixes from 200led br…
Podbod12 Oct 6, 2025
d89fa04
Merge branch 'main' into LED_ConvertToGIPOWithNewAnimations
Pelsin Oct 8, 2025
bcbcb99
Minimum brightness 1
Pelsin Oct 8, 2025
2c48f5a
Remove old ledLayout in api call
Pelsin Oct 8, 2025
280a772
Re-add paths for custom-theme and led-config
Pelsin Oct 8, 2025
64d3332
brightness max changes
Podbod12 Oct 8, 2025
927223c
Merge pull request #20 from Podbod12/LED_ConvertToGIPOWithNewAnimations
Podbod12 Oct 8, 2025
e293550
Merge branch 'pr/21' into LED_ConvertToGIPOWithNewAnimations
Podbod12 Oct 8, 2025
e583bbe
Automatic selected profile preview helper
Pelsin Oct 8, 2025
4eba510
Brightness rounding fix
Podbod12 Oct 8, 2025
a1fdac8
Change to add light by pressing on grid
Pelsin Oct 8, 2025
edd4aaf
Correct typo
Pelsin Oct 8, 2025
ed98d3a
Remove all button layouts
Pelsin Oct 8, 2025
686fbeb
Merge pull request #23 from Podbod12/LED_ConvertToGIPOWithNewAnimations
Podbod12 Oct 9, 2025
b01c9f3
Merge pull request #24 from Pelsin/LED_ConvertToGIPOWithNewAnimations
Podbod12 Oct 9, 2025
c2702eb
Merge pull request #25 from Podbod12/LED_ConvertToGIPOWithNewAnimations
Podbod12 Oct 9, 2025
dc49511
multi lights presets for boardconfigs
Podbod12 Oct 18, 2025
ab45576
Improve preview sizes
Pelsin Oct 18, 2025
073d88e
Added get light setup from default
Podbod12 Oct 19, 2025
f6ec1e9
Merge branch 'LED_ConvertToGIPOWithNewAnimations' of github.com:Podbo…
Pelsin Oct 30, 2025
cc27083
Allow selecting from defined layouts
Pelsin Oct 30, 2025
d53fd7c
Refactor light data handling of presets, update API endpoints
Pelsin Oct 31, 2025
8b9c5ed
Merge pull request #26 from Pelsin/LED_ConvertToGIPOWithNewAnimations
Podbod12 Nov 1, 2025
870b67d
Merge pull request #27 from Podbod12/LED_ConvertToGIPOWithNewAnimations
Podbod12 Nov 14, 2025
e08ea6a
Changed LED data to be packed ints
Podbod12 Nov 15, 2025
4e1cdae
Merge pull request #28 from Podbod12/LED_ConvertToGIPOWithNewAnimations
Podbod12 Nov 15, 2025
c249c97
Update chase.cpp
Podbod12 Nov 20, 2025
d9661e1
Merge pull request #29 from Podbod12/LED_ConvertToGIPOWithNewAnimations
Podbod12 Nov 20, 2025
098efb6
LED PR tidy
Podbod12 Nov 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,15 @@ src/addons/gamepad_usb_host_listener.cpp
src/addons/tg16_input.cpp
src/animationstation/animation.cpp
src/animationstation/animationstation.cpp
src/animationstation/effects/burstcolor.cpp
src/animationstation/effects/chase.cpp
src/animationstation/effects/customtheme.cpp
src/animationstation/effects/customthemepressed.cpp
src/animationstation/effects/idletimeout.cpp
src/animationstation/effects/jigglestaticcolor.cpp
src/animationstation/effects/jiggletwostaticcolor.cpp
src/animationstation/effects/rain.cpp
src/animationstation/effects/rainbow.cpp
src/animationstation/effects/randomcolor.cpp
src/animationstation/effects/staticcolor.cpp
src/animationstation/effects/statictheme.cpp
${PROTO_OUTPUT_DIR}/enums.pb.c
${PROTO_OUTPUT_DIR}/config.pb.c
)
Expand Down
1 change: 0 additions & 1 deletion configs/ASiLVLABC/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
// buttons LED
#define BOARD_LEDS_PIN 22
#define LED_BRIGHTNESS_MAXIMUM 50
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1

Expand Down
1 change: 0 additions & 1 deletion configs/ASiLVLWASD/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
// buttons LED
#define BOARD_LEDS_PIN 22
#define LED_BRIGHTNESS_MAXIMUM 50
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1

Expand Down
1 change: 0 additions & 1 deletion configs/BentoBox/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
#define BOARD_LEDS_PIN 15

#define LED_BRIGHTNESS_MAXIMUM 255
#define LED_BRIGHTNESS_STEPS 10
#define LEDS_PER_PIXEL 2

#define LEDS_DPAD_LEFT 0
Expand Down
1 change: 0 additions & 1 deletion configs/DuelPadZen/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@

#define BOARD_LEDS_PIN 15
#define LED_BRIGHTNESS_MAXIMUM 100
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 2
#define LEDS_BASE_ANIMATION_INDEX 1
Expand Down
1 change: 0 additions & 1 deletion configs/FlatboxRev5RGB/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
#define BOARD_LEDS_PIN 0

#define LED_BRIGHTNESS_MAXIMUM 50
#define LED_BRIGHTNESS_STEPS 5
#define LEDS_BASE_ANIMATION_INDEX 1
#define LEDS_PER_PIXEL 2

Expand Down
75 changes: 68 additions & 7 deletions configs/Haute42COSMOX/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@

#define BOARD_LEDS_PIN 28
#define LED_BRIGHTNESS_MAXIMUM 100
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1
#define LEDS_BASE_ANIMATION_INDEX 1
Expand Down Expand Up @@ -292,13 +291,75 @@
{GP_ELEMENT_PIN_BUTTON, {39, 37, 4, 4, 1, 1, 9, GP_SHAPE_ELLIPSE}}\
}

// Keyboard Host enabled by default
#define KEYBOARD_HOST_ENABLED 1
//Data format = {first led index, leds on this light, xcoord, ycoord, GPIO pin/case light Index, Type}
//Eg, your first light would be "first led index" = 0 and "leds on this light" = 2.
// your second light would be "first led index" = 2 (as 0 and 1 were just taken by the first light)
//T16

//LED order list on haute 42 t16
//left
//down
//right
//up (thumb)
//b3
//b4
//r1
//l1
//b1
//b2
//r2
//l2
//m1 (extra button 1)
//l3
//r3
//m2 (extra button 2)

//Defines for T16
#define LIGHT_DATA_SIZE_DEFAULT 16 //number of sets in the below data
#define LIGHT_DATA_DEFAULT \
0, 1, 0, 2, 5, LightType::LightType_ActionButton, \
1, 1, 2, 2, 3, LightType::LightType_ActionButton, \
2, 1, 4, 3, 4, LightType::LightType_ActionButton, \
3, 1, 5, 7, 2, LightType::LightType_ActionButton, \
4, 1, 6, 2, 10, LightType::LightType_ActionButton, \
5, 1, 8, 1, 11, LightType::LightType_ActionButton, \
6, 1, 10, 1, 12, LightType::LightType_ActionButton, \
7, 1, 12, 1, 13, LightType::LightType_ActionButton, \
8, 1, 6, 4, 6, LightType::LightType_ActionButton, \
9, 1, 8, 3, 7, LightType::LightType_ActionButton, \
10, 1, 10, 3, 8, LightType::LightType_ActionButton, \
11, 1, 12, 3, 9, LightType::LightType_ActionButton, \
12, 1, 3, 0, 27, LightType::LightType_ActionButton, \
13, 1, 6, 0, 18, LightType::LightType_ActionButton, \
14, 1, 8, 5, 19, LightType::LightType_ActionButton, \
15, 1, 3, 6, 26, LightType::LightType_ActionButton
#define LIGHT_DATA_NAME_DEFAULT "Haute/Cosmox T16"

//Defines for T12
#define LIGHT_DATA_SIZE_1 12 //number of sets in the below data
#define LIGHT_DATA_1 \
0, 1, 0, 2, 5, LightType::LightType_ActionButton, \
1, 1, 2, 2, 3, LightType::LightType_ActionButton, \
2, 1, 4, 3, 4, LightType::LightType_ActionButton, \
3, 1, 5, 7, 2, LightType::LightType_ActionButton, \
4, 1, 6, 2, 10, LightType::LightType_ActionButton, \
5, 1, 8, 1, 11, LightType::LightType_ActionButton, \
6, 1, 10, 1, 12, LightType::LightType_ActionButton, \
7, 1, 12, 1, 13, LightType::LightType_ActionButton, \
8, 1, 6, 4, 6, LightType::LightType_ActionButton, \
9, 1, 8, 3, 7, LightType::LightType_ActionButton, \
10, 1, 10, 3, 8, LightType::LightType_ActionButton, \
11, 1, 12, 3, 9, LightType::LightType_ActionButton
#define LIGHT_DATA_NAME_1 "Haute/Cosmox T12"


// Keyboard Host enabled by default
#define KEYBOARD_HOST_ENABLED 1

#define BOARD_LED_ENABLED 1
#define BOARD_LED_TYPE ON_BOARD_LED_MODE_MODE_INDICATOR
#define BOARD_LED_ENABLED 1
#define BOARD_LED_TYPE ON_BOARD_LED_MODE_MODE_INDICATOR

#define DEFAULT_SPLASH \
#define DEFAULT_SPLASH \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
Expand Down Expand Up @@ -364,4 +425,4 @@
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00

#endif
#endif
3 changes: 1 addition & 2 deletions configs/Haute42COSMOXMLite/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@

#define BOARD_LEDS_PIN 28
#define LED_BRIGHTNESS_MAXIMUM 200
#define LEDS_BRIGHTNESS 200
#define LED_BRIGHTNESS_STEPS 5
#define LEDS_BRIGHTNESS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1
#define LEDS_BASE_ANIMATION_INDEX 1
Expand Down
53 changes: 51 additions & 2 deletions configs/Haute42COSMOXMUltra/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@

#define BOARD_LEDS_PIN 28
#define LED_BRIGHTNESS_MAXIMUM 200
#define LEDS_BRIGHTNESS 200
#define LED_BRIGHTNESS_STEPS 5
#define LEDS_BRIGHTNESS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1
#define LEDS_BASE_ANIMATION_INDEX 1
Expand Down Expand Up @@ -202,6 +201,56 @@
#define BOARD_LED_ENABLED 1
#define BOARD_LED_TYPE ON_BOARD_LED_MODE_MODE_INDICATOR

#define LIGHT_DATA_NAME_DEFAULT "Haute42|Cosmox M Ultra Gen 2"
#define LIGHT_DATA_SIZE_DEFAULT 46 //number of sets in the below data
#define LIGHT_DATA_DEFAULT \
0, 1, 4, 4, 5, LightType::LightType_ActionButton, \
1, 1, 6, 4, 3, LightType::LightType_ActionButton, \
2, 1, 8, 5, 4, LightType::LightType_ActionButton, \
3, 1, 9, 9, 2, LightType::LightType_ActionButton, \
4, 1, 10, 4, 10, LightType::LightType_ActionButton, \
5, 1, 12, 3, 11, LightType::LightType_ActionButton, \
6, 1, 14, 3, 12, LightType::LightType_ActionButton, \
7, 1, 16, 4, 13, LightType::LightType_ActionButton, \
8, 1, 10, 6, 6, LightType::LightType_ActionButton, \
9, 1, 12, 5, 7, LightType::LightType_ActionButton, \
10, 1, 14, 5, 8, LightType::LightType_ActionButton, \
11, 1, 16, 6, 9, LightType::LightType_ActionButton, \
12, 1, 7, 2, 27, LightType::LightType_ActionButton, \
13, 1, 7, 8, 18, LightType::LightType_ActionButton, \
14, 1, 11, 8, 19, LightType::LightType_ActionButton, \
15, 1, 2, 5, 26, LightType::LightType_ActionButton, \
16, 1, 8, 0, 0, LightType::LightType_Case, \
17, 1, 6, 0, 1, LightType::LightType_Case, \
18, 1, 4, 0, 2, LightType::LightType_Case, \
19, 1, 2, 0, 3, LightType::LightType_Case, \
20, 1, 0, 0, 4, LightType::LightType_Case, \
21, 1, 0, 2, 5, LightType::LightType_Case, \
22, 1, 0, 4, 6, LightType::LightType_Case, \
23, 1, 0, 6, 7, LightType::LightType_Case, \
24, 1, 0, 8, 8, LightType::LightType_Case, \
25, 1, 0, 10, 9, LightType::LightType_Case, \
26, 1, 0, 12, 10, LightType::LightType_Case, \
27, 1, 2, 12, 11, LightType::LightType_Case, \
28, 1, 4, 12, 12, LightType::LightType_Case, \
29, 1, 6, 12, 13, LightType::LightType_Case, \
30, 1, 8, 12, 14, LightType::LightType_Case, \
31, 1, 10, 12, 15, LightType::LightType_Case, \
32, 1, 12, 12, 16, LightType::LightType_Case, \
33, 1, 14, 12, 17, LightType::LightType_Case, \
34, 1, 16, 12, 18, LightType::LightType_Case, \
35, 1, 18, 12, 19, LightType::LightType_Case, \
36, 1, 18, 10, 20, LightType::LightType_Case, \
37, 1, 18, 8, 21, LightType::LightType_Case, \
38, 1, 18, 6, 22, LightType::LightType_Case, \
39, 1, 18, 4, 23, LightType::LightType_Case, \
40, 1, 18, 2, 24, LightType::LightType_Case, \
41, 1, 18, 0, 25, LightType::LightType_Case, \
42, 1, 16, 0, 26, LightType::LightType_Case, \
43, 1, 14, 0, 27, LightType::LightType_Case, \
44, 1, 12, 0, 28, LightType::LightType_Case, \
45, 1, 10, 0, 29, LightType::LightType_Case

#define DEFAULT_SPLASH \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
Expand Down
1 change: 0 additions & 1 deletion configs/Haute42COSMOXXAnalog/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
#define GPIO_PIN_14 GpioAction::BUTTON_PRESS_TURBO

#define LED_BRIGHTNESS_MAXIMUM 100
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1
#define LEDS_BASE_ANIMATION_INDEX 1
Expand Down
1 change: 0 additions & 1 deletion configs/MiSTercadeV2/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
#define BOARD_LEDS_PIN 28 // Addressible RGB LED for buttons

#define LED_BRIGHTNESS_MAXIMUM 150
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1

Expand Down
1 change: 0 additions & 1 deletion configs/Pico/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@

#define BOARD_LEDS_PIN 28
#define LED_BRIGHTNESS_MAXIMUM 100
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1

Expand Down
1 change: 0 additions & 1 deletion configs/Pico2/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@

#define BOARD_LEDS_PIN 28
#define LED_BRIGHTNESS_MAXIMUM 100
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1

Expand Down
1 change: 0 additions & 1 deletion configs/PicoAnn/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
#define BOARD_LEDS_PIN 15

#define LED_BRIGHTNESS_MAXIMUM 50
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@

#define BOARD_LEDS_PIN 4
#define LED_BRIGHTNESS_MAXIMUM 100
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1
#define LEDS_BASE_ANIMATION_INDEX 1
Expand Down
1 change: 0 additions & 1 deletion configs/SGFDevices/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@

#define BOARD_LEDS_PIN 7
#define LED_BRIGHTNESS_MAXIMUM 255
#define LED_BRIGHTNESS_STEPS 10
#define LEDS_PER_PIXEL 2

#define LEDS_DPAD_LEFT 0
Expand Down
1 change: 0 additions & 1 deletion configs/ZeroRhythm/BoardConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@

#define BOARD_LEDS_PIN 0
#define LED_BRIGHTNESS_MAXIMUM 100
#define LED_BRIGHTNESS_STEPS 5
#define LED_FORMAT LED_FORMAT_GRB
#define LEDS_PER_PIXEL 1
#define LEDS_BASE_ANIMATION_INDEX 1
Expand Down
Loading