aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bpiphany
diff options
context:
space:
mode:
authorfenuks <fenuks@o2.pl>2021-11-29 16:41:21 +0000
committerGitHub <noreply@github.com>2021-11-29 08:41:21 -0800
commit507dd18f2436a07abe49fdbd1ef851bb8b7ca324 (patch)
tree7d1b3232c8a5eb1558988696c4daa4e5e36a8bd1 /keyboards/bpiphany
parent6716f1d2df6e571dd602621f0495fab128aa5b72 (diff)
downloadqmk_firmware-507dd18f2436a07abe49fdbd1ef851bb8b7ca324.tar.gz
qmk_firmware-507dd18f2436a07abe49fdbd1ef851bb8b7ca324.zip
[Keyboard] Adapt downsteam Ghost Squid support to latest QMK (#14607)
Co-authored-by: fenuks <fenuks>
Diffstat (limited to 'keyboards/bpiphany')
-rw-r--r--keyboards/bpiphany/ghost_squid/config.h42
-rw-r--r--keyboards/bpiphany/ghost_squid/ghost_squid.c26
-rw-r--r--keyboards/bpiphany/ghost_squid/ghost_squid.h44
-rw-r--r--keyboards/bpiphany/ghost_squid/keymaps/default/keymap.c77
-rw-r--r--keyboards/bpiphany/ghost_squid/keymaps/default/readme.md1
-rw-r--r--keyboards/bpiphany/ghost_squid/matrix.c97
-rw-r--r--keyboards/bpiphany/ghost_squid/readme.md27
-rw-r--r--keyboards/bpiphany/ghost_squid/rules.mk23
8 files changed, 337 insertions, 0 deletions
diff --git a/keyboards/bpiphany/ghost_squid/config.h b/keyboards/bpiphany/ghost_squid/config.h
new file mode 100644
index 000000000..bb8535b17
--- /dev/null
+++ b/keyboards/bpiphany/ghost_squid/config.h
@@ -0,0 +1,42 @@
1/*
2Copyright 2016 Daniel Svensson <dsvensson@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED
24#define PRODUCT_ID 0x6050
25#define DEVICE_VER 0x0104
26#define MANUFACTURER Bathroom Epiphanies
27#define PRODUCT ghost_squid
28
29/* key matrix size */
30#define MATRIX_ROWS 8
31#define MATRIX_COLS 18
32
33/* COL2ROW or ROW2COL */
34#define DIODE_DIRECTION COL2ROW
35
36#define LED_PIN_ON_STATE 0
37#define LED_NUM_LOCK_PIN C5
38#define LED_CAPS_LOCK_PIN C6
39#define LED_SCROLL_LOCK_PIN B7
40
41/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
42#define DEBOUNCE 5
diff --git a/keyboards/bpiphany/ghost_squid/ghost_squid.c b/keyboards/bpiphany/ghost_squid/ghost_squid.c
new file mode 100644
index 000000000..3ecac66f7
--- /dev/null
+++ b/keyboards/bpiphany/ghost_squid/ghost_squid.c
@@ -0,0 +1,26 @@
1/*
2Copyright 2016 Daniel Svensson <dsvensson@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include "ghost_squid.h"
19
20void keyboard_pre_init_kb(void) {
21 setPinOutput(D0);
22 writePinLow(D0);
23 fn_led_off();
24
25 keyboard_pre_init_user();
26}
diff --git a/keyboards/bpiphany/ghost_squid/ghost_squid.h b/keyboards/bpiphany/ghost_squid/ghost_squid.h
new file mode 100644
index 000000000..839c9fc12
--- /dev/null
+++ b/keyboards/bpiphany/ghost_squid/ghost_squid.h
@@ -0,0 +1,44 @@
1/*
2Copyright 2016 Daniel Svensson <dsvensson@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "quantum.h"
21
22#define fn_led_on() writePinLow(D0)
23#define fn_led_off() writePinHigh(D0)
24
25#define ___ KC_NO
26
27#define LAYOUT( \
28 KJ6, KI4, KH4, KH2, KH6, KA7, KE6, KD2, KD4, KB4, KB7, KB6, KB0, KC7, KC5, KA5, \
29 KJ4, KJ7, KI7, KH7, KG7, KG4, KF4, KF7, KE7, KD7, KR7, KR4, KE4, KB2, KL4, KO4, KQ4, KK1, KL1, KQ1, KQ0, \
30 KJ2, KJ5, KI5, KH5, KG5, KG2, KF2, KF5, KE5, KD5, KR5, KR2, KE2, KB3, KK4, KO7, KQ7, KK5, KL5, KQ5, KO5, \
31 KI2, KJ3, KI3, KH3, KG3, KG6, KF6, KF3, KE3, KD3, KR3, KR6, KB1, KK2, KL2, KQ2, \
32 KN2, KI6, KJ1, KI1, KH1, KG1, KG0, KF0, KF1, KE1, KD1, KR0, KN3, KO6, KK3, KL3, KQ3, KO3, \
33 KA4, KP2, KC6, KK6, KC0, KM3, KD0, KA1, KO0, KK0, KL0, KL6, KQ6 \
34 ) { /* 00-A 01-B 02-C 03-D 04-E 05-F 06-G 07-H 08-I 09-J 10-K 11-L 12-M 13-N 14-O 15-P 16-Q 17-R */ \
35 /* 0 */ { ___ , KB0 , KC0 , KD0 , ___ , KF0 , KG0 , ___ , ___ , ___ , KK0 , KL0 , ___ , ___ , KO0 , ___ , KQ0 , KR0 }, \
36 /* 1 */ { KA1 , KB1 , ___ , KD1 , KE1 , KF1 , KG1 , KH1 , KI1 , KJ1 , KK1 , KL1 , ___ , ___ , ___ , ___ , KQ1 , ___ }, \
37 /* 2 */ { ___ , KB2 , ___ , KD2 , KE2 , KF2 , KG2 , KH2 , KI2 , KJ2 , KK2 , KL2 , ___ , KN2 , ___ , KP2 , KQ2 , KR2 }, \
38 /* 3 */ { ___ , KB3 , ___ , KD3 , KE3 , KF3 , KG3 , KH3 , KI3 , KJ3 , KK3 , KL3 , KM3 , KN3 , KO3 , ___ , KQ3 , KR3 }, \
39 /* 4 */ { KA4 , KB4 , ___ , KD4 , KE4 , KF4 , KG4 , KH4 , KI4 , KJ4 , KK4 , KL4 , ___ , ___ , KO4 , ___ , KQ4 , KR4 }, \
40 /* 5 */ { KA5 , ___ , KC5 , KD5 , KE5 , KF5 , KG5 , KH5 , KI5 , KJ5 , KK5 , KL5 , ___ , ___ , KO5 , ___ , KQ5 , KR5 }, \
41 /* 6 */ { ___ , KB6 , KC6 , ___ , KE6 , KF6 , KG6 , KH6 , KI6 , KJ6 , KK6 , KL6 , ___ , ___ , KO6 , ___ , KQ6 , KR6 }, \
42 /* 7 */ { KA7 , KB7 , KC7 , KD7 , KE7 , KF7 , KG7 , KH7 , KI7 , KJ7 , ___ , ___ , ___ , ___ , KO7 , ___ , KQ7 , KR7 } \
43 }
44
diff --git a/keyboards/bpiphany/ghost_squid/keymaps/default/keymap.c b/keyboards/bpiphany/ghost_squid/keymaps/default/keymap.c
new file mode 100644
index 000000000..09523ebbb
--- /dev/null
+++ b/keyboards/bpiphany/ghost_squid/keymaps/default/keymap.c
@@ -0,0 +1,77 @@
1/*
2Copyright 2016 Daniel Svensson <dsvensson@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include QMK_KEYBOARD_H
19
20/* Default qwerty layout
21* ┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┐ ┌───────────┐
22* │ESC│ │F1 │F2 │F3 │F4 │ │F5 │F6 │F7 │F8 │ │F9 │F10│F11│F12│ │PRT│SCR│PAU│ │Ghost Squid│
23* └───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┘ └───────────┘
24* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ┌───┬───┬───┐ ┌───┬───┬───┬───┐
25* │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│ │INS│HOM│PgU│ │NUM│ / │ * │ - │
26* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ├───┼───┼───┤ ├───┼───┼───┼───┤
27* │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │ │DEL│END│PgD│ │ 7 │ 8 │ 9 │ │
28* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ↲ │ └───┴───┴───┘ ├───┼───┼───┤ + │
29* │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ \ │ │ │ 7 │ 8 │ 9 │ │
30* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤ ┌───┐ ├───┼───┼───┼───┤
31* │Shif│ # │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift │ │ ↑ │ │ 1 │ 2 │ 3 │ │
32* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤ ┌───┼───┼───┐ ├───┴───┼───┤ ↲ │
33* │Ctrl│GUI │Alt │ │ Alt│ GUI│Fn │Ctrl│ │ ← │ ↓ │ → │ │ 0 │ , │ │
34* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ └───┴───┴───┘ └───────┴───┴───┘
35*/
36
37enum layer_names {
38 KM_QWERTY,
39 KM_MEDIA,
40 KM_GUI_LOCK
41};
42
43const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
44 /* Layer 0: Standard ISO layer */
45 [KM_QWERTY] = LAYOUT(
46KC_ESC, 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_PSCR,KC_SLCK,KC_PAUS,
47KC_GRV, 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_BSPC, KC_INS, KC_HOME,KC_PGUP, KC_NLCK,KC_PSLS,KC_PAST,KC_PMNS,
48KC_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_BSLS, KC_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS,
49KC_CLCK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6,
50KC_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_UP, KC_P1, KC_P2, KC_P3, KC_PENT,
51KC_LCTL, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI,MO(KM_MEDIA),KC_RCTL, KC_LEFT,KC_DOWN,KC_RGHT, KC_P0, KC_PDOT),
52 /* Layer 1: Function layer */
53 [KM_MEDIA] = LAYOUT(
54_______,_______,_______,_______,_______, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_STOP, KC_MEDIA_PREV_TRACK, KC_MEDIA_NEXT_TRACK, TG(KM_GUI_LOCK),KC_MUTE, KC_VOLD, KC_VOLU,_______,_______, RESET,
55_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
56_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
57_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
58_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,
59_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______),
60 [KM_GUI_LOCK] = LAYOUT(
61_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,
62_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
63_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
64_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
65_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
66_______,KC_NO,_______,_______,_______,KC_NO,_______,_______,_______,_______,_______,_______,_______)
67};
68
69
70layer_state_t layer_state_set_user(layer_state_t state) {
71 if (IS_LAYER_ON_STATE(state, KM_GUI_LOCK)) {
72 fn_led_on();
73 } else {
74 fn_led_off();
75 }
76 return state;
77}
diff --git a/keyboards/bpiphany/ghost_squid/keymaps/default/readme.md b/keyboards/bpiphany/ghost_squid/keymaps/default/readme.md
new file mode 100644
index 000000000..3c27324d1
--- /dev/null
+++ b/keyboards/bpiphany/ghost_squid/keymaps/default/readme.md
@@ -0,0 +1 @@
# Default layout desc TODO
diff --git a/keyboards/bpiphany/ghost_squid/matrix.c b/keyboards/bpiphany/ghost_squid/matrix.c
new file mode 100644
index 000000000..b0ad60755
--- /dev/null
+++ b/keyboards/bpiphany/ghost_squid/matrix.c
@@ -0,0 +1,97 @@
1/*
2 Copyright 2014 Ralf Schmitt <ralf@bunkertor.net>
3 Copyright 2016 Daniel Svensson <dsvensson@gmail.com>
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#include "matrix.h"
20#include "quantum.h"
21
22matrix_row_t read_rows(void) {
23 return
24 (PINB & (1 << 1) ? 0 : ((matrix_row_t)1 << 0)) |
25 (PINC & (1 << 2) ? 0 : ((matrix_row_t)1 << 1)) |
26 (PINB & (1 << 6) ? 0 : ((matrix_row_t)1 << 2)) |
27 (PINB & (1 << 4) ? 0 : ((matrix_row_t)1 << 3)) |
28 (PINB & (1 << 3) ? 0 : ((matrix_row_t)1 << 4)) |
29 (PINB & (1 << 2) ? 0 : ((matrix_row_t)1 << 5)) |
30 (PINB & (1 << 0) ? 0 : ((matrix_row_t)1 << 6)) |
31 (PINB & (1 << 5) ? 0 : ((matrix_row_t)1 << 7));
32}
33
34void select_col(uint8_t col) {
35 switch (col) {
36 case 0: PORTD = (PORTD & ~0b01111110) | 0b01100010; break;
37 case 1: PORTD = (PORTD & ~0b01111110) | 0b01101000; break;
38 case 2: PORTD = (PORTD & ~0b01111110) | 0b01101100; break;
39 case 3: PORTD = (PORTD & ~0b01111110) | 0b01110000; break;
40 case 4: PORTD = (PORTD & ~0b01111110) | 0b01111000; break;
41 case 5: PORTD = (PORTD & ~0b01111110) | 0b01100000; break;
42 case 6: PORTD = (PORTD & ~0b01111110) | 0b01110100; break;
43 case 7: PORTD = (PORTD & ~0b01111110) | 0b01100100; break;
44 case 8: PORTD = (PORTD & ~0b01111110) | 0b01111100; break;
45 case 9: PORTD = (PORTD & ~0b01111110) | 0b01101010; break;
46 case 10: PORTD = (PORTD & ~0b01111110) | 0b00110110; break;
47 case 11: PORTD = (PORTD & ~0b01111110) | 0b00010110; break;
48 case 12: PORTD = (PORTD & ~0b01111110) | 0b01001110; break;
49 case 13: PORTD = (PORTD & ~0b01111110) | 0b00111110; break;
50 case 14: PORTD = (PORTD & ~0b01111110) | 0b00011110; break;
51 case 15: PORTD = (PORTD & ~0b01111110) | 0b01000110; break;
52 case 16: PORTD = (PORTD & ~0b01111110) | 0b00100110; break;
53 case 17: PORTD = (PORTD & ~0b01111110) | 0b00101110; break;
54 }
55}
56
57void matrix_init_custom(void) {
58 /* Column output pins */
59 setPinOutput(D1);
60 setPinOutput(D2);
61 setPinOutput(D3);
62 setPinOutput(D4);
63 setPinOutput(D5);
64 setPinOutput(D6);
65
66 /* Row input pins */
67 writePinHigh(B0);
68 writePinHigh(B1);
69 writePinHigh(B2);
70 writePinHigh(B3);
71 writePinHigh(B4);
72 writePinHigh(B5);
73 writePinHigh(B6);
74 writePinHigh(C2);
75}
76
77bool matrix_scan_custom(matrix_row_t current_matrix[]) {
78 bool changed = false;
79
80 for (uint8_t col = 0; col < MATRIX_COLS; col++) {
81 select_col(col);
82 matrix_io_delay();
83 matrix_row_t rows = read_rows();
84
85 for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
86 bool prev_bit = current_matrix[row] & ((matrix_row_t)1 << col);
87 bool curr_bit = rows & (1 << row);
88
89 if (prev_bit != curr_bit) {
90 current_matrix[row] ^= (matrix_row_t)1 << col;
91 changed = true;
92 }
93 }
94 }
95
96 return changed;
97}
diff --git a/keyboards/bpiphany/ghost_squid/readme.md b/keyboards/bpiphany/ghost_squid/readme.md
new file mode 100644
index 000000000..ab39e0f72
--- /dev/null
+++ b/keyboards/bpiphany/ghost_squid/readme.md
@@ -0,0 +1,27 @@
1# Ghost Squid Controller
2
3This is the firmware for Rev. 20140518 of the Ghost Squid controller by [Bathroom Epiphanies](http://bathroomepiphanies.com/controllers/), a replacement controller for the [Cooler Master Quick Fire XT](https://www.coolermaster.com/catalog/peripheral/keyboards/quick-fire-xt/).
4
5The code was adapted from the [BathroomEpiphanies QMK Firmware](https://github.com/BathroomEpiphanies/epiphanies_qmk_keyboard/tree/master/keyboards/ghost_squid_20140518).
6
7* Keyboard Maintainer: QMK Community
8* Hardware Supported: Ghost Squid
9* Hardware Availability: [1upkeyboards](https://1upkeyboards.com/shop/controllers/qf-xt-ghost-squid-controller-2/)
10
11Enter the bootloader in 3 ways:
12
13* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
14* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
15* **Keycode in layout**: Press the key mapped to `RESET` if it is available
16
17Make example for this keyboard (after setting up your build environment):
18
19104 key default layout:
20
21 make bpiphany/ghost_squid:default
22
23Flashing example for this keyboard:
24
25 make bpiphany/ghost_squid:default:flash
26
27See 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).
diff --git a/keyboards/bpiphany/ghost_squid/rules.mk b/keyboards/bpiphany/ghost_squid/rules.mk
new file mode 100644
index 000000000..cedec6cd7
--- /dev/null
+++ b/keyboards/bpiphany/ghost_squid/rules.mk
@@ -0,0 +1,23 @@
1# MCU name
2MCU = atmega32u2
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21AUDIO_ENABLE = no # Audio output
22CUSTOM_MATRIX = lite
23SRC += matrix.c