From 913283022998091d59cd5d09e147f339a07ad457 Mon Sep 17 00:00:00 2001 From: era <73109780+eerraa@users.noreply.github.com> Date: Sat, 16 Aug 2025 10:01:47 +0900 Subject: [PATCH] Add Riley (#925) Add Riley --- keyboards/era/comm/Riley/config.h | 8 + keyboards/era/comm/Riley/keyboard.json | 114 +++++++++ .../era/comm/Riley/keymaps/default/keymap.c | 22 ++ .../era/comm/Riley/keymaps/vial/config.h | 7 + .../era/comm/Riley/keymaps/vial/keymap.c | 22 ++ .../era/comm/Riley/keymaps/vial/rules.mk | 2 + .../era/comm/Riley/keymaps/vial/vial.json | 222 ++++++++++++++++++ keyboards/era/comm/Riley/readme.md | 23 ++ keyboards/era/comm/Riley/readme.txt | 53 +++++ keyboards/era/comm/Riley/riley.c | 39 +++ keyboards/era/comm/Riley/riley.h | 6 + 11 files changed, 518 insertions(+) create mode 100644 keyboards/era/comm/Riley/config.h create mode 100644 keyboards/era/comm/Riley/keyboard.json create mode 100644 keyboards/era/comm/Riley/keymaps/default/keymap.c create mode 100644 keyboards/era/comm/Riley/keymaps/vial/config.h create mode 100644 keyboards/era/comm/Riley/keymaps/vial/keymap.c create mode 100644 keyboards/era/comm/Riley/keymaps/vial/rules.mk create mode 100644 keyboards/era/comm/Riley/keymaps/vial/vial.json create mode 100644 keyboards/era/comm/Riley/readme.md create mode 100644 keyboards/era/comm/Riley/readme.txt create mode 100644 keyboards/era/comm/Riley/riley.c create mode 100644 keyboards/era/comm/Riley/riley.h diff --git a/keyboards/era/comm/Riley/config.h b/keyboards/era/comm/Riley/config.h new file mode 100644 index 0000000000..f1b3a4b4a9 --- /dev/null +++ b/keyboards/era/comm/Riley/config.h @@ -0,0 +1,8 @@ +// Copyright 2025 Hyojin Bak (@eerraa) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + + +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U \ No newline at end of file diff --git a/keyboards/era/comm/Riley/keyboard.json b/keyboards/era/comm/Riley/keyboard.json new file mode 100644 index 0000000000..697d325a65 --- /dev/null +++ b/keyboards/era/comm/Riley/keyboard.json @@ -0,0 +1,114 @@ +{ + "manufacturer": "eerraa", + "keyboard_name": "Riley", + "maintainer": "eerraa", + "bootloader": "rp2040", + "build": { + "debounce_type": "sym_defer_pk" + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "indicators": { + "caps_lock": "GP25" + }, + "matrix_pins": { + "cols": ["GP29", "GP20", "GP19", "GP18", "GP15", "GP14", "GP13", "GP12", "GP11", "GP24", "GP23", "GP22", "GP9", "GP10"], + "rows": ["GP5", "GP8", "GP28", "GP26", "GP27"] + }, + "processor": "RP2040", + "rgb_matrix": { + "driver": "ws2812", + "layout": [ + {"x": 208, "y": 64, "flags": 8}, + {"x": 216, "y": 64, "flags": 8}, + {"x": 224, "y": 64, "flags": 8} + ], + "sleep": true + }, + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0024", + "vid": "0x4552" + }, + "ws2812": { + "driver": "vendor", + "pin": "GP4" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 14, "y": 0}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2}, + {"matrix": [2, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"matrix": [3, 1], "x": 1.25, "y": 3}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 13.75, "y": 2, "w": 1.25}, + {"matrix": [4, 1], "x": 1.5, "y": 4}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [4, 4], "x": 4, "y": 4, "w": 3}, + {"matrix": [4, 6], "x": 7, "y": 4}, + {"matrix": [4, 8], "x": 8, "y": 4, "w": 3}, + {"matrix": [4, 11], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 12.5, "y": 4}, + {"matrix": [4, 13], "x": 14.25, "y": 3} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/era/comm/Riley/keymaps/default/keymap.c b/keyboards/era/comm/Riley/keymaps/default/keymap.c new file mode 100644 index 0000000000..2f3b2491d6 --- /dev/null +++ b/keyboards/era/comm/Riley/keymaps/default/keymap.c @@ -0,0 +1,22 @@ +// Copyright 2025 Hyojin Bak (@eerraa) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + QK_GESC, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_MINS, KC_EQL , KC_BSLS, + KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_LBRC, KC_RBRC, KC_BSPC, + KC_CAPS, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT, KC_NUHS, KC_BSLS, + KC_LSFT, KC_NUBS, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_RSFT, KC_ENT, + KC_LCTL, KC_LALT, KC_SPC , KC_SPC , KC_SPC , KC_RALT, KC_RCTL, MO(1) + ), + [1] = LAYOUT( + KC_GRV, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , KC_DEL, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS , KC_HOME, KC_PGUP, KC_PSCR, KC_SCRL, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL , KC_END , KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/era/comm/Riley/keymaps/vial/config.h b/keyboards/era/comm/Riley/keymaps/vial/config.h new file mode 100644 index 0000000000..2c22a5cbba --- /dev/null +++ b/keyboards/era/comm/Riley/keymaps/vial/config.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#pragma once + +#define VIAL_KEYBOARD_UID {0x08, 0x57, 0xF6, 0x88, 0xF6, 0x14, 0xCD, 0x5F} +#define VIAL_UNLOCK_COMBO_ROWS { 0, 3 } +#define VIAL_UNLOCK_COMBO_COLS { 0, 13 } \ No newline at end of file diff --git a/keyboards/era/comm/Riley/keymaps/vial/keymap.c b/keyboards/era/comm/Riley/keymaps/vial/keymap.c new file mode 100644 index 0000000000..2f3b2491d6 --- /dev/null +++ b/keyboards/era/comm/Riley/keymaps/vial/keymap.c @@ -0,0 +1,22 @@ +// Copyright 2025 Hyojin Bak (@eerraa) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + QK_GESC, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_MINS, KC_EQL , KC_BSLS, + KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_LBRC, KC_RBRC, KC_BSPC, + KC_CAPS, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT, KC_NUHS, KC_BSLS, + KC_LSFT, KC_NUBS, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_RSFT, KC_ENT, + KC_LCTL, KC_LALT, KC_SPC , KC_SPC , KC_SPC , KC_RALT, KC_RCTL, MO(1) + ), + [1] = LAYOUT( + KC_GRV, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , KC_DEL, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS , KC_HOME, KC_PGUP, KC_PSCR, KC_SCRL, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL , KC_END , KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/era/comm/Riley/keymaps/vial/rules.mk b/keyboards/era/comm/Riley/keymaps/vial/rules.mk new file mode 100644 index 0000000000..6bc7063adc --- /dev/null +++ b/keyboards/era/comm/Riley/keymaps/vial/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes \ No newline at end of file diff --git a/keyboards/era/comm/Riley/keymaps/vial/vial.json b/keyboards/era/comm/Riley/keymaps/vial/vial.json new file mode 100644 index 0000000000..c2fa2b4a11 --- /dev/null +++ b/keyboards/era/comm/Riley/keymaps/vial/vial.json @@ -0,0 +1,222 @@ +{ + "name": "RILEY", + "vendorId": "0x4552", + "productId": "0x0024", + "lighting": "none", + "matrix": { + "rows": 5, + "cols": 14 + }, + "layouts": { + "labels": [ + [ + "Backspace", + "Unified", + "Split" + ], + [ + "Enter", + "ANSI", + "ISO" + ], + [ + "Left Shift", + "ANSI", + "ISO" + ], + [ + "Right Shift", + "Unified", + "Split" + ], + [ + "Bottom Row", + "7U", + "Split" + ] + ], + "keymap": [ + [ + { + "x": 2.75, + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "1,13\n\n\n0,0", + { + "x": 1.25, + "c": "#cccccc" + }, + "0,13\n\n\n0,1", + "1,13\n\n\n0,1" + ], + [ + { + "x": 2.75, + "c": "#aaaaaa", + "w": 1.5 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "w": 1.5 + }, + "2,13\n\n\n1,0", + { + "x": 2, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "3,13\n\n\n1,1" + ], + [ + { + "x": 2.75, + "c": "#aaaaaa", + "w": 1.75 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + { + "c": "#777777", + "w": 2.25 + }, + "3,13\n\n\n1,0", + { + "x": 1, + "c": "#cccccc" + }, + "2,12\n\n\n1,1" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "3,0\n\n\n2,1", + { + "c": "#cccccc" + }, + "3,1\n\n\n2,1", + { + "x": 0.5, + "c": "#aaaaaa", + "w": 2.25 + }, + "3,0\n\n\n2,0", + { + "c": "#cccccc" + }, + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "c": "#aaaaaa", + "w": 2.75 + }, + "3,12\n\n\n3,0", + { + "x": 0.5, + "w": 1.75 + }, + "3,12\n\n\n3,1", + { + "c": "#cccccc" + }, + "4,13\n\n\n3,1" + ], + [ + { + "x": 4.25, + "c": "#aaaaaa" + }, + "4,1", + { + "w": 1.5 + }, + "4,2", + { + "c": "#cccccc", + "w": 7 + }, + "4,6\n\n\n4,0", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,11", + "4,12" + ], + [ + { + "x": 6.75, + "c": "#cccccc", + "w": 3 + }, + "4,4\n\n\n4,1", + "4,6\n\n\n4,1", + { + "w": 3 + }, + "4,8\n\n\n4,1" + ] + ] + } +} diff --git a/keyboards/era/comm/Riley/readme.md b/keyboards/era/comm/Riley/readme.md new file mode 100644 index 0000000000..50445a206d --- /dev/null +++ b/keyboards/era/comm/Riley/readme.md @@ -0,0 +1,23 @@ +# Riley + +* Keyboard Maintainer: [ERA](https://github.com/eerraa) +* Hardware supported: Gok x Lily +* Hardware availability: The Group Buy for this hardware has concluded. The hardware may be available on aftermarket channels. + +Make example for this keyboard (after setting up your build environment): + + make era/comm/riley:default + +Flashing example for this keyboard: + + make era/comm/riley:default:flash + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at ESC(0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly short the `RESET` and `GND` pads on the SWD header twice, or short the `BOOT` header and plug in keyboard +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available \ No newline at end of file diff --git a/keyboards/era/comm/Riley/readme.txt b/keyboards/era/comm/Riley/readme.txt new file mode 100644 index 0000000000..77ab447bbd --- /dev/null +++ b/keyboards/era/comm/Riley/readme.txt @@ -0,0 +1,53 @@ +################################################## +# 펌웨어 업데이트 방법 (Firmware Update Guide) +################################################## + +[한글 설명] + +■ 펌웨어 업데이트 절차 + +1. 아래 3가지 방법 중 하나를 선택하여 키보드를 '부트로더(Bootloader)' 모드로 진입시킵니다. +2. 부트로더 모드에 정상적으로 진입하면, 컴퓨터에 'RPI-RP2'와 같은 이름의 새로운 이동식 디스크가 나타납니다. +3. 이 디스크에 준비된 펌웨어(.uf2) 파일을 복사하여 붙여넣으면 잠시 후 자동으로 업데이트가 완료됩니다. + + +■ 부트로더 모드 진입 방법 (3가지) + +1. 부트매직(Bootmagic) 사용 + - 키보드의 좌측 상단 키(일반적으로 Esc 키)를 누른 상태로 USB 케이블을 연결합니다. + +2. 물리적 리셋(Physical Reset) 사용 + - 기판(PCB)의 리셋 버튼을 빠르게 두 번 누릅니다. (버튼이 있는 경우) + - 또는, 기판의 'RST' 핀과 'GND' 핀을 핀셋 등으로 짧게 두 번 접촉(쇼트)시킵니다. + - 또는, 'BOOT' 헤더 핀 두 개를 쇼트시킨 상태로 USB 케이블을 연결합니다. + +3. 리셋 키코드(Reset Keycode) 사용 + - 키맵에 'QK_BOOT' 또는 'RESET'으로 미리 설정해 둔 키를 누릅니다. + - (이 방법은 키맵에 해당 기능 키를 미리 할당한 경우에만 사용할 수 있습니다.) + + +====================================================================== + + +[English Description] + +■ How to Flash Firmware + +1. Enter the keyboard's "Bootloader" mode using one of the three methods described below. +2. Once the keyboard is in bootloader mode, a new removable disk (e.g., "RPI-RP2") will appear on your computer. +3. Copy-paste or drag-and-drop your prepared firmware file (e.g., firmware.uf2) onto this disk. The update will complete automatically. + + +■ Three Ways to Enter Bootloader Mode + +1. Using Bootmagic + - Hold down the top-left key of the keyboard (usually the Esc key) while plugging in the USB cable. + +2. Using Physical Reset + - Quickly double-press the reset button on the PCB, if one exists. + - Alternatively, use tweezers to briefly short the 'RST' and 'GND' pins on the PCB twice. + - Alternatively, short the two 'BOOT' header pins while plugging in the USB cable. + +3. Using a Reset Keycode + - Press the key that you have assigned to 'QK_BOOT' or 'RESET' in your keymap. + - (This method only works if you have already configured such a key in your layout.) \ No newline at end of file diff --git a/keyboards/era/comm/Riley/riley.c b/keyboards/era/comm/Riley/riley.c new file mode 100644 index 0000000000..9f3fa0aed1 --- /dev/null +++ b/keyboards/era/comm/Riley/riley.c @@ -0,0 +1,39 @@ +// Copyright 2025 Hyojin Bak (@eerraa) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "quantum.h" +#include "rgb_matrix.h" +#include "riley.h" + +bool rgb_matrix_indicators_kb(void) { + if (!rgb_matrix_indicators_user()) { + return false; + } + + led_t led_state = host_keyboard_led_state(); + + if (led_state.caps_lock) { + RGB rgb = hsv_to_rgb((HSV){0, 255, 255}); // Red + rgb_matrix_set_color(0, rgb.r, rgb.g, rgb.b); + } + + if (led_state.scroll_lock) { + RGB rgb = hsv_to_rgb((HSV){170, 255, 255}); // Blue + rgb_matrix_set_color(1, rgb.r, rgb.g, rgb.b); + } + + if (led_state.num_lock) { + RGB rgb = hsv_to_rgb((HSV){85, 255, 255}); // Green + rgb_matrix_set_color(2, rgb.r, rgb.g, rgb.b); + } + + return true; +} + +void keyboard_post_init_kb(void) { + rgb_matrix_enable_noeeprom(); + rgb_matrix_mode_noeeprom(RGB_MATRIX_SOLID_COLOR); + rgb_matrix_sethsv_noeeprom(0, 0, 0); + + keyboard_post_init_user(); +} \ No newline at end of file diff --git a/keyboards/era/comm/Riley/riley.h b/keyboards/era/comm/Riley/riley.h new file mode 100644 index 0000000000..98570ccccb --- /dev/null +++ b/keyboards/era/comm/Riley/riley.h @@ -0,0 +1,6 @@ +// Copyright 2025 Hyojin Bak (@eerraa) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "quantum.h" \ No newline at end of file