Diff
1diff --git a/keyboards/blackplum/keymaps/default/keymap.c b/keyboards/blackplum/keymaps/default/keymap.c
2index 6cab19864d6d4594ab068d1577ae000d8c289c80..3101d1159e5c3e000b12a25037eb2ab19fb84ad4 100644
3--- a/keyboards/blackplum/keymaps/default/keymap.c
4+++ b/keyboards/blackplum/keymaps/default/keymap.c
5@@ -1,16 +1,8 @@
6 #include QMK_KEYBOARD_H
7
8-// Each layer gets a name for readability, which is then used in the keymap matrix below.
9-// The underscores don't mean anything - you can have a layer called STUFF or any other name.
10-// Layer names don't all need to be of the same length, obviously, and you can also skip them
11-// entirely and just use numbers.
12-#define _BASE 0
13-#define _FN 1
14-
15-
16-
17-enum custom_keycodes {
18- TG_GUI = SAFE_RANGE
19+enum layer_names {
20+ _BASE,
21+ _FN
22 };
23
24 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25@@ -27,17 +19,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
26 _______, UG_NEXT, UG_HUEU, UG_SATU, UG_VALU, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, _______, KC_MUTE, KC_END,
27 _______, UG_TOGG, UG_HUED, UG_SATD, UG_VALD, _______, _______, _______, _______, _______, _______, _______, _______,
28 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU,
29- _______, TG_GUI,_______, QK_BOOT, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT
30+ _______, GU_TOGG, _______, QK_BOOT, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT
31 )
32 };
33-
34-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
35- if(record->event.pressed) {
36- switch(keycode) {
37- case TG_GUI:
38- keymap_config.no_gui ^= 1;
39- return false;
40- }
41- }
42- return true;
43-}