aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-09-16 02:25:34 +0000
committerQMK Bot <hello@qmk.fm>2021-09-16 02:25:34 +0000
commitfc9fd620e32232387452fe67386ee786773a5f2a (patch)
treecf78c22442583a3e37591b67ff7cfa24ec4ca752
parentceaf35c741220656ad2c3d5b3da29cc0c19217f5 (diff)
parentae821ce4b77f873f5122747ee48c02778637bac6 (diff)
downloadqmk_firmware-fc9fd620e32232387452fe67386ee786773a5f2a.tar.gz
qmk_firmware-fc9fd620e32232387452fe67386ee786773a5f2a.zip
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--keyboards/fjlabs/ad65/ad65.c14
-rw-r--r--keyboards/fjlabs/ad65/ad65.h32
-rw-r--r--keyboards/fjlabs/ad65/config.h105
-rw-r--r--keyboards/fjlabs/ad65/info.json84
-rw-r--r--keyboards/fjlabs/ad65/keymaps/default/keymap.c39
-rw-r--r--keyboards/fjlabs/ad65/keymaps/via/keymap.c57
-rw-r--r--keyboards/fjlabs/ad65/keymaps/via/rules.mk1
-rw-r--r--keyboards/fjlabs/ad65/readme.md11
-rw-r--r--keyboards/fjlabs/ad65/rules.mk25
-rw-r--r--keyboards/fjlabs/tf60ansi/config.h121
-rw-r--r--keyboards/fjlabs/tf60ansi/info.json76
-rw-r--r--keyboards/fjlabs/tf60ansi/keymaps/default/keymap.c40
-rw-r--r--keyboards/fjlabs/tf60ansi/keymaps/via/keymap.c58
-rw-r--r--keyboards/fjlabs/tf60ansi/keymaps/via/rules.mk1
-rw-r--r--keyboards/fjlabs/tf60ansi/readme.md27
-rw-r--r--keyboards/fjlabs/tf60ansi/rules.mk27
-rw-r--r--keyboards/fjlabs/tf60ansi/tf60ansi.c14
-rw-r--r--keyboards/fjlabs/tf60ansi/tf60ansi.h32
-rw-r--r--keyboards/fjlabs/tf60v2/config.h121
-rw-r--r--keyboards/fjlabs/tf60v2/info.json78
-rw-r--r--keyboards/fjlabs/tf60v2/keymaps/default/keymap.c40
-rw-r--r--keyboards/fjlabs/tf60v2/keymaps/via/keymap.c58
-rw-r--r--keyboards/fjlabs/tf60v2/keymaps/via/rules.mk1
-rw-r--r--keyboards/fjlabs/tf60v2/readme.md27
-rw-r--r--keyboards/fjlabs/tf60v2/rules.mk27
-rw-r--r--keyboards/fjlabs/tf60v2/tf60v2.c14
-rw-r--r--keyboards/fjlabs/tf60v2/tf60v2.h32
-rw-r--r--keyboards/fjlabs/tf65rgbv2/config.h121
-rw-r--r--keyboards/fjlabs/tf65rgbv2/info.json83
-rw-r--r--keyboards/fjlabs/tf65rgbv2/keymaps/default/keymap.c40
-rw-r--r--keyboards/fjlabs/tf65rgbv2/keymaps/via/keymap.c58
-rw-r--r--keyboards/fjlabs/tf65rgbv2/keymaps/via/rules.mk1
-rw-r--r--keyboards/fjlabs/tf65rgbv2/readme.md27
-rw-r--r--keyboards/fjlabs/tf65rgbv2/rules.mk27
-rw-r--r--keyboards/fjlabs/tf65rgbv2/tf65rgbv2.c14
-rw-r--r--keyboards/fjlabs/tf65rgbv2/tf65rgbv2.h32
36 files changed, 1565 insertions, 0 deletions
diff --git a/keyboards/fjlabs/ad65/ad65.c b/keyboards/fjlabs/ad65/ad65.c
new file mode 100644
index 000000000..5714fa8b3
--- /dev/null
+++ b/keyboards/fjlabs/ad65/ad65.c
@@ -0,0 +1,14 @@
1/*
2Copyright 2021 <felix@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14#include "ad65.h"
diff --git a/keyboards/fjlabs/ad65/ad65.h b/keyboards/fjlabs/ad65/ad65.h
new file mode 100644
index 000000000..f43c6e10f
--- /dev/null
+++ b/keyboards/fjlabs/ad65/ad65.h
@@ -0,0 +1,32 @@
1/*
2Copyright 2021 <felix@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17#include "quantum.h"
18
19/* Phantom Keymap Definitions */
20#define LAYOUT_all( \
21 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K2D, K0E, \
22 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \
23 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2E, \
24 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \
25 K40, K41, K42, K46, K49, K4A, K4C, K4D, K4E \
26) { \
27 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
28 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
29 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \
30 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \
31 { K40, K41, K42, KC_NO, KC_NO, KC_NO, K46, KC_NO, KC_NO, K49, K4A, KC_NO, K4C, K4D, K4E } \
32}
diff --git a/keyboards/fjlabs/ad65/config.h b/keyboards/fjlabs/ad65/config.h
new file mode 100644
index 000000000..8f9d672d8
--- /dev/null
+++ b/keyboards/fjlabs/ad65/config.h
@@ -0,0 +1,105 @@
1/*
2Copyright 2021 <felix@fjlaboratories.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 0x7074 // FJLaboratories
24#define PRODUCT_ID 0x0010 // AD65
25#define DEVICE_VER 0x0001 // Version 1
26#define MANUFACTURER Absolute Designs
27#define PRODUCT AD65
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41
42*/
43
44// Checked with Eagle Schematic
45#define MATRIX_ROW_PINS { F4, F1, F7, F6, F5 }
46#define MATRIX_COL_PINS { F0, B1, B2, B3, B7, D0, D1, D2, D3, D5, D7, B4, B5, B6, C6 }
47#define UNUSED_PINS
48
49/* COL2ROW or ROW2COL */
50#define DIODE_DIRECTION COL2ROW
51
52/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
53#define DEBOUNCE 5
54
55/* define if matrix has ghost (lacks anti-ghosting diodes) */
56//#define MATRIX_HAS_GHOST
57
58/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
59#define LOCKING_SUPPORT_ENABLE
60/* Locking resynchronize hack */
61#define LOCKING_RESYNC_ENABLE
62
63/* Define Indicator LED's */
64#define LED_CAPS_LOCK_PIN C7
65
66/* Define less important options */
67
68/*
69 * Force NKRO
70 *
71 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
72 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
73 * makefile for this to work.)
74 *
75 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
76 * until the next keyboard reset.
77 *
78 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
79 * fully operational during normal computer usage.
80 *
81 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
82 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
83 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
84 * power-up.
85 *
86 */
87//#define FORCE_NKRO
88
89/*
90 * Feature disable options
91 * These options are also useful to firmware size reduction.
92 */
93
94/* disable debug print */
95//#define NO_DEBUG
96
97/* disable print */
98//#define NO_PRINT
99
100/* disable action features */
101//#define NO_ACTION_LAYER
102//#define NO_ACTION_TAPPING
103//#define NO_ACTION_ONESHOT
104#define NO_ACTION_MACRO
105#define NO_ACTION_FUNCTION
diff --git a/keyboards/fjlabs/ad65/info.json b/keyboards/fjlabs/ad65/info.json
new file mode 100644
index 000000000..36ed900b6
--- /dev/null
+++ b/keyboards/fjlabs/ad65/info.json
@@ -0,0 +1,84 @@
1{
2 "keyboard_name": "Absolute Designs 65",
3 "url": "https://arnoldh93.wixsite.com/website",
4 "maintainer": "FJLaboratories",
5 "layouts": {
6 "LAYOUT_all": {
7 "layout": [
8 {"x": 0, "y": 0},
9 {"x": 1, "y": 0},
10 {"x": 2, "y": 0},
11 {"x": 3, "y": 0},
12 {"x": 4, "y": 0},
13 {"x": 5, "y": 0},
14 {"x": 6, "y": 0},
15 {"x": 7, "y": 0},
16 {"x": 8, "y": 0},
17 {"x": 9, "y": 0},
18 {"x": 10, "y": 0},
19 {"x": 11, "y": 0},
20 {"x": 12, "y": 0},
21 {"x": 13, "y": 0},
22 {"x": 14, "y": 0},
23 {"x": 15, "y": 0},
24
25 {"x": 0, "y": 1, "w": 1.5},
26 {"x": 1.5, "y": 1},
27 {"x": 2.5, "y": 1},
28 {"x": 3.5, "y": 1},
29 {"x": 4.5, "y": 1},
30 {"x": 5.5, "y": 1},
31 {"x": 6.5, "y": 1},
32 {"x": 7.5, "y": 1},
33 {"x": 8.5, "y": 1},
34 {"x": 9.5, "y": 1},
35 {"x": 10.5, "y": 1},
36 {"x": 11.5, "y": 1},
37 {"x": 12.5, "y": 1},
38 {"x": 13.5, "y": 1, "w": 1.5},
39 {"x": 15, "y": 1},
40
41 {"x": 0, "y": 2, "w": 1.75},
42 {"x": 1.75, "y": 2},
43 {"x": 2.75, "y": 2},
44 {"x": 3.75, "y": 2},
45 {"x": 4.75, "y": 2},
46 {"x": 5.75, "y": 2},
47 {"x": 6.75, "y": 2},
48 {"x": 7.75, "y": 2},
49 {"x": 8.75, "y": 2},
50 {"x": 9.75, "y": 2},
51 {"x": 10.75, "y": 2},
52 {"x": 11.75, "y": 2},
53 {"x": 12.75, "y": 2, "w": 2.25},
54 {"x": 15, "y": 2},
55
56 {"x": 0, "y": 3, "w": 1.25},
57 {"x": 1.25, "y": 3},
58 {"x": 2.25, "y": 3},
59 {"x": 3.25, "y": 3},
60 {"x": 4.25, "y": 3},
61 {"x": 5.25, "y": 3},
62 {"x": 6.25, "y": 3},
63 {"x": 7.25, "y": 3},
64 {"x": 8.25, "y": 3},
65 {"x": 9.25, "y": 3},
66 {"x": 10.25, "y": 3},
67 {"x": 11.25, "y": 3},
68 {"x": 12.25, "y": 3, "w": 1.75},
69 {"x": 14, "y": 3},
70 {"x": 15, "y": 3},
71
72 {"x": 0, "y": 4, "w": 1.25},
73 {"x": 1.25, "y": 4, "w": 1.25},
74 {"x": 2.5, "y": 4, "w": 1.25},
75 {"x": 3.75, "y": 4, "w": 6.25},
76 {"x": 10, "y": 4, "w": 1.25},
77 {"x": 11.25, "y": 4, "w": 1.25},
78 {"x": 13, "y": 4},
79 {"x": 14, "y": 4},
80 {"x": 15, "y": 4}
81 ]
82 }
83 }
84}
diff --git a/keyboards/fjlabs/ad65/keymaps/default/keymap.c b/keyboards/fjlabs/ad65/keymaps/default/keymap.c
new file mode 100644
index 000000000..e7e22b147
--- /dev/null
+++ b/keyboards/fjlabs/ad65/keymaps/default/keymap.c
@@ -0,0 +1,39 @@
1/*
2Copyright 2021 <felix@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#include QMK_KEYBOARD_H
16
17enum layers {
18 _LAYER0,
19 _LAYER1,
20};
21
22const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
23
24 [_LAYER0] = LAYOUT_all(
25 KC_GESC, 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_DEL, KC_GRV,
26 KC_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_PGUP,
27 KC_CAPS, 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_PGDN,
28 KC_LSFT, KC_LSFT, 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_END,
29 KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
30 ),
31
32 [_LAYER1] = LAYOUT_all(
33 KC_GESC, 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_BSPC, KC_DEL, KC_TRNS,
34 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, RESET, KC_PGUP, KC_TRNS,
35 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN,
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT
38 )
39};
diff --git a/keyboards/fjlabs/ad65/keymaps/via/keymap.c b/keyboards/fjlabs/ad65/keymaps/via/keymap.c
new file mode 100644
index 000000000..1e91ac327
--- /dev/null
+++ b/keyboards/fjlabs/ad65/keymaps/via/keymap.c
@@ -0,0 +1,57 @@
1/*
2Copyright 2021 <hello@lucidkb.org>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#include QMK_KEYBOARD_H
16
17enum layers {
18 _LAYER0,
19 _LAYER1,
20 _LAYER2,
21 _LAYER3,
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25
26 [_LAYER0] = LAYOUT_all(
27 KC_GESC, 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_DEL, KC_GRV,
28 KC_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_PGUP,
29 KC_CAPS, 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_PGDN,
30 KC_LSFT, KC_LSFT, 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_END,
31 KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
32 ),
33
34 [_LAYER1] = LAYOUT_all(
35 KC_GESC, 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_BSPC, KC_DEL, KC_TRNS,
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, RESET, KC_PGUP, KC_TRNS,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN,
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE,
39 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT
40 ),
41
42 [_LAYER2] = LAYOUT_all(
43 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
44 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
45 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
46 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
47 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
48 ),
49
50 [_LAYER3] = LAYOUT_all(
51 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
52 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
53 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
54 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
55 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
56 )
57};
diff --git a/keyboards/fjlabs/ad65/keymaps/via/rules.mk b/keyboards/fjlabs/ad65/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/fjlabs/ad65/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/fjlabs/ad65/readme.md b/keyboards/fjlabs/ad65/readme.md
new file mode 100644
index 000000000..cdfb13086
--- /dev/null
+++ b/keyboards/fjlabs/ad65/readme.md
@@ -0,0 +1,11 @@
1# Absolute Designs 65 by FJLaboratories
2
3The following is the QMK Firmware for the Absolute Designs 65 PCB for [Absolute Designs](https://arnoldh93.wixsite.com/website).
4* Keyboard Maintainer: FJLaboratories
5* Hardware Supported: Absolute Designs 65 (AD65)
6
7Make example for this keyboard (after setting up your build environment):
8
9 make fjlabs/ad65:default
10
11See 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). To enter bootloader, press the reset button at the back of the PCB near the microcontroller.
diff --git a/keyboards/fjlabs/ad65/rules.mk b/keyboards/fjlabs/ad65/rules.mk
new file mode 100644
index 000000000..58e569b73
--- /dev/null
+++ b/keyboards/fjlabs/ad65/rules.mk
@@ -0,0 +1,25 @@
1# MCU name
2MCU = atmega32u4
3
4# Processor frequency
5F_CPU = 8000000
6
7# Bootloader selection
8BOOTLOADER = atmel-dfu
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
14MOUSEKEY_ENABLE = yes # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = yes # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = yes # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
24AUDIO_ENABLE = no # Audio output
25KEYBOARD_LOCK_ENABLE = yes
diff --git a/keyboards/fjlabs/tf60ansi/config.h b/keyboards/fjlabs/tf60ansi/config.h
new file mode 100644
index 000000000..eede9b754
--- /dev/null
+++ b/keyboards/fjlabs/tf60ansi/config.h
@@ -0,0 +1,121 @@
1/*
2Copyright 2021 <me@fjlaboratories.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 0x7074 // FJLabs
24#define PRODUCT_ID 0x1004 // tf60ansi
25#define DEVICE_VER 0x0001 // Version 1
26#define MANUFACTURER FJLabs
27#define PRODUCT TF60ANSI
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 14
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42*/
43
44// Checked with Eagle Schematic
45#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 }
46#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, B3, B2, B1 }
47#define UNUSED_PINS
48
49/* COL2ROW or ROW2COL */
50#define DIODE_DIRECTION COL2ROW
51
52/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
53#define DEBOUNCE 5
54
55/* define if matrix has ghost (lacks anti-ghosting diodes) */
56//#define MATRIX_HAS_GHOST
57
58/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
59#define LOCKING_SUPPORT_ENABLE
60/* Locking resynchronize hack */
61#define LOCKING_RESYNC_ENABLE
62
63/* Define RGB Underglow */
64#define RGB_DI_PIN F7
65#define RGBLED_NUM 64
66#define RGBLIGHT_EFFECT_BREATHING
67#define RGBLIGHT_EFFECT_RAINBOW_MOOD
68#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
69#define RGBLIGHT_EFFECT_SNAKE
70#define RGBLIGHT_EFFECT_KNIGHT
71#define RGBLIGHT_EFFECT_CHRISTMAS
72#define RGBLIGHT_EFFECT_STATIC_GRADIENT
73#define RGBLIGHT_EFFECT_RGB_TEST
74#define RGBLIGHT_EFFECT_ALTERNATING
75#define RGBLIGHT_EFFECT_TWINKLE
76#define RGBLIGHT_LIMIT_VAL 108
77#define RGB_VAL_STEP 12
78#define RGBLIGHT_DEFAULT_SPD 144
79#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
80/* #define RGBLIGHT_LAYER_BLINK*/
81
82/* Define less important options */
83
84/*
85 * Force NKRO
86 *
87 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
88 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
89 * makefile for this to work.)
90 *
91 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
92 * until the next keyboard reset.
93 *
94 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
95 * fully operational during normal computer usage.
96 *
97 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
98 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
99 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
100 * power-up.
101 *
102 */
103//#define FORCE_NKRO
104
105/*
106 * Feature disable options
107 * These options are also useful to firmware size reduction.
108 */
109
110/* disable debug print */
111//#define NO_DEBUG
112
113/* disable print */
114//#define NO_PRINT
115
116/* disable action features */
117//#define NO_ACTION_LAYER
118//#define NO_ACTION_TAPPING
119//#define NO_ACTION_ONESHOT
120#define NO_ACTION_MACRO
121#define NO_ACTION_FUNCTION
diff --git a/keyboards/fjlabs/tf60ansi/info.json b/keyboards/fjlabs/tf60ansi/info.json
new file mode 100644
index 000000000..4ed7aa91d
--- /dev/null
+++ b/keyboards/fjlabs/tf60ansi/info.json
@@ -0,0 +1,76 @@
1{
2 "keyboard_name": "TF60 ANSI",
3 "url": "https://www.fjlaboratories.com/",
4 "maintainer": "FJLabs",
5 "layouts": {
6 "LAYOUT_60_ansi": {
7 "layout": [
8 {"x": 0, "y": 0},
9 {"x": 1, "y": 0},
10 {"x": 2, "y": 0},
11 {"x": 3, "y": 0},
12 {"x": 4, "y": 0},
13 {"x": 5, "y": 0},
14 {"x": 6, "y": 0},
15 {"x": 7, "y": 0},
16 {"x": 8, "y": 0},
17 {"x": 9, "y": 0},
18 {"x": 10, "y": 0},
19 {"x": 11, "y": 0},
20 {"x": 12, "y": 0},
21 {"x": 13, "y": 0, "w": 2},
22
23 {"x": 0, "y": 1, "w": 1.5},
24 {"x": 1.5, "y": 1},
25 {"x": 2.5, "y": 1},
26 {"x": 3.5, "y": 1},
27 {"x": 4.5, "y": 1},
28 {"x": 5.5, "y": 1},
29 {"x": 6.5, "y": 1},
30 {"x": 7.5, "y": 1},
31 {"x": 8.5, "y": 1},
32 {"x": 9.5, "y": 1},
33 {"x": 10.5, "y": 1},
34 {"x": 11.5, "y": 1},
35 {"x": 12.5, "y": 1},
36 {"x": 13.5, "y": 1, "w": 1.5},
37
38 {"x": 0, "y": 2, "w": 1.75},
39 {"x": 1.75, "y": 2},
40 {"x": 2.75, "y": 2},
41 {"x": 3.75, "y": 2},
42 {"x": 4.75, "y": 2},
43 {"x": 5.75, "y": 2},
44 {"x": 6.75, "y": 2},
45 {"x": 7.75, "y": 2},
46 {"x": 8.75, "y": 2},
47 {"x": 9.75, "y": 2},
48 {"x": 10.75, "y": 2},
49 {"x": 11.75, "y": 2},
50 {"x": 12.75, "y": 2, "w": 2.25},
51
52 {"x": 0, "y": 3, "w": 2.25},
53 {"x": 2.25, "y": 3},
54 {"x": 3.25, "y": 3},
55 {"x": 4.25, "y": 3},
56 {"x": 5.25, "y": 3},
57 {"x": 6.25, "y": 3},
58 {"x": 7.25, "y": 3},
59 {"x": 8.25, "y": 3},
60 {"x": 9.25, "y": 3},
61 {"x": 10.25, "y": 3},
62 {"x": 11.25, "y": 3},
63 {"x": 12.25, "y": 3, "w": 2.75},
64
65 {"x": 0, "y": 4, "w": 1.25},
66 {"x": 1.25, "y": 4, "w": 1.25},
67 {"x": 2.5, "y": 4, "w": 1.25},
68 {"x": 3.75, "y": 4, "w": 6.25},
69 {"x": 10, "y": 4, "w": 1.25},
70 {"x": 11.25, "y": 4, "w": 1.25},
71 {"x": 12.5, "y": 4, "w": 1.25},
72 {"x": 13.75, "y": 4, "w": 1.25}
73 ]
74 }
75 }
76}
diff --git a/keyboards/fjlabs/tf60ansi/keymaps/default/keymap.c b/keyboards/fjlabs/tf60ansi/keymaps/default/keymap.c
new file mode 100644
index 000000000..7873f0e5e
--- /dev/null
+++ b/keyboards/fjlabs/tf60ansi/keymaps/default/keymap.c
@@ -0,0 +1,40 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#include QMK_KEYBOARD_H
16
17enum layers {
18 _LAYER0,
19 _LAYER1,
20};
21
22const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
23
24 [_LAYER0] = LAYOUT_60_ansi(
25 KC_GESC, 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,
26 KC_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,
27 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
28 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
29 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTRL
30 ),
31
32 [_LAYER1] = LAYOUT_60_ansi(
33 KC_GESC, 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_DEL,
34 KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUSE, RESET,
35 KC_TRNS, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
38 )
39
40}; \ No newline at end of file
diff --git a/keyboards/fjlabs/tf60ansi/keymaps/via/keymap.c b/keyboards/fjlabs/tf60ansi/keymaps/via/keymap.c
new file mode 100644
index 000000000..2e4dac7fc
--- /dev/null
+++ b/keyboards/fjlabs/tf60ansi/keymaps/via/keymap.c
@@ -0,0 +1,58 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#include QMK_KEYBOARD_H
16
17enum layers {
18 _LAYER0,
19 _LAYER1,
20 _LAYER2,
21 _LAYER3,
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25
26 [_LAYER0] = LAYOUT_60_ansi(
27 KC_GESC, 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,
28 KC_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,
29 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
30 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
31 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTRL
32 ),
33
34 [_LAYER1] = LAYOUT_60_ansi(
35 KC_GESC, 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_DEL,
36 KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUSE, RESET,
37 KC_TRNS, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
39 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
40 ),
41
42 [_LAYER2] = LAYOUT_60_ansi(
43 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
44 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
45 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
46 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
47 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
48 ),
49
50 [_LAYER3] = LAYOUT_60_ansi(
51 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
52 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
53 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
54 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
55 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
56 ),
57
58};
diff --git a/keyboards/fjlabs/tf60ansi/keymaps/via/rules.mk b/keyboards/fjlabs/tf60ansi/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/fjlabs/tf60ansi/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/fjlabs/tf60ansi/readme.md b/keyboards/fjlabs/tf60ansi/readme.md
new file mode 100644
index 000000000..29cbad3fc
--- /dev/null
+++ b/keyboards/fjlabs/tf60ansi/readme.md
@@ -0,0 +1,27 @@
1# FJLabs TF60 ANSI
2
3The following is the QMK Firmware for the FJLabs TF60 ANSI PCB, a universal tray mount 60% hotswap PCB with per key RGB LED's.
4
5The PCB will feature:
6* Kailh Hotswap sockets
7* QMK & VIA compatibility
8* Per-Key RGB LED's
9
10---
11
12* Keyboard Maintainer: FJLabs
13* Hardware Supported: TF60 ANSI
14
15Make example for this keyboard (after setting up your build environment):
16
17 make fjlabs/tf60ansi:default
18
19See 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).
20
21## Bootloader
22
23Enter the bootloader in 3 ways:
24
25* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
26* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
27* **Keycode in layout**: Press the key mapped to `RESET` if it is available \ No newline at end of file
diff --git a/keyboards/fjlabs/tf60ansi/rules.mk b/keyboards/fjlabs/tf60ansi/rules.mk
new file mode 100644
index 000000000..6e16f42b8
--- /dev/null
+++ b/keyboards/fjlabs/tf60ansi/rules.mk
@@ -0,0 +1,27 @@
1# MCU name
2MCU = atmega32u4
3
4# Processor frequency
5F_CPU = 8000000
6
7# Bootloader selection
8BOOTLOADER = atmel-dfu
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
14MOUSEKEY_ENABLE = yes # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = yes # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = yes # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
24AUDIO_ENABLE = no # Audio output
25KEYBOARD_LOCK_ENABLE = yes
26
27LAYOUTS = 60_ansi
diff --git a/keyboards/fjlabs/tf60ansi/tf60ansi.c b/keyboards/fjlabs/tf60ansi/tf60ansi.c
new file mode 100644
index 000000000..da31f8eaf
--- /dev/null
+++ b/keyboards/fjlabs/tf60ansi/tf60ansi.c
@@ -0,0 +1,14 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14#include "tf60ansi.h"
diff --git a/keyboards/fjlabs/tf60ansi/tf60ansi.h b/keyboards/fjlabs/tf60ansi/tf60ansi.h
new file mode 100644
index 000000000..bafc28891
--- /dev/null
+++ b/keyboards/fjlabs/tf60ansi/tf60ansi.h
@@ -0,0 +1,32 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17#include "quantum.h"
18
19/* TF60 ANSI Keymap Definitions */
20#define LAYOUT_60_ansi( \
21 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
22 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
23 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \
24 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3C, \
25 K40, K41, K42, K45, K49, K4A, K4C, K4D \
26) { \
27 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
28 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
29 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D }, \
30 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, KC_NO, K3C, KC_NO }, \
31 { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, KC_NO, K4C, K4D } \
32}
diff --git a/keyboards/fjlabs/tf60v2/config.h b/keyboards/fjlabs/tf60v2/config.h
new file mode 100644
index 000000000..11cb92a33
--- /dev/null
+++ b/keyboards/fjlabs/tf60v2/config.h
@@ -0,0 +1,121 @@
1/*
2Copyright 2021 <me@fjlaboratories.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 0x7074 // FJLabs
24#define PRODUCT_ID 0x1005 // tf60v2
25#define DEVICE_VER 0x0001 // Version 1
26#define MANUFACTURER FJLabs
27#define PRODUCT TF60v2
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 14
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42*/
43
44// Checked with Eagle Schematic
45#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 }
46#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, B3, B2, B1 }
47#define UNUSED_PINS
48
49/* COL2ROW or ROW2COL */
50#define DIODE_DIRECTION COL2ROW
51
52/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
53#define DEBOUNCE 5
54
55/* define if matrix has ghost (lacks anti-ghosting diodes) */
56//#define MATRIX_HAS_GHOST
57
58/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
59#define LOCKING_SUPPORT_ENABLE
60/* Locking resynchronize hack */
61#define LOCKING_RESYNC_ENABLE
62
63/* Define RGB Underglow */
64#define RGB_DI_PIN F7
65#define RGBLED_NUM 64
66#define RGBLIGHT_EFFECT_BREATHING
67#define RGBLIGHT_EFFECT_RAINBOW_MOOD
68#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
69#define RGBLIGHT_EFFECT_SNAKE
70#define RGBLIGHT_EFFECT_KNIGHT
71#define RGBLIGHT_EFFECT_CHRISTMAS
72#define RGBLIGHT_EFFECT_STATIC_GRADIENT
73#define RGBLIGHT_EFFECT_RGB_TEST
74#define RGBLIGHT_EFFECT_ALTERNATING
75#define RGBLIGHT_EFFECT_TWINKLE
76#define RGBLIGHT_LIMIT_VAL 108
77#define RGB_VAL_STEP 12
78#define RGBLIGHT_DEFAULT_SPD 144
79#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
80/* #define RGBLIGHT_LAYER_BLINK*/
81
82/* Define less important options */
83
84/*
85 * Force NKRO
86 *
87 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
88 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
89 * makefile for this to work.)
90 *
91 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
92 * until the next keyboard reset.
93 *
94 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
95 * fully operational during normal computer usage.
96 *
97 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
98 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
99 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
100 * power-up.
101 *
102 */
103//#define FORCE_NKRO
104
105/*
106 * Feature disable options
107 * These options are also useful to firmware size reduction.
108 */
109
110/* disable debug print */
111//#define NO_DEBUG
112
113/* disable print */
114//#define NO_PRINT
115
116/* disable action features */
117//#define NO_ACTION_LAYER
118//#define NO_ACTION_TAPPING
119//#define NO_ACTION_ONESHOT
120#define NO_ACTION_MACRO
121#define NO_ACTION_FUNCTION
diff --git a/keyboards/fjlabs/tf60v2/info.json b/keyboards/fjlabs/tf60v2/info.json
new file mode 100644
index 000000000..c2d6c0287
--- /dev/null
+++ b/keyboards/fjlabs/tf60v2/info.json
@@ -0,0 +1,78 @@
1{
2 "keyboard_name": "TF60 RGB V2",
3 "url": "https://www.fjlaboratories.com/",
4 "maintainer": "FJLabs",
5 "layouts": {
6 "LAYOUT_60_ansi_arrow": {
7 "layout": [
8 {"x": 0, "y": 0},
9 {"x": 1, "y": 0},
10 {"x": 2, "y": 0},
11 {"x": 3, "y": 0},
12 {"x": 4, "y": 0},
13 {"x": 5, "y": 0},
14 {"x": 6, "y": 0},
15 {"x": 7, "y": 0},
16 {"x": 8, "y": 0},
17 {"x": 9, "y": 0},
18 {"x": 10, "y": 0},
19 {"x": 11, "y": 0},
20 {"x": 12, "y": 0},
21 {"x": 13, "y": 0, "w": 2},
22
23 {"x": 0, "y": 1, "w": 1.5},
24 {"x": 1.5, "y": 1},
25 {"x": 2.5, "y": 1},
26 {"x": 3.5, "y": 1},
27 {"x": 4.5, "y": 1},
28 {"x": 5.5, "y": 1},
29 {"x": 6.5, "y": 1},
30 {"x": 7.5, "y": 1},
31 {"x": 8.5, "y": 1},
32 {"x": 9.5, "y": 1},
33 {"x": 10.5, "y": 1},
34 {"x": 11.5, "y": 1},
35 {"x": 12.5, "y": 1},
36 {"x": 13.5, "y": 1, "w": 1.5},
37
38 {"x": 0, "y": 2, "w": 1.75},
39 {"x": 1.75, "y": 2},
40 {"x": 2.75, "y": 2},
41 {"x": 3.75, "y": 2},
42 {"x": 4.75, "y": 2},
43 {"x": 5.75, "y": 2},
44 {"x": 6.75, "y": 2},
45 {"x": 7.75, "y": 2},
46 {"x": 8.75, "y": 2},
47 {"x": 9.75, "y": 2},
48 {"x": 10.75, "y": 2},
49 {"x": 11.75, "y": 2},
50 {"x": 12.75, "y": 2, "w": 2.25},
51
52 {"x": 0, "y": 3, "w": 2.25},
53 {"x": 2.25, "y": 3},
54 {"x": 3.25, "y": 3},
55 {"x": 4.25, "y": 3},
56 {"x": 5.25, "y": 3},
57 {"x": 6.25, "y": 3},
58 {"x": 7.25, "y": 3},
59 {"x": 8.25, "y": 3},
60 {"x": 9.25, "y": 3},
61 {"x": 10.25, "y": 3},
62 {"x": 11.25, "y": 3, "w": 1.75},
63 {"x": 13, "y": 3},
64 {"x": 14, "y": 3},
65
66 {"x": 0, "y": 4, "w": 1.25},
67 {"x": 1.25, "y": 4, "w": 1.25},
68 {"x": 2.5, "y": 4, "w": 1.25},
69 {"x": 3.75, "y": 4, "w": 6.25},
70 {"x": 10, "y": 4},
71 {"x": 11, "y": 4},
72 {"x": 12, "y": 4},
73 {"x": 13, "y": 4},
74 {"x": 14, "y": 4}
75 ]
76 }
77 }
78}
diff --git a/keyboards/fjlabs/tf60v2/keymaps/default/keymap.c b/keyboards/fjlabs/tf60v2/keymaps/default/keymap.c
new file mode 100644
index 000000000..a725021a1
--- /dev/null
+++ b/keyboards/fjlabs/tf60v2/keymaps/default/keymap.c
@@ -0,0 +1,40 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#include QMK_KEYBOARD_H
16
17enum layers {
18 _LAYER0,
19 _LAYER1,
20};
21
22const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
23
24 [_LAYER0] = LAYOUT_60_ansi_arrow(
25 KC_GESC, 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,
26 KC_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,
27 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
28 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), KC_UP, KC_DEL,
29 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT
30 ),
31
32 [_LAYER1] = LAYOUT_60_ansi_arrow(
33 KC_GESC, 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_DEL,
34 KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUSE, RESET,
35 KC_TRNS, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
38 )
39
40}; \ No newline at end of file
diff --git a/keyboards/fjlabs/tf60v2/keymaps/via/keymap.c b/keyboards/fjlabs/tf60v2/keymaps/via/keymap.c
new file mode 100644
index 000000000..5937f59e2
--- /dev/null
+++ b/keyboards/fjlabs/tf60v2/keymaps/via/keymap.c
@@ -0,0 +1,58 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#include QMK_KEYBOARD_H
16
17enum layers {
18 _LAYER0,
19 _LAYER1,
20 _LAYER2,
21 _LAYER3,
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25
26 [_LAYER0] = LAYOUT_60_ansi_arrow(
27 KC_GESC, 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,
28 KC_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,
29 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
30 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), KC_UP, KC_DEL,
31 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT
32 ),
33
34 [_LAYER1] = LAYOUT_60_ansi_arrow(
35 KC_GESC, 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_DEL,
36 KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUSE, RESET,
37 KC_TRNS, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
39 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
40 ),
41
42 [_LAYER2] = LAYOUT_60_ansi_arrow(
43 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
44 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
45 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
46 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
47 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
48 ),
49
50 [_LAYER3] = LAYOUT_60_ansi_arrow(
51 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
52 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
53 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
54 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
55 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
56 ),
57
58};
diff --git a/keyboards/fjlabs/tf60v2/keymaps/via/rules.mk b/keyboards/fjlabs/tf60v2/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/fjlabs/tf60v2/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/fjlabs/tf60v2/readme.md b/keyboards/fjlabs/tf60v2/readme.md
new file mode 100644
index 000000000..22e624e68
--- /dev/null
+++ b/keyboards/fjlabs/tf60v2/readme.md
@@ -0,0 +1,27 @@
1# FJLabs TF60 RGB V2
2
3The following is the QMK Firmware for the FJLabs TF60 RGB V2 PCB, a universal tray mount 60% hotswap PCB with per key RGB LED's.
4
5The PCB will feature:
6* Kailh Hotswap sockets
7* QMK & VIA compatibility
8* Per-Key RGB LED's
9
10---
11
12* Keyboard Maintainer: FJLabs
13* Hardware Supported: TF60 RGB V2
14
15Make example for this keyboard (after setting up your build environment):
16
17 make fjlabs/tf60v2:default
18
19See 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). Y
20
21## Bootloader
22
23Enter the bootloader in 3 ways:
24
25* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
26* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
27* **Keycode in layout**: Press the key mapped to `RESET` if it is available \ No newline at end of file
diff --git a/keyboards/fjlabs/tf60v2/rules.mk b/keyboards/fjlabs/tf60v2/rules.mk
new file mode 100644
index 000000000..bf43d3526
--- /dev/null
+++ b/keyboards/fjlabs/tf60v2/rules.mk
@@ -0,0 +1,27 @@
1# MCU name
2MCU = atmega32u4
3
4# Processor frequency
5F_CPU = 8000000
6
7# Bootloader selection
8BOOTLOADER = atmel-dfu
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
14MOUSEKEY_ENABLE = yes # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = yes # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = yes # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
24AUDIO_ENABLE = no # Audio output
25KEYBOARD_LOCK_ENABLE = yes
26
27LAYOUTS = 60_ansi_arrow
diff --git a/keyboards/fjlabs/tf60v2/tf60v2.c b/keyboards/fjlabs/tf60v2/tf60v2.c
new file mode 100644
index 000000000..7a73d6390
--- /dev/null
+++ b/keyboards/fjlabs/tf60v2/tf60v2.c
@@ -0,0 +1,14 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14#include "tf60v2.h"
diff --git a/keyboards/fjlabs/tf60v2/tf60v2.h b/keyboards/fjlabs/tf60v2/tf60v2.h
new file mode 100644
index 000000000..52ddffdff
--- /dev/null
+++ b/keyboards/fjlabs/tf60v2/tf60v2.h
@@ -0,0 +1,32 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17#include "quantum.h"
18
19/* TF60 ANSI Keymap Definitions */
20#define LAYOUT_60_ansi_arrow( \
21 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
22 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
23 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \
24 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3C, K3D, \
25 K40, K41, K42, K45, K49, K4A, K4B, K4C, K4D \
26) { \
27 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
28 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
29 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D }, \
30 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, KC_NO, K3C, K3D }, \
31 { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, K4C, K4D } \
32}
diff --git a/keyboards/fjlabs/tf65rgbv2/config.h b/keyboards/fjlabs/tf65rgbv2/config.h
new file mode 100644
index 000000000..65e1932f4
--- /dev/null
+++ b/keyboards/fjlabs/tf65rgbv2/config.h
@@ -0,0 +1,121 @@
1/*
2Copyright 2021 <me@fjlaboratories.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 0x7074 // FJLabs
24#define PRODUCT_ID 0x1007 // tf60v2
25#define DEVICE_VER 0x0001 // Version 1
26#define MANUFACTURER FJLabs
27#define PRODUCT TF65RGBv2
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42*/
43
44// Checked with Eagle Schematic
45#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 }
46#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, B3, B2, B1, D1 }
47#define UNUSED_PINS
48
49/* COL2ROW or ROW2COL */
50#define DIODE_DIRECTION COL2ROW
51
52/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
53#define DEBOUNCE 5
54
55/* define if matrix has ghost (lacks anti-ghosting diodes) */
56//#define MATRIX_HAS_GHOST
57
58/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
59#define LOCKING_SUPPORT_ENABLE
60/* Locking resynchronize hack */
61#define LOCKING_RESYNC_ENABLE
62
63/* Define RGB Underglow */
64#define RGB_DI_PIN F7
65#define RGBLED_NUM 68
66#define RGBLIGHT_EFFECT_BREATHING
67#define RGBLIGHT_EFFECT_RAINBOW_MOOD
68#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
69#define RGBLIGHT_EFFECT_SNAKE
70#define RGBLIGHT_EFFECT_KNIGHT
71#define RGBLIGHT_EFFECT_CHRISTMAS
72#define RGBLIGHT_EFFECT_STATIC_GRADIENT
73#define RGBLIGHT_EFFECT_RGB_TEST
74#define RGBLIGHT_EFFECT_ALTERNATING
75#define RGBLIGHT_EFFECT_TWINKLE
76#define RGBLIGHT_LIMIT_VAL 96
77#define RGB_VAL_STEP 12
78#define RGBLIGHT_DEFAULT_SPD 144
79#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
80/* #define RGBLIGHT_LAYER_BLINK*/
81
82/* Define less important options */
83
84/*
85 * Force NKRO
86 *
87 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
88 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
89 * makefile for this to work.)
90 *
91 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
92 * until the next keyboard reset.
93 *
94 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
95 * fully operational during normal computer usage.
96 *
97 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
98 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
99 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
100 * power-up.
101 *
102 */
103//#define FORCE_NKRO
104
105/*
106 * Feature disable options
107 * These options are also useful to firmware size reduction.
108 */
109
110/* disable debug print */
111//#define NO_DEBUG
112
113/* disable print */
114//#define NO_PRINT
115
116/* disable action features */
117//#define NO_ACTION_LAYER
118//#define NO_ACTION_TAPPING
119//#define NO_ACTION_ONESHOT
120#define NO_ACTION_MACRO
121#define NO_ACTION_FUNCTION
diff --git a/keyboards/fjlabs/tf65rgbv2/info.json b/keyboards/fjlabs/tf65rgbv2/info.json
new file mode 100644
index 000000000..fe91dcaec
--- /dev/null
+++ b/keyboards/fjlabs/tf65rgbv2/info.json
@@ -0,0 +1,83 @@
1{
2 "keyboard_name": "TF65 RGB V2",
3 "url": "https://www.fjlaboratories.com/",
4 "maintainer": "FJLabs",
5 "layouts": {
6 "LAYOUT_65_ansi": {
7 "layout": [
8 {"x": 0, "y": 0},
9 {"x": 1, "y": 0},
10 {"x": 2, "y": 0},
11 {"x": 3, "y": 0},
12 {"x": 4, "y": 0},
13 {"x": 5, "y": 0},
14 {"x": 6, "y": 0},
15 {"x": 7, "y": 0},
16 {"x": 8, "y": 0},
17 {"x": 9, "y": 0},
18 {"x": 10, "y": 0},
19 {"x": 11, "y": 0},
20 {"x": 12, "y": 0},
21 {"x": 13, "y": 0, "w": 2},
22 {"x": 15, "y": 0},
23
24 {"x": 0, "y": 1, "w": 1.5},
25 {"x": 1.5, "y": 1},
26 {"x": 2.5, "y": 1},
27 {"x": 3.5, "y": 1},
28 {"x": 4.5, "y": 1},
29 {"x": 5.5, "y": 1},
30 {"x": 6.5, "y": 1},
31 {"x": 7.5, "y": 1},
32 {"x": 8.5, "y": 1},
33 {"x": 9.5, "y": 1},
34 {"x": 10.5, "y": 1},
35 {"x": 11.5, "y": 1},
36 {"x": 12.5, "y": 1},
37 {"x": 13.5, "y": 1, "w": 1.5},
38 {"x": 15, "y": 1},
39
40 {"x": 0, "y": 2, "w": 1.75},
41 {"x": 1.75, "y": 2},
42 {"x": 2.75, "y": 2},
43 {"x": 3.75, "y": 2},
44 {"x": 4.75, "y": 2},
45 {"x": 5.75, "y": 2},
46 {"x": 6.75, "y": 2},
47 {"x": 7.75, "y": 2},
48 {"x": 8.75, "y": 2},
49 {"x": 9.75, "y": 2},
50 {"x": 10.75, "y": 2},
51 {"x": 11.75, "y": 2},
52 {"x": 12.75, "y": 2, "w": 2.25},
53 {"x": 15, "y": 2},
54
55 {"x": 0, "y": 3, "w": 2.25},
56 {"x": 2.25, "y": 3},
57 {"x": 3.25, "y": 3},
58 {"x": 4.25, "y": 3},
59 {"x": 5.25, "y": 3},
60 {"x": 6.25, "y": 3},
61 {"x": 7.25, "y": 3},
62 {"x": 8.25, "y": 3},
63 {"x": 9.25, "y": 3},
64 {"x": 10.25, "y": 3},
65 {"x": 11.25, "y": 3},
66 {"x": 12.25, "y": 3, "w": 1.75},
67 {"x": 14, "y": 3},
68 {"x": 15, "y": 3},
69
70 {"x": 0, "y": 4, "w": 1.25},
71 {"x": 1.25, "y": 4, "w": 1.25},
72 {"x": 2.5, "y": 4, "w": 1.25},
73 {"x": 3.75, "y": 4, "w": 6.25},
74 {"x": 10, "y": 4},
75 {"x": 11, "y": 4},
76 {"x": 12, "y": 4},
77 {"x": 13, "y": 4},
78 {"x": 14, "y": 4},
79 {"x": 15, "y": 4}
80 ]
81 }
82 }
83}
diff --git a/keyboards/fjlabs/tf65rgbv2/keymaps/default/keymap.c b/keyboards/fjlabs/tf65rgbv2/keymaps/default/keymap.c
new file mode 100644
index 000000000..96c2351e8
--- /dev/null
+++ b/keyboards/fjlabs/tf65rgbv2/keymaps/default/keymap.c
@@ -0,0 +1,40 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#include QMK_KEYBOARD_H
16
17enum layers {
18 _LAYER0,
19 _LAYER1,
20};
21
22const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
23
24 [_LAYER0] = LAYOUT_65_ansi(
25 KC_GESC, 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_HOME,
26 KC_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_PGUP,
27 KC_CAPS, 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_PGDN,
28 KC_LSFT, 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_DEL,
29 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
30 ),
31
32 [_LAYER1] = LAYOUT_65_ansi(
33 KC_GESC, 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_DEL, KC_TRNS,
34 KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUSE, RESET, KC_TRNS,
35 KC_TRNS, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
38 )
39
40}; \ No newline at end of file
diff --git a/keyboards/fjlabs/tf65rgbv2/keymaps/via/keymap.c b/keyboards/fjlabs/tf65rgbv2/keymaps/via/keymap.c
new file mode 100644
index 000000000..3e071bd07
--- /dev/null
+++ b/keyboards/fjlabs/tf65rgbv2/keymaps/via/keymap.c
@@ -0,0 +1,58 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#include QMK_KEYBOARD_H
16
17enum layers {
18 _LAYER0,
19 _LAYER1,
20 _LAYER2,
21 _LAYER3,
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25
26 [_LAYER0] = LAYOUT_65_ansi(
27 KC_GESC, 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_HOME,
28 KC_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_PGUP,
29 KC_CAPS, 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_PGDN,
30 KC_LSFT, 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_DEL,
31 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
32 ),
33
34 [_LAYER1] = LAYOUT_65_ansi(
35 KC_GESC, 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_DEL, KC_TRNS,
36 KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUSE, RESET, KC_TRNS,
37 KC_TRNS, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
39 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
40 ),
41
42 [_LAYER2] = LAYOUT_65_ansi(
43 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
44 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
45 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
46 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
47 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
48 ),
49
50 [_LAYER3] = LAYOUT_65_ansi(
51 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
52 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
53 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
54 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
55 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
56 ),
57
58};
diff --git a/keyboards/fjlabs/tf65rgbv2/keymaps/via/rules.mk b/keyboards/fjlabs/tf65rgbv2/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/fjlabs/tf65rgbv2/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/fjlabs/tf65rgbv2/readme.md b/keyboards/fjlabs/tf65rgbv2/readme.md
new file mode 100644
index 000000000..0aea9ef8f
--- /dev/null
+++ b/keyboards/fjlabs/tf65rgbv2/readme.md
@@ -0,0 +1,27 @@
1# FJLabs TF65 RGB V2
2
3The following is the QMK Firmware for the FJLabs TF65 RGB V2 PCB, a universal tray mount 65% hotswap PCB with per key RGB LED's.
4
5The PCB will feature:
6* Kailh Hotswap sockets
7* QMK & VIA compatibility
8* Per-Key RGB LED's
9
10---
11
12* Keyboard Maintainer: FJLabs
13* Hardware Supported: TF65 RGB V2
14
15Make example for this keyboard (after setting up your build environment):
16
17 make fjlabs/tf65rgbv2:default
18
19See 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).
20
21## Bootloader
22
23Enter the bootloader in 3 ways:
24
25* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
26* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
27* **Keycode in layout**: Press the key mapped to `RESET` if it is available \ No newline at end of file
diff --git a/keyboards/fjlabs/tf65rgbv2/rules.mk b/keyboards/fjlabs/tf65rgbv2/rules.mk
new file mode 100644
index 000000000..1ec4ee2ac
--- /dev/null
+++ b/keyboards/fjlabs/tf65rgbv2/rules.mk
@@ -0,0 +1,27 @@
1# MCU name
2MCU = atmega32u4
3
4# Processor frequency
5F_CPU = 8000000
6
7# Bootloader selection
8BOOTLOADER = atmel-dfu
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
14MOUSEKEY_ENABLE = yes # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = yes # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = yes # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
24AUDIO_ENABLE = no # Audio output
25KEYBOARD_LOCK_ENABLE = yes
26
27LAYOUTS = 65_ansi \ No newline at end of file
diff --git a/keyboards/fjlabs/tf65rgbv2/tf65rgbv2.c b/keyboards/fjlabs/tf65rgbv2/tf65rgbv2.c
new file mode 100644
index 000000000..637b6d05e
--- /dev/null
+++ b/keyboards/fjlabs/tf65rgbv2/tf65rgbv2.c
@@ -0,0 +1,14 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14#include "tf65rgbv2.h"
diff --git a/keyboards/fjlabs/tf65rgbv2/tf65rgbv2.h b/keyboards/fjlabs/tf65rgbv2/tf65rgbv2.h
new file mode 100644
index 000000000..434d15668
--- /dev/null
+++ b/keyboards/fjlabs/tf65rgbv2/tf65rgbv2.h
@@ -0,0 +1,32 @@
1/*
2Copyright 2021 <me@fjlaboratories.com>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17#include "quantum.h"
18
19/* TF60 ANSI Keymap Definitions */
20#define LAYOUT_65_ansi( \
21 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \
22 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \
23 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, K2E, \
24 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3C, K3D, K3E, \
25 K40, K41, K42, K45, K49, K4A, K4B, K4C, K4D, K4E \
26) { \
27 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
28 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K2E }, \
29 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D, K1E }, \
30 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, KC_NO, K3C, K3D, K3E }, \
31 { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, K4C, K4D, K4E } \
32}