Update to work with the latest QMK distribution
This commit is contained in:
parent
843ca1860d
commit
daad3d2cc4
4 changed files with 18 additions and 10 deletions
2
config.h
2
config.h
|
@ -43,7 +43,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
/* for home-row-mod */
|
/* for home-row-mod */
|
||||||
#define TAPPING_TERM 200 // default
|
#define TAPPING_TERM 200 // default
|
||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
//#define IGNORE_MOD_TAP_INTERRUPT // no longer necessary as is default
|
||||||
//#define HOLD_ON_OTHER_KEY_PRESS
|
//#define HOLD_ON_OTHER_KEY_PRESS
|
||||||
|
|
||||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 5
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 5
|
||||||
|
|
5
keymap.c
5
keymap.c
|
@ -111,7 +111,7 @@ void render_bootmagic_status(bool status) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void oled_render_logo(void) {
|
void corne_oled_render_logo(void) {
|
||||||
static const char PROGMEM crkbd_logo[] = {
|
static const char PROGMEM crkbd_logo[] = {
|
||||||
0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94,
|
0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94,
|
||||||
0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4,
|
0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4,
|
||||||
|
@ -120,12 +120,13 @@ void oled_render_logo(void) {
|
||||||
oled_write_P(crkbd_logo, false);
|
oled_write_P(crkbd_logo, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool oled_task_user(void) {
|
bool oled_task_user(void) {
|
||||||
if (is_keyboard_master()) {
|
if (is_keyboard_master()) {
|
||||||
oled_render_layer_state();
|
oled_render_layer_state();
|
||||||
oled_render_keylog();
|
oled_render_keylog();
|
||||||
} else {
|
} else {
|
||||||
oled_render_logo();
|
corne_oled_render_logo();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,3 +40,7 @@ This layer also have the „super-alt-tab” where the tab key is located on the
|
||||||
#+begin_src shell
|
#+begin_src shell
|
||||||
qmk flash -kb crkbd/r2g ; qmk flash -kb crkbd/r2g
|
qmk flash -kb crkbd/r2g ; qmk flash -kb crkbd/r2g
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Troubleshoting
|
||||||
|
Had to update my Windows usb driver using [[https://docs.qmk.fm/#/driver_installation_zadig]] guide
|
||||||
|
to have qmk recognise my device when switching to bootloader mode via double clicking the reset button on the keyboard.
|
||||||
|
|
17
rules.mk
17
rules.mk
|
@ -1,8 +1,11 @@
|
||||||
MOUSEKEY_ENABLE = no # Mouse keys
|
SPLIT_KEYBOARD = yes
|
||||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
MOUSEKEY_ENABLE = no # Mouse keys
|
||||||
VIA_ENABLE = no # Enable VIA
|
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
||||||
OLED_ENABLE = yes
|
RGB_MATRIX_ENABLE = no
|
||||||
OLED_DRIVER = SSD1306
|
VIA_ENABLE = no # Enable VIA
|
||||||
LTO_ENABLE = yes
|
OLED_ENABLE = yes
|
||||||
|
OLED_DRIVER = ssd1306
|
||||||
|
LTO_ENABLE = yes
|
||||||
DYNAMIC_MACRO_ENABLE = yes
|
DYNAMIC_MACRO_ENABLE = yes
|
||||||
TRI_LAYER_ENABLE = yes
|
TRI_LAYER_ENABLE = yes
|
||||||
|
MUSIC_ENABLE = no
|
||||||
|
|
Loading…
Reference in a new issue