aboutsummaryrefslogtreecommitdiff
path: root/keyboards/nix_studio/oxalys80
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nix_studio/oxalys80')
-rw-r--r--keyboards/nix_studio/oxalys80/config.h (renamed from keyboards/nix_studio/oxalys80/oxalys80.c)12
-rw-r--r--keyboards/nix_studio/oxalys80/keyboard.json3
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/nix_studio/oxalys80/oxalys80.c b/keyboards/nix_studio/oxalys80/config.h
index cfebb71043..7943ea4a25 100644
--- a/keyboards/nix_studio/oxalys80/oxalys80.c
+++ b/keyboards/nix_studio/oxalys80/config.h
@@ -13,14 +13,6 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
-#include "quantum.h"
-
-void eeconfig_init_kb(void) { // EEPROM is getting reset!
- rgblight_enable(); // Enable RGB by default
- rgblight_sethsv(0, 255, 128); // Set default HSV - red hue, full saturation, medium brightness
- rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default
-
- eeconfig_update_kb(0);
- eeconfig_init_user();
-}
+#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
diff --git a/keyboards/nix_studio/oxalys80/keyboard.json b/keyboards/nix_studio/oxalys80/keyboard.json
index 5fa489f72b..470c43ea2f 100644
--- a/keyboards/nix_studio/oxalys80/keyboard.json
+++ b/keyboards/nix_studio/oxalys80/keyboard.json
@@ -39,6 +39,9 @@
"pin": "B3"
},
"rgblight": {
+ "default": {
+ "val": 128
+ },
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 24,