aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com>2021-09-22 09:12:57 +0900
committerGitHub <noreply@github.com>2021-09-21 17:12:57 -0700
commit033a318bdfafa8f90fc259e91bbebf10bc6bc7ca (patch)
tree831db3f9f99edd12ba82e879c93b7f66aa9f459f
parent45f88af4a12938072f58d89769145c46a30fb38c (diff)
downloadqmk_firmware-033a318bdfafa8f90fc259e91bbebf10bc6bc7ca.tar.gz
qmk_firmware-033a318bdfafa8f90fc259e91bbebf10bc6bc7ca.zip
[Keyboard] Addition of VIA keymap and a few fixes for naked48 (#14177)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r--keyboards/naked48/config.h3
-rw-r--r--keyboards/naked48/keymaps/default/rules.mk1
-rw-r--r--keyboards/naked48/keymaps/salicylic/rules.mk1
-rw-r--r--keyboards/naked48/keymaps/via/config.h22
-rw-r--r--keyboards/naked48/keymaps/via/keymap.c71
-rw-r--r--keyboards/naked48/keymaps/via/rules.mk3
-rw-r--r--keyboards/naked48/keymaps/via_rgb_matrix/config.h44
-rw-r--r--keyboards/naked48/keymaps/via_rgb_matrix/keymap.c71
-rw-r--r--keyboards/naked48/keymaps/via_rgb_matrix/rules.mk5
-rw-r--r--keyboards/naked48/naked48.c20
-rw-r--r--keyboards/naked48/naked48.h17
-rw-r--r--keyboards/naked48/rev1/config.h7
-rw-r--r--keyboards/naked48/rev1/rev1.c17
-rw-r--r--keyboards/naked48/rev1/rev1.h17
-rw-r--r--keyboards/naked48/rules.mk21
15 files changed, 298 insertions, 22 deletions
diff --git a/keyboards/naked48/config.h b/keyboards/naked48/config.h
index cfb6bf4ff..fae55d19f 100644
--- a/keyboards/naked48/config.h
+++ b/keyboards/naked48/config.h
@@ -1,6 +1,5 @@
1/* 1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com> 2Copyright 2021 Salicylic_Acid
3Copyright 2015 Jack Humbert
4 3
5This program is free software: you can redistribute it and/or modify 4This program is free software: you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by 5it under the terms of the GNU General Public License as published by
diff --git a/keyboards/naked48/keymaps/default/rules.mk b/keyboards/naked48/keymaps/default/rules.mk
new file mode 100644
index 000000000..d29d9074a
--- /dev/null
+++ b/keyboards/naked48/keymaps/default/rules.mk
@@ -0,0 +1 @@
SPLIT_KEYBOARD = no
diff --git a/keyboards/naked48/keymaps/salicylic/rules.mk b/keyboards/naked48/keymaps/salicylic/rules.mk
index 370f36140..bdf3488cc 100644
--- a/keyboards/naked48/keymaps/salicylic/rules.mk
+++ b/keyboards/naked48/keymaps/salicylic/rules.mk
@@ -1,3 +1,4 @@
1RGBLIGHT_ENABLE = no 1RGBLIGHT_ENABLE = no
2RGB_MATRIX_ENABLE = yes 2RGB_MATRIX_ENABLE = yes
3 3
4SPLIT_KEYBOARD = no
diff --git a/keyboards/naked48/keymaps/via/config.h b/keyboards/naked48/keymaps/via/config.h
new file mode 100644
index 000000000..fd96baa81
--- /dev/null
+++ b/keyboards/naked48/keymaps/via/config.h
@@ -0,0 +1,22 @@
1/* Copyright 2021 Salicylic_acid3
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19/* Select hand configuration */
20
21#define TAPPING_FORCE_HOLD
22#define TAPPING_TERM 180
diff --git a/keyboards/naked48/keymaps/via/keymap.c b/keyboards/naked48/keymaps/via/keymap.c
new file mode 100644
index 000000000..8d0c6f901
--- /dev/null
+++ b/keyboards/naked48/keymaps/via/keymap.c
@@ -0,0 +1,71 @@
1/*
2Copyright 2021 Salicylic_Acid
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
20const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21 [0] = LAYOUT(
22 //,-----------------------------------------------------| |-----------------------------------------------------.
23 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
24 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
25 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
26 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
27 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
28 //|--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
29 MO(3),KC_LCTRL, KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
30 //`------------------------------------------------------------------------------------------------------------'
31 ),
32
33
34 [1] = LAYOUT(
35 //,-----------------------------------------------------| |-----------------------------------------------------.
36 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR,KC_LPRN, KC_RPRN, KC_DEL,
37 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
38 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
39 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
40 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______,_______,_______,
41 //|--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
42 _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
43 //`------------------------------------------------------------------------------------------------------------'
44 ),
45
46
47 [2] = LAYOUT(
48 //,-----------------------------------------------------| |-----------------------------------------------------.
49 KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
50 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
51 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
52 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
53 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______,
54 //|--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
55 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
56 //`------------------------------------------------------------------------------------------------------------'
57 ),
58
59
60 [3] = LAYOUT( /* Base */
61 //,-----------------------------------------------------| |-----------------------------------------------------.
62 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
63 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
64 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, XXXXXXX,LCA(KC_DEL),LALT(KC_PSCR),KC_PSCR,
65 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
66 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_VAD, RGB_VAI, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI,
67 //|--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
68 _______, _______, _______, _______, _______, RESET, RESET, _______, _______, _______, _______, _______
69 //`------------------------------------------------------------------------------------------------------------'
70 )
71};
diff --git a/keyboards/naked48/keymaps/via/rules.mk b/keyboards/naked48/keymaps/via/rules.mk
new file mode 100644
index 000000000..8712957df
--- /dev/null
+++ b/keyboards/naked48/keymaps/via/rules.mk
@@ -0,0 +1,3 @@
1VIA_ENABLE = yes
2
3SPLIT_KEYBOARD = no
diff --git a/keyboards/naked48/keymaps/via_rgb_matrix/config.h b/keyboards/naked48/keymaps/via_rgb_matrix/config.h
new file mode 100644
index 000000000..0920b2bc3
--- /dev/null
+++ b/keyboards/naked48/keymaps/via_rgb_matrix/config.h
@@ -0,0 +1,44 @@
1/* Copyright 2018 Salicylic_acid3
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19/* Select hand configuration */
20
21#define TAPPING_FORCE_HOLD
22#define TAPPING_TERM 180
23
24#ifdef RGBLED_NUM
25 #undef RGBLED_NUM
26#endif
27
28#define DRIVER_LED_TOTAL 48
29
30#ifdef RGB_MATRIX_ENABLE
31# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
32// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
33// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
34# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
35// # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
36// # 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)
37// # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
38# define RGB_MATRIX_HUE_STEP 8
39# define RGB_MATRIX_SAT_STEP 8
40# define RGB_MATRIX_LIMIT_VAL 50
41# define RGB_MATRIX_VAL_STEP 5
42# define RGB_MATRIX_SPD_STEP 10
43#endif
44
diff --git a/keyboards/naked48/keymaps/via_rgb_matrix/keymap.c b/keyboards/naked48/keymaps/via_rgb_matrix/keymap.c
new file mode 100644
index 000000000..8d0c6f901
--- /dev/null
+++ b/keyboards/naked48/keymaps/via_rgb_matrix/keymap.c
@@ -0,0 +1,71 @@
1/*
2Copyright 2021 Salicylic_Acid
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
20const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21 [0] = LAYOUT(
22 //,-----------------------------------------------------| |-----------------------------------------------------.
23 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
24 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
25 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
26 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
27 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
28 //|--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
29 MO(3),KC_LCTRL, KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
30 //`------------------------------------------------------------------------------------------------------------'
31 ),
32
33
34 [1] = LAYOUT(
35 //,-----------------------------------------------------| |-----------------------------------------------------.
36 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR,KC_LPRN, KC_RPRN, KC_DEL,
37 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
38 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
39 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
40 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______,_______,_______,
41 //|--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
42 _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
43 //`------------------------------------------------------------------------------------------------------------'
44 ),
45
46
47 [2] = LAYOUT(
48 //,-----------------------------------------------------| |-----------------------------------------------------.
49 KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
50 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
51 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
52 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
53 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______,
54 //|--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
55 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
56 //`------------------------------------------------------------------------------------------------------------'
57 ),
58
59
60 [3] = LAYOUT( /* Base */
61 //,-----------------------------------------------------| |-----------------------------------------------------.
62 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
63 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
64 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, XXXXXXX,LCA(KC_DEL),LALT(KC_PSCR),KC_PSCR,
65 //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
66 _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_VAD, RGB_VAI, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI,
67 //|--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
68 _______, _______, _______, _______, _______, RESET, RESET, _______, _______, _______, _______, _______
69 //`------------------------------------------------------------------------------------------------------------'
70 )
71};
diff --git a/keyboards/naked48/keymaps/via_rgb_matrix/rules.mk b/keyboards/naked48/keymaps/via_rgb_matrix/rules.mk
new file mode 100644
index 000000000..49bb80ca3
--- /dev/null
+++ b/keyboards/naked48/keymaps/via_rgb_matrix/rules.mk
@@ -0,0 +1,5 @@
1RGBLIGHT_ENABLE = no
2RGB_MATRIX_ENABLE = yes
3VIA_ENABLE = yes
4
5SPLIT_KEYBOARD = no
diff --git a/keyboards/naked48/naked48.c b/keyboards/naked48/naked48.c
index dc516e98f..c2a10ed3e 100644
--- a/keyboards/naked48/naked48.c
+++ b/keyboards/naked48/naked48.c
@@ -1,6 +1,18 @@
1#include "naked48.h" 1/*
2Copyright 2021 Salicylic_Acid
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.
2 8
3// Optional override functions below. 9This program is distributed in the hope that it will be useful,
4// You can leave any or all of these undefined. 10but WITHOUT ANY WARRANTY; without even the implied warranty of
5// These are only required if you want to perform custom actions. 11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
6 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 "naked48.h"
diff --git a/keyboards/naked48/naked48.h b/keyboards/naked48/naked48.h
index 1c715eb24..e210cf0f5 100644
--- a/keyboards/naked48/naked48.h
+++ b/keyboards/naked48/naked48.h
@@ -1,3 +1,20 @@
1/*
2Copyright 2021 Salicylic_Acid
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
1#pragma once 18#pragma once
2 19
3#include "quantum.h" 20#include "quantum.h"
diff --git a/keyboards/naked48/rev1/config.h b/keyboards/naked48/rev1/config.h
index f74ce8f7a..b79384a48 100644
--- a/keyboards/naked48/rev1/config.h
+++ b/keyboards/naked48/rev1/config.h
@@ -1,6 +1,5 @@
1/* 1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com> 2Copyright 2021 Salicylic_Acid
3Copyright 2015 Jack Humbert
4 3
5This program is free software: you can redistribute it and/or modify 4This program is free software: you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by 5it under the terms of the GNU General Public License as published by
@@ -19,8 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
19#pragma once 18#pragma once
20 19
21/* USB Device descriptor parameter */ 20/* USB Device descriptor parameter */
22#define VENDOR_ID 0xFEED 21#define VENDOR_ID 0x04D8
23#define PRODUCT_ID 0x3060 22#define PRODUCT_ID 0xE8BA
24#define DEVICE_VER 0x0001 23#define DEVICE_VER 0x0001
25#define MANUFACTURER Salicylic_Acid 24#define MANUFACTURER Salicylic_Acid
26#define PRODUCT naked48 25#define PRODUCT naked48
diff --git a/keyboards/naked48/rev1/rev1.c b/keyboards/naked48/rev1/rev1.c
index 411f2900a..0129b6c1a 100644
--- a/keyboards/naked48/rev1/rev1.c
+++ b/keyboards/naked48/rev1/rev1.c
@@ -1,3 +1,20 @@
1/*
2Copyright 2021 Salicylic_Acid
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
1#include "naked48.h" 18#include "naked48.h"
2 19
3#ifdef RGB_MATRIX_ENABLE 20#ifdef RGB_MATRIX_ENABLE
diff --git a/keyboards/naked48/rev1/rev1.h b/keyboards/naked48/rev1/rev1.h
index de58f8f92..eee5c4185 100644
--- a/keyboards/naked48/rev1/rev1.h
+++ b/keyboards/naked48/rev1/rev1.h
@@ -1,3 +1,20 @@
1/*
2Copyright 2021 Salicylic_Acid
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
1#pragma once 18#pragma once
2 19
3#include "naked48.h" 20#include "naked48.h"
diff --git a/keyboards/naked48/rules.mk b/keyboards/naked48/rules.mk
index df910fda5..c7b5b7e81 100644
--- a/keyboards/naked48/rules.mk
+++ b/keyboards/naked48/rules.mk
@@ -5,23 +5,20 @@ MCU = atmega32u4
5BOOTLOADER = caterina 5BOOTLOADER = caterina
6 6
7# Build Options 7# Build Options
8# change to "no" to disable the options, or define them in the Makefile in 8# change yes to no to disable
9# the appropriate keymap folder that will get included automatically
10# 9#
11BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite 10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
12MOUSEKEY_ENABLE = no # Mouse keys 11MOUSEKEY_ENABLE = yes # Mouse keys
13EXTRAKEY_ENABLE = yes # Audio control and System control 12EXTRAKEY_ENABLE = yes # Audio control and System control
14CONSOLE_ENABLE = no # Console for debug 13CONSOLE_ENABLE = no # Console for debug
15COMMAND_ENABLE = yes # Commands for debug and configuration 14COMMAND_ENABLE = no # Commands for debug and configuration
16NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
17BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
18AUDIO_ENABLE = no # Audio output
19UNICODE_ENABLE = no # Unicode
20RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
21OLED_ENABLE = no
22# USE_I2C = yes
23# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE 15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
24SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 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 = yes # Enable keyboard RGB underglow
21AUDIO_ENABLE = no # Audio output
25RGB_MATRIX_ENABLE = no 22RGB_MATRIX_ENABLE = no
26RGB_MATRIX_DRIVER = WS2812 23RGB_MATRIX_DRIVER = WS2812
27 24