aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Jen <fjen@felixjen.com>2021-01-02 02:46:25 -0600
committerGitHub <noreply@github.com>2021-01-02 00:46:25 -0800
commit2e9d0919600e4b834a4e48c1673fe638c4b92eab (patch)
tree62bea8578d5f516344f2922575028e9748ba33b8
parent13efa8290e7394b5386fdb588f3661ca1d0b7e7d (diff)
downloadqmk_firmware-2e9d0919600e4b834a4e48c1673fe638c4b92eab.tar.gz
qmk_firmware-2e9d0919600e4b834a4e48c1673fe638c4b92eab.zip
[Keyboard] Added LDK65 based off BKS65 (#11335)
-rw-r--r--keyboards/fjlabs/ldk65/config.h105
-rw-r--r--keyboards/fjlabs/ldk65/info.json85
-rw-r--r--keyboards/fjlabs/ldk65/keymaps/default/keymap.c39
-rw-r--r--keyboards/fjlabs/ldk65/keymaps/via/keymap.c58
-rw-r--r--keyboards/fjlabs/ldk65/keymaps/via/rules.mk1
-rw-r--r--keyboards/fjlabs/ldk65/ldk65.c14
-rw-r--r--keyboards/fjlabs/ldk65/ldk65.h32
-rw-r--r--keyboards/fjlabs/ldk65/readme.md19
-rw-r--r--keyboards/fjlabs/ldk65/rules.mk28
9 files changed, 381 insertions, 0 deletions
diff --git a/keyboards/fjlabs/ldk65/config.h b/keyboards/fjlabs/ldk65/config.h
new file mode 100644
index 000000000..1c8eaff2e
--- /dev/null
+++ b/keyboards/fjlabs/ldk65/config.h
@@ -0,0 +1,105 @@
1/*
2Copyright 2020 <me@homedrop.org>
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 0x0002 // LDK65
25#define DEVICE_VER 0x0001 // Version 1
26#define MANUFACTURER FJLabs
27#define PRODUCT LDK65
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/ldk65/info.json b/keyboards/fjlabs/ldk65/info.json
new file mode 100644
index 000000000..5a58a2b0c
--- /dev/null
+++ b/keyboards/fjlabs/ldk65/info.json
@@ -0,0 +1,85 @@
1{
2 "keyboard_name": "LDK65",
3 "url": "https://www.bolsakeyboardsupply.com",
4 "maintainer": "FJLabs",
5 "width": 16,
6 "height": 5,
7 "layouts": {
8 "LAYOUT_65_ansi": {
9 "layout": [
10 {"x": 0, "y": 0},
11 {"x": 1, "y": 0},
12 {"x": 2, "y": 0},
13 {"x": 3, "y": 0},
14 {"x": 4, "y": 0},
15 {"x": 5, "y": 0},
16 {"x": 6, "y": 0},
17 {"x": 7, "y": 0},
18 {"x": 8, "y": 0},
19 {"x": 9, "y": 0},
20 {"x": 10, "y": 0},
21 {"x": 11, "y": 0},
22 {"x": 12, "y": 0},
23 {"x": 13, "y": 0, "w": 2},
24 {"x": 15, "y": 0},
25
26 {"x": 0, "y": 1, "w": 1.5},
27 {"x": 1.5, "y": 1},
28 {"x": 2.5, "y": 1},
29 {"x": 3.5, "y": 1},
30 {"x": 4.5, "y": 1},
31 {"x": 5.5, "y": 1},
32 {"x": 6.5, "y": 1},
33 {"x": 7.5, "y": 1},
34 {"x": 8.5, "y": 1},
35 {"x": 9.5, "y": 1},
36 {"x": 10.5, "y": 1},
37 {"x": 11.5, "y": 1},
38 {"x": 12.5, "y": 1},
39 {"x": 13.5, "y": 1, "w": 1.5},
40 {"x": 15, "y": 1},
41
42 {"x": 0, "y": 2, "w": 1.75},
43 {"x": 1.75, "y": 2},
44 {"x": 2.75, "y": 2},
45 {"x": 3.75, "y": 2},
46 {"x": 4.75, "y": 2},
47 {"x": 5.75, "y": 2},
48 {"x": 6.75, "y": 2},
49 {"x": 7.75, "y": 2},
50 {"x": 8.75, "y": 2},
51 {"x": 9.75, "y": 2},
52 {"x": 10.75, "y": 2},
53 {"x": 11.75, "y": 2},
54 {"x": 12.75, "y": 2, "w": 2.25},
55 {"x": 15, "y": 2},
56
57 {"x": 0, "y": 3, "w": 2.25},
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},
77 {"x": 11, "y": 4},
78 {"x": 12, "y": 4},
79 {"x": 13, "y": 4},
80 {"x": 14, "y": 4},
81 {"x": 15, "y": 4}
82 ]
83 }
84 }
85}
diff --git a/keyboards/fjlabs/ldk65/keymaps/default/keymap.c b/keyboards/fjlabs/ldk65/keymaps/default/keymap.c
new file mode 100644
index 000000000..8d2c13f3b
--- /dev/null
+++ b/keyboards/fjlabs/ldk65/keymaps/default/keymap.c
@@ -0,0 +1,39 @@
1/*
2Copyright 2020 <me@homedrop.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};
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_END,
29 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
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_HOME,
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_PGUP,
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_PGDN,
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_AUDIO_VOL_UP, KC_AUDIO_MUTE,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MEDIA_PREV_TRACK, KC_AUDIO_VOL_DOWN, KC_MEDIA_NEXT_TRACK
38 )
39};
diff --git a/keyboards/fjlabs/ldk65/keymaps/via/keymap.c b/keyboards/fjlabs/ldk65/keymaps/via/keymap.c
new file mode 100644
index 000000000..839991f0f
--- /dev/null
+++ b/keyboards/fjlabs/ldk65/keymaps/via/keymap.c
@@ -0,0 +1,58 @@
1/*
2Copyright 2020 <me@homedrop.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_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_END,
31 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
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_HOME,
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_PGUP,
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_PGDN,
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_AUDIO_VOL_UP, KC_AUDIO_MUTE,
39 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MEDIA_PREV_TRACK, KC_AUDIO_VOL_DOWN, KC_MEDIA_NEXT_TRACK
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/ldk65/keymaps/via/rules.mk b/keyboards/fjlabs/ldk65/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/fjlabs/ldk65/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/fjlabs/ldk65/ldk65.c b/keyboards/fjlabs/ldk65/ldk65.c
new file mode 100644
index 000000000..ed4e5bc68
--- /dev/null
+++ b/keyboards/fjlabs/ldk65/ldk65.c
@@ -0,0 +1,14 @@
1/*
2Copyright 2020 <me@homedrop.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#include "ldk65.h"
diff --git a/keyboards/fjlabs/ldk65/ldk65.h b/keyboards/fjlabs/ldk65/ldk65.h
new file mode 100644
index 000000000..1e53c540b
--- /dev/null
+++ b/keyboards/fjlabs/ldk65/ldk65.h
@@ -0,0 +1,32 @@
1/*
2Copyright 2020 <me@homedrop.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#pragma once
16
17#include "quantum.h"
18
19/* BKS65 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, K2C, K2E, \
24 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, 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, K1E }, \
29 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, KC_NO, K2E }, \
30 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, K3E }, \
31 { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, K4C, K4D, K4E } \
32}
diff --git a/keyboards/fjlabs/ldk65/readme.md b/keyboards/fjlabs/ldk65/readme.md
new file mode 100644
index 000000000..525338b23
--- /dev/null
+++ b/keyboards/fjlabs/ldk65/readme.md
@@ -0,0 +1,19 @@
1# bolsa65
2
3The following is the QMK Firmware for the [BolsaKeyboardSupply](https://www.bolsakeyboardsupply.com) LDK65 PCB. The LDK65 is a tray-mount board that fits PCB's compatible with the Tofu65 including the BKS65.
4
5The PCB will feature:
6* Kailh Hotswap sockets
7* QMK & VIA compatibility
8* Some cool bolsa branding
9
10---
11
12* Keyboard Maintainer: FJLabs
13* Hardware Supported: LDK65
14
15Make example for this keyboard (after setting up your build environment):
16
17 make fjlabs/ldk65: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).
diff --git a/keyboards/fjlabs/ldk65/rules.mk b/keyboards/fjlabs/ldk65/rules.mk
new file mode 100644
index 000000000..6d4300e48
--- /dev/null
+++ b/keyboards/fjlabs/ldk65/rules.mk
@@ -0,0 +1,28 @@
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 = lite # Virtual DIP switch configuration
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
24BLUETOOTH_ENABLE = no # Enable Bluetooth
25AUDIO_ENABLE = no # Audio output
26KEYBOARD_LOCK_ENABLE = yes
27
28LAYOUTS = 65_ansi