Skip to content

Commit c6b6815

Browse files
committed
feat: 🎸 Add Corne layout
1 parent 1f34eb1 commit c6b6815

7 files changed

Lines changed: 393 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#pragma once
2+
3+
#include "rgb_matrix.h"
4+
5+
// -- To reduce memory use
6+
#define LAYER_STATE_8BIT
7+
#define NO_MUSIC_MODE
8+
#undef LOCKING_SUPPORT_ENABLE
9+
#undef LOCKING_RESYNC_ENABLE
10+
#define NO_ACTION_ONESHOT
11+
12+
// -- To reduce memory use END
13+
14+
// -- PTH
15+
// https://github.com/jgandert/qmk_modules/blob/main/predictive_tap_hold/README.md
16+
// #define PTH_DISABLED
17+
#define TAPPING_TERM 0
18+
#define PTH_FAST_STREAK_TAP_ENABLE
19+
// #define PTH_DEBUG
20+
#define PTH_DONT_HOLD_INSTANTLY
21+
// -- PTH end
22+
23+
// -- App Companion
24+
// https://docs.qmk.fm/features/rawhid#usage
25+
// https://github.com/maatthc/qmk_layers_app_companion
26+
#define RAW_EPSIZE 32
27+
#define PAYLOAD_MARK 0x90
28+
#define PAYLOAD_BEGIN 24
29+
#define RAW_USAGE_PAGE 0xFF60
30+
#define RAW_USAGE 0x61
31+
// -- App Companion end
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// clang-format off
2+
#include QMK_KEYBOARD_H
3+
#include "raw_hid.h"
4+
#include "keymap.h"
5+
6+
// Notifies the host of the layer change using raw HID
7+
// https://docs.qmk.fm/features/rawhid#usage
8+
//
9+
#ifdef RAW_ENABLE
10+
layer_state_t layer_state_set_user(layer_state_t state) {
11+
uint8_t hi_layer = get_highest_layer(state);
12+
#ifdef CONSOLE_ENABLE
13+
#include "print.h"
14+
uprintf("LAYER: Selected Layer: %d\n", hi_layer);
15+
#endif
16+
uint8_t response[RAW_EPSIZE];
17+
memset(response, 0x00, RAW_EPSIZE);
18+
response[PAYLOAD_BEGIN] = PAYLOAD_MARK;
19+
response[PAYLOAD_BEGIN + 1] = hi_layer;
20+
raw_hid_send(response, RAW_EPSIZE);
21+
return state;
22+
}
23+
#endif /* ifdef RAW_ENABLE */
24+
25+
// Predictive tap hold: https://github.com/jgandert/qmk_modules/tree/main/predictive_tap_hold
26+
const uint8_t pth_side_layout[MATRIX_ROWS][MATRIX_COLS] PROGMEM = LAYOUT_split_3x6_3(
27+
PTH_L, PTH_L, PTH_L, PTH_L, PTH_L,PTH_L, PTH_R, PTH_R, PTH_R, PTH_R, PTH_R, PTH_R,
28+
PTH_L, PTH_L, PTH_L, PTH_L, PTH_L,PTH_L, PTH_R, PTH_R, PTH_R, PTH_R, PTH_R, PTH_R,
29+
PTH_L, PTH_L, PTH_L, PTH_L, PTH_L,PTH_L, PTH_R, PTH_R, PTH_R, PTH_R, PTH_R, PTH_R,
30+
PTH_L, PTH_L, PTH_L, PTH_R, PTH_R, PTH_R
31+
);
32+
33+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
34+
[L_BASE]=LAYER(LAYER_BASE),
35+
[L_MEDIA]=LAYER(LAYER_MEDIA),
36+
[L_NAV]=LAYER(LAYER_NAV),
37+
[L_NUM]=LAYER(LAYER_NUM),
38+
[L_SYM]=LAYER(LAYER_SYM),
39+
[L_FUN]=LAYER(LAYER_FUN),
40+
};
41+
42+
#ifdef OLED_ENABLE
43+
#include "oled.c"
44+
#endif
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"modules": ["jgandert/predictive_tap_hold"]
3+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
#include "quantum.h"
2+
3+
static void oled_render_layer_state(void) {
4+
oled_write_P(PSTR("Layer: "), false);
5+
switch (get_highest_layer(layer_state)) {
6+
case 0:
7+
oled_write_ln_P(PSTR("Base"), false);
8+
break;
9+
case 1:
10+
oled_write_ln_P(PSTR("Navigation"), false);
11+
break;
12+
case 2:
13+
oled_write_ln_P(PSTR("Mouse"), false);
14+
break;
15+
case 3:
16+
oled_write_ln_P(PSTR("Media"), false);
17+
break;
18+
case 4:
19+
oled_write_ln_P(PSTR("Number"), false);
20+
break;
21+
case 5:
22+
oled_write_ln_P(PSTR("Symbol"), false);
23+
break;
24+
case 6:
25+
oled_write_ln_P(PSTR("Functions"), false);
26+
break;
27+
default:
28+
oled_write_ln_P(PSTR("Undef"), false);
29+
break;
30+
}
31+
}
32+
33+
static char key_name = ' ';
34+
uint16_t last_keycode;
35+
uint8_t last_row;
36+
uint8_t last_col;
37+
38+
static const char PROGMEM code_to_name[60] = {' ', ' ', ' ', ' ', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', 'R', 'E', 'B', 'T', '_', '-', '=', '[', ']', '\\', '#', ';', '\'', '`', ',', '.', '/', ' ', ' ', ' '};
39+
40+
static const char *depad_str(const char *depad_str, char depad_char) {
41+
while (*depad_str == depad_char)
42+
++depad_str;
43+
return depad_str;
44+
}
45+
46+
static void oled_render_keylog(void) {
47+
oled_write_char('0' + last_row, false);
48+
oled_write_P(PSTR("x"), false);
49+
oled_write_char('0' + last_col, false);
50+
oled_write_P(PSTR(", k"), false);
51+
const char *last_keycode_str = get_u16_str(last_keycode, ' ');
52+
oled_write(depad_str(last_keycode_str, ' '), false);
53+
oled_write_P(PSTR(":"), false);
54+
oled_write_char(key_name, false);
55+
oled_advance_page(true);
56+
}
57+
58+
void oled_render_logo(void) {
59+
// clang-format off
60+
static const char PROGMEM crkbd_logo[] = {
61+
0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94,
62+
0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4,
63+
0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4,
64+
0};
65+
// clang-format on
66+
// oled_clear();
67+
oled_write_P(crkbd_logo, false);
68+
}
69+
70+
bool oled_task_user(void) {
71+
if (is_keyboard_master()) {
72+
oled_render_layer_state();
73+
oled_render_keylog();
74+
} else {
75+
oled_render_logo();
76+
}
77+
return false;
78+
}
Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
#pragma once
2+
3+
#ifdef RGB_MATRIX_ENABLE
4+
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
5+
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
6+
# define RGB_MATRIX_SLEEP // turn off effects when suspended
7+
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
8+
// # define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
9+
// # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
10+
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
11+
# define RGB_MATRIX_HUE_STEP 8
12+
# define RGB_MATRIX_SAT_STEP 8
13+
# define RGB_MATRIX_VAL_STEP 8
14+
# define RGB_MATRIX_SPD_STEP 10
15+
16+
/* Enable the animations you want/need. You may need to enable only a small number of these because *
17+
* they take up a lot of space. Enable and confirm that you can still successfully compile your firmware. */
18+
// RGB Matrix Animation modes. Explicitly enabled
19+
// For full list of effects, see:
20+
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
21+
# define ENABLE_RGB_MATRIX_ALPHAS_MODS
22+
# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
23+
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
24+
# define ENABLE_RGB_MATRIX_BREATHING
25+
# define ENABLE_RGB_MATRIX_BAND_SAT
26+
# define ENABLE_RGB_MATRIX_BAND_VAL
27+
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
28+
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
29+
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
30+
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
31+
# define ENABLE_RGB_MATRIX_CYCLE_ALL
32+
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
33+
# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
34+
# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
35+
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
36+
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
37+
# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
38+
# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
39+
# define ENABLE_RGB_MATRIX_DUAL_BEACON
40+
# define ENABLE_RGB_MATRIX_RAINBOW_BEACON
41+
# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
42+
# define ENABLE_RGB_MATRIX_RAINDROPS
43+
# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
44+
# define ENABLE_RGB_MATRIX_HUE_BREATHING
45+
# define ENABLE_RGB_MATRIX_HUE_PENDULUM
46+
# define ENABLE_RGB_MATRIX_HUE_WAVE
47+
# define ENABLE_RGB_MATRIX_PIXEL_RAIN
48+
# define ENABLE_RGB_MATRIX_PIXEL_FLOW
49+
# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
50+
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
51+
# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
52+
# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
53+
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
54+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
55+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
56+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
57+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
58+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
59+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
60+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
61+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
62+
# define ENABLE_RGB_MATRIX_SPLASH
63+
# define ENABLE_RGB_MATRIX_MULTISPLASH
64+
# define ENABLE_RGB_MATRIX_SOLID_SPLASH
65+
# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
66+
#endif
67+
#ifdef RGB_MATRIX_ENABLE
68+
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
69+
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
70+
# define RGB_MATRIX_SLEEP // turn off effects when suspended
71+
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
72+
// # define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
73+
// # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
74+
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
75+
# define RGB_MATRIX_HUE_STEP 8
76+
# define RGB_MATRIX_SAT_STEP 8
77+
# define RGB_MATRIX_VAL_STEP 8
78+
# define RGB_MATRIX_SPD_STEP 10
79+
80+
/* Enable the animations you want/need. You may need to enable only a small number of these because *
81+
* they take up a lot of space. Enable and confirm that you can still successfully compile your firmware. */
82+
// RGB Matrix Animation modes. Explicitly enabled
83+
// For full list of effects, see:
84+
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
85+
# define ENABLE_RGB_MATRIX_ALPHAS_MODS
86+
# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
87+
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
88+
# define ENABLE_RGB_MATRIX_BREATHING
89+
# define ENABLE_RGB_MATRIX_BAND_SAT
90+
# define ENABLE_RGB_MATRIX_BAND_VAL
91+
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
92+
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
93+
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
94+
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
95+
# define ENABLE_RGB_MATRIX_CYCLE_ALL
96+
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
97+
# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
98+
# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
99+
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
100+
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
101+
# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
102+
# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
103+
# define ENABLE_RGB_MATRIX_DUAL_BEACON
104+
# define ENABLE_RGB_MATRIX_RAINBOW_BEACON
105+
# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
106+
# define ENABLE_RGB_MATRIX_RAINDROPS
107+
# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
108+
# define ENABLE_RGB_MATRIX_HUE_BREATHING
109+
# define ENABLE_RGB_MATRIX_HUE_PENDULUM
110+
# define ENABLE_RGB_MATRIX_HUE_WAVE
111+
# define ENABLE_RGB_MATRIX_PIXEL_RAIN
112+
# define ENABLE_RGB_MATRIX_PIXEL_FLOW
113+
# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
114+
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
115+
# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
116+
# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
117+
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
118+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
119+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
120+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
121+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
122+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
123+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
124+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
125+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
126+
# define ENABLE_RGB_MATRIX_SPLASH
127+
# define ENABLE_RGB_MATRIX_MULTISPLASH
128+
# define ENABLE_RGB_MATRIX_SOLID_SPLASH
129+
# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
130+
#endif
131+
#ifdef RGB_MATRIX_ENABLE
132+
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
133+
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
134+
# define RGB_MATRIX_SLEEP // turn off effects when suspended
135+
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
136+
// # define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
137+
// # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
138+
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
139+
# define RGB_MATRIX_HUE_STEP 8
140+
# define RGB_MATRIX_SAT_STEP 8
141+
# define RGB_MATRIX_VAL_STEP 8
142+
# define RGB_MATRIX_SPD_STEP 10
143+
144+
/* Enable the animations you want/need. You may need to enable only a small number of these because *
145+
* they take up a lot of space. Enable and confirm that you can still successfully compile your firmware. */
146+
// RGB Matrix Animation modes. Explicitly enabled
147+
// For full list of effects, see:
148+
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
149+
# define ENABLE_RGB_MATRIX_ALPHAS_MODS
150+
# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
151+
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
152+
# define ENABLE_RGB_MATRIX_BREATHING
153+
# define ENABLE_RGB_MATRIX_BAND_SAT
154+
# define ENABLE_RGB_MATRIX_BAND_VAL
155+
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
156+
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
157+
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
158+
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
159+
# define ENABLE_RGB_MATRIX_CYCLE_ALL
160+
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
161+
# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
162+
# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
163+
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
164+
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
165+
# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
166+
# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
167+
# define ENABLE_RGB_MATRIX_DUAL_BEACON
168+
# define ENABLE_RGB_MATRIX_RAINBOW_BEACON
169+
# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
170+
# define ENABLE_RGB_MATRIX_RAINDROPS
171+
# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
172+
# define ENABLE_RGB_MATRIX_HUE_BREATHING
173+
# define ENABLE_RGB_MATRIX_HUE_PENDULUM
174+
# define ENABLE_RGB_MATRIX_HUE_WAVE
175+
# define ENABLE_RGB_MATRIX_PIXEL_RAIN
176+
# define ENABLE_RGB_MATRIX_PIXEL_FLOW
177+
# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
178+
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
179+
# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
180+
# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
181+
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
182+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
183+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
184+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
185+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
186+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
187+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
188+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
189+
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
190+
# define ENABLE_RGB_MATRIX_SPLASH
191+
# define ENABLE_RGB_MATRIX_MULTISPLASH
192+
# define ENABLE_RGB_MATRIX_SOLID_SPLASH
193+
# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
194+
#endif
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
BOOTLOADER = atmel-dfu
2+
3+
#To reduce memory use
4+
LTO_ENABLE = yes
5+
6+
COMMAND_ENABLE = no
7+
SPACE_CADET_ENABLE = no
8+
GRAVE_ESC_ENABLE = no
9+
MAGIC_ENABLE = no
10+
BOOTMAGIC_ENABLE = no
11+
AVR_USE_MINIMAL_PRINTF = yes
12+
13+
MUSIC_ENABLE = no
14+
AUDIO_ENABLE = no
15+
16+
MOUSEKEY_ENABLE = no
17+
NKRO_ENABLE = no
18+
#To reduce memory use END
19+
20+
OLED_ENABLE = yes
21+
RGBLIGHT_ENABLE = yes
22+
RGB_MATRIX_ENABLE = no
23+
24+
EXTRAKEY_ENABLE = yes # Audio control and System control
25+
AUTO_SHIFT_ENABLE = no
26+
CAPS_WORD_ENABLE = yes
27+
28+
# CONSOLE_ENABLE = yes
29+
# KEYCODE_STRING_ENABLE = yes
30+
31+
RAW_ENABLE = yes
32+
WPM_ENABLE = yes

keyboards/crkbd/rev1/readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Corne GLP (Gateron Low Profile)
2+
3+
![Corne GLP Keyboard](https://github.com/beekeeb/crkbd-glp/raw/main/docs/banner.jpg)
4+
5+
6+
The Corne GLP (Gateron Low Profile) is a variant of the Corne v3 keyboard, originally created by [foostan](https://github.com/foostan/crkbd "foostan"). It supports Gateron low-profile key switches (KS-27 and KS-33). The original Corne firmware can be used with this keyboard.
7+
8+
* Keyboard Maintainer: [beekeeb](https://github.com/beekeeb/crkbd-glp/)
9+
* Hardware Supported: Pro Micro or equivalent
10+
* Hardware Availability: https://shop.beekeeb.com
11+

0 commit comments

Comments
 (0)