aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Hinnebusch <josh@hinnebus.ch>2018-07-09 10:40:35 -0400
committerDrashna Jaelre <drashna@live.com>2018-07-09 07:40:35 -0700
commitdab0b35dc36b58be56c4e2a7682f32e6054a152c (patch)
tree7674281b9512630786cfea2024ca6a0a3a7833c5
parent4a6d668f8a157382da9519caf4bcd7ff03e2ea59 (diff)
downloadqmk_firmware-dab0b35dc36b58be56c4e2a7682f32e6054a152c.tar.gz
qmk_firmware-dab0b35dc36b58be56c4e2a7682f32e6054a152c.zip
Add h87a keyboard (#3329)
* Add H87a keymap and info * Create readme.md * Add h87a .json for kbfirmware.com use * Update readme.md * Update readme.md * Update h87a files * Delete Makefile * Update readme.md * Delete desktop.ini * update files to match new QMK framework * Update files to match new QMK structure * Update files to match new QMK structure * add layout name information * Add info.json * update keymap to support layout_all * update keymap to support layout_all * update rules.mk to fix filesize * Update readme.md * Update config.h * Update readme.md * Update config.h * Update config.h Add "define CONFIG_H and include "config_common.h" back to file
-rw-r--r--keyboards/h87a/config.h81
-rw-r--r--keyboards/h87a/h87a.c45
-rw-r--r--keyboards/h87a/h87a.h47
-rw-r--r--keyboards/h87a/info.json13
-rw-r--r--keyboards/h87a/keymaps/default/keymap.c89
-rw-r--r--keyboards/h87a/readme.md42
-rw-r--r--keyboards/h87a/rules.mk70
7 files changed, 387 insertions, 0 deletions
diff --git a/keyboards/h87a/config.h b/keyboards/h87a/config.h
new file mode 100644
index 000000000..a98b7b283
--- /dev/null
+++ b/keyboards/h87a/config.h
@@ -0,0 +1,81 @@
1/*
2Copyright 2018 Josh Hinnebusch
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/* USB Device descriptor parameter */
19#define VENDOR_ID 0xFEED
20#define PRODUCT_ID 0x0000
21#define DEVICE_VER 0x0001
22#define MANUFACTURER hineybush
23#define PRODUCT h87a
24#define DESCRIPTION QMK-programmable TKL PCB for custom keyboards
25
26#define CONFIG_H
27
28#include "config_common.h"
29
30/* key matrix size */
31#define MATRIX_ROWS 12
32#define MATRIX_COLS 9
33
34/*
35 * Keyboard Matrix Assignments
36 *
37 * Change this to how you wired your keyboard
38 * COLS: AVR pins used for columns, left to right
39 * ROWS: AVR pins used for rows, top to bottom
40 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
41 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
42 *
43*/
44#define MATRIX_ROW_PINS { B0, B1, B2, B3, D0, D1, B5, B6, D7, B4, D6, D4 }
45#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, D2 }
46#define UNUSED_PINS
47
48/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
49#define DIODE_DIRECTION COL2ROW
50
51#define BACKLIGHT_PIN B7
52// #define BACKLIGHT_BREATHING
53#define BACKLIGHT_LEVELS 3
54
55
56/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
57#define DEBOUNCING_DELAY 5
58
59/* define if matrix has ghost (lacks anti-ghosting diodes) */
60//#define MATRIX_HAS_GHOST
61
62/* number of backlight levels */
63
64/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
65#define LOCKING_SUPPORT_ENABLE
66/* Locking resynchronize hack */
67#define LOCKING_RESYNC_ENABLE
68
69/* key combination for magic key command */
70#define IS_COMMAND() ( \
71 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
72)
73
74#define RGB_DI_PIN D3
75#ifdef RGB_DI_PIN
76#define RGBLIGHT_ANIMATIONS
77#define RGBLED_NUM 24
78#define RGBLIGHT_HUE_STEP 8
79#define RGBLIGHT_SAT_STEP 8
80#define RGBLIGHT_VAL_STEP 8
81#endif
diff --git a/keyboards/h87a/h87a.c b/keyboards/h87a/h87a.c
new file mode 100644
index 000000000..2ce469b69
--- /dev/null
+++ b/keyboards/h87a/h87a.c
@@ -0,0 +1,45 @@
1/* Copyright 2018 Josh Hinnebusch
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#include "h87a.h"
17
18void matrix_init_kb(void) {
19 // put your keyboard start-up code here
20 // runs once when the firmware starts up
21
22 matrix_init_user();
23}
24
25void matrix_scan_kb(void) {
26 // put your looping keyboard code here
27 // runs every cycle (a lot)
28
29 matrix_scan_user();
30}
31
32bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
33 // put your per-action keyboard code here
34 // runs for every action, just before processing by the firmware
35
36 return process_record_user(keycode, record);
37}
38
39void led_set_kb(uint8_t usb_led) {
40 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
41
42 led_set_user(usb_led);
43}
44
45
diff --git a/keyboards/h87a/h87a.h b/keyboards/h87a/h87a.h
new file mode 100644
index 000000000..8aa3e160e
--- /dev/null
+++ b/keyboards/h87a/h87a.h
@@ -0,0 +1,47 @@
1/* Copyright 2018 Josh Hinnebusch
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#ifndef H87A_H
17#define H87A_H
18
19#include "quantum.h"
20
21// This a shortcut to help you visually see your layout.
22// The following is an example using the Planck MIT layout
23// The first section contains all of the arguments
24// The second converts the arguments into a two-dimensional array
25#define LAYOUT_all(\
26 K000, K001, K011, K002, K012, K003, K013, K004, K014, K015, K006, K016, K007, K017, K008, K018, \
27 K020, K030, K021, K031, K022, K032, K023, K033, K024, K034, K025, K035, K026, K036, K027, K037, K028, K038, \
28 K040, K050, K041, K051, K042, K052, K043, K053, K044, K054, K045, K055, K046, K056, K057, K048, K058, \
29 K060, K070, K061, K071, K062, K072, K063, K073, K064, K074, K065, K075, K066, K076, \
30 K080, K090, K081, K091, K082, K092, K083, K093, K084, K094, K085, K095, K086, K096, K088, \
31 K100, K110, K101, K113, K105, K115, K106, K116, K117, K108, K118 \
32) { \
33 { K000, K001, K002, K003, K004, KC_NO, K006, K007, K008 }, \
34 { KC_NO, K011, K012, K013, K014, K015, K016, K017, K018 }, \
35 { K020, K021, K022, K023, K024, K025, K026, K027, K028 }, \
36 { K030, K031, K032, K033, K034, K035, K036, K037, K038 }, \
37 { K040, K041, K042, K043, K044, K045, K046, KC_NO, K048 }, \
38 { K050, K051, K052, K053, K054, K055, K056, K057, K058 }, \
39 { K060, K061, K062, K063, K064, K065, K066, KC_NO, KC_NO }, \
40 { K070, K071, K072, K073, K074, K075, K076, KC_NO, KC_NO }, \
41 { K080, K081, K082, K083, K084, K085, K086, KC_NO, K088 }, \
42 { K090, K091, K092, K093, K094, K095, K096, KC_NO, KC_NO }, \
43 { K100, K101, KC_NO, KC_NO, KC_NO, K105, K106, KC_NO, K108 }, \
44 { K110, KC_NO, KC_NO, K113, KC_NO, K115, K116, K117, K118 } \
45}
46
47#endif
diff --git a/keyboards/h87a/info.json b/keyboards/h87a/info.json
new file mode 100644
index 000000000..7800bbf04
--- /dev/null
+++ b/keyboards/h87a/info.json
@@ -0,0 +1,13 @@
1{
2 "keyboard_name": "h87a",
3 "url": "",
4 "maintainer": "hineybush",
5 "bootloader": "",
6 "width": 18.25,
7 "height": 6.5,
8 "layouts": {
9 "LAYOUT_all": {
10 "layout": [{"label":"Esc", "x":0, "y":0.25}, {"label":"F1", "x":2, "y":0.25}, {"label":"F2", "x":3, "y":0.25}, {"label":"F3", "x":4, "y":0.25}, {"label":"F4", "x":5, "y":0.25}, {"label":"F5", "x":6.5, "y":0.25}, {"label":"F6", "x":7.5, "y":0.25}, {"label":"F7", "x":8.5, "y":0.25}, {"label":"F8", "x":9.5, "y":0.25}, {"label":"F9", "x":11, "y":0.25}, {"label":"F10", "x":12, "y":0.25}, {"label":"F11", "x":13, "y":0.25}, {"label":"F12", "x":14, "y":0.25}, {"label":"PrtSc", "x":15.25, "y":0.25}, {"label":"Scroll Lock", "x":16.25, "y":0.25}, {"label":"Pause", "x":17.25, "y":0.25}, {"label":"~", "x":0, "y":1.5}, {"label":"!", "x":1, "y":1.5}, {"label":"@", "x":2, "y":1.5}, {"label":"#", "x":3, "y":1.5}, {"label":"$", "x":4, "y":1.5}, {"label":"%", "x":5, "y":1.5}, {"label":"^", "x":6, "y":1.5}, {"label":"&", "x":7, "y":1.5}, {"label":"*", "x":8, "y":1.5}, {"label":"(", "x":9, "y":1.5}, {"label":")", "x":10, "y":1.5}, {"label":"_", "x":11, "y":1.5}, {"label":"+", "x":12, "y":1.5}, {"label":"Backspace", "x":13, "y":1.5, "w":2}, {"label":"Insert", "x":15.25, "y":1.5}, {"label":"Home", "x":16.25, "y":1.5}, {"label":"PgUp", "x":17.25, "y":1.5}, {"label":"Tab", "x":0, "y":2.5, "w":1.5}, {"label":"Q", "x":1.5, "y":2.5}, {"label":"W", "x":2.5, "y":2.5}, {"label":"E", "x":3.5, "y":2.5}, {"label":"R", "x":4.5, "y":2.5}, {"label":"T", "x":5.5, "y":2.5}, {"label":"Y", "x":6.5, "y":2.5}, {"label":"U", "x":7.5, "y":2.5}, {"label":"I", "x":8.5, "y":2.5}, {"label":"O", "x":9.5, "y":2.5}, {"label":"P", "x":10.5, "y":2.5}, {"label":"{", "x":11.5, "y":2.5}, {"label":"}", "x":12.5, "y":2.5}, {"label":"|", "x":13.5, "y":2.5, "w":1.5}, {"label":"Delete", "x":15.25, "y":2.5}, {"label":"End", "x":16.25, "y":2.5}, {"label":"PgDn", "x":17.25, "y":2.5}, {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, {"label":"A", "x":1.75, "y":3.5}, {"label":"S", "x":2.75, "y":3.5}, {"label":"D", "x":3.75, "y":3.5}, {"label":"F", "x":4.75, "y":3.5}, {"label":"G", "x":5.75, "y":3.5}, {"label":"H", "x":6.75, "y":3.5}, {"label":"J", "x":7.75, "y":3.5}, {"label":"K", "x":8.75, "y":3.5}, {"label":"L", "x":9.75, "y":3.5}, {"label":":", "x":10.75, "y":3.5}, {"label":"\"", "x":11.75, "y":3.5}, {"label":"Enter", "x":12.75, "y":3.5, "w":2.25}, {"label":"Shift", "x":0, "y":4.5, "w":2.25}, {"label":"Z", "x":2.25, "y":4.5}, {"label":"X", "x":3.25, "y":4.5}, {"label":"C", "x":4.25, "y":4.5}, {"label":"V", "x":5.25, "y":4.5}, {"label":"B", "x":6.25, "y":4.5}, {"label":"N", "x":7.25, "y":4.5}, {"label":"M", "x":8.25, "y":4.5}, {"label":"<", "x":9.25, "y":4.5}, {"label":">", "x":10.25, "y":4.5}, {"label":"?", "x":11.25, "y":4.5}, {"label":"Shift", "x":12.25, "y":4.5, "w":2.75}, {"label":"\u2191", "x":16.25, "y":4.5}, {"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, {"label":"Win", "x":1.25, "y":5.5, "w":1.25}, {"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, {"x":3.75, "y":5.5, "w":6.25}, {"label":"Alt", "x":10, "y":5.5, "w":1.25}, {"label":"Win", "x":11.25, "y":5.5, "w":1.25}, {"label":"Menu", "x":12.5, "y":5.5, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25}, {"label":"\u2190", "x":15.25, "y":5.5}, {"label":"\u2193", "x":16.25, "y":5.5}, {"label":"\u2192", "x":17.25, "y":5.5}]
11 }
12 }
13} \ No newline at end of file
diff --git a/keyboards/h87a/keymaps/default/keymap.c b/keyboards/h87a/keymaps/default/keymap.c
new file mode 100644
index 000000000..20418604c
--- /dev/null
+++ b/keyboards/h87a/keymaps/default/keymap.c
@@ -0,0 +1,89 @@
1/* Copyright 2018 Josh Hinnebusch
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#include QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19
20 [0] = LAYOUT_all(
21 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS,
22 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_INS, KC_HOME, KC_PGUP,
23 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_DEL, KC_END, KC_PGDN,
24 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_NUHS, KC_ENT,
25 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_TRNS, KC_UP,
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
27
28 [1] = LAYOUT_all(
29 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, BL_TOGG, BL_DEC, BL_INC,
30 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, KC_TRNS, KC_VOLU,
31 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_MNXT, KC_VOLD,
32 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,
33 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,
34 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
35
36};
37
38const uint16_t PROGMEM fn_actions[] = {
39
40};
41
42const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
43{
44 // MACRODOWN only works in this function
45 switch(id) {
46 case 0:
47 if (record->event.pressed) {
48 register_code(KC_RSFT);
49 } else {
50 unregister_code(KC_RSFT);
51 }
52 break;
53 }
54 return MACRO_NONE;
55};
56
57
58void matrix_init_user(void) {
59
60}
61
62void matrix_scan_user(void) {
63
64}
65
66bool process_record_user(uint16_t keycode, keyrecord_t *record) {
67 return true;
68}
69
70void led_init_ports(void) {
71 DDRD |= (1<<5); // OUT
72 DDRE |= (1<<6); // OUT
73}
74
75void led_set_user(uint8_t usb_led) {
76
77 if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
78 DDRD |= (1 << 5); PORTD &= ~(1 << 5);
79 } else {
80 DDRD &= ~(1 << 5); PORTD &= ~(1 << 5);
81 }
82
83 if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
84 DDRE |= (1 << 6); PORTE &= ~(1 << 6);
85 } else {
86 DDRE &= ~(1 << 6); PORTE &= ~(1 << 6);
87 }
88
89}
diff --git a/keyboards/h87a/readme.md b/keyboards/h87a/readme.md
new file mode 100644
index 000000000..d7185db52
--- /dev/null
+++ b/keyboards/h87a/readme.md
@@ -0,0 +1,42 @@
1h87a
2===
3
4A QMK-powered replacement PCB for custom TKL keyboards. This PCB has the same size of the b.87 PCB, while using the USB port placement and spacebar stabilizer orientation as the a.87 PCB.
5
6Keyboard Maintainer: hineybush (Josh Hinnebusch)
7
8Hardware Supported: h87a Rev 1
9
10Hardware Availability: Currently prototyped, group buy TBD
11
12Make example for this keyboard (after setting up your build environment):
13
14 make h87a:default
15
16## h87a hardware information
17
18Controller: Atmega32u4
19
20 /* Column pin configuration
21 * col: 0 1 2 3 4 5 6 7 8
22 * pin: F0 F1 F4 F5 F6 F7 C7 C6 D2
23 */
24
25 /* Row pin configuration
26 * row: 0 1 2 3 4 5 6 7 8 9 10 11
27 * pin: B0 B1 B2 B3 D0 D1 B5 B6 D7 B4 D6 D4 (Rev 1)
28 */
29
30The H87a PCB utilizes duplex matrix organization.
31
32 Caps Lock LED: D5
33 Scroll Lock LED: E6
34 Num Lock LED: not supported
35 Backlight Pin: B7
36 RGB Data Pin: D3
37
38To connect the Caps Lock LED to the main backlight matrix, jump the middle pad and the left pad on J1. To use the Caps Lock LED as an indicator, jump the middle pad and the right pad on J1.
39
40To connect the Scroll Lock LED to the main backlight matrix, jump the middle pad and the right pad on J2. To use the Scroll Lock LED as an indicator, jump the middle pad and the left pad on J2.
41
42Note: The different orientations of J1 and J2 will be fixed with Rev 2.
diff --git a/keyboards/h87a/rules.mk b/keyboards/h87a/rules.mk
new file mode 100644
index 000000000..dac21d72c
--- /dev/null
+++ b/keyboards/h87a/rules.mk
@@ -0,0 +1,70 @@
1# MCU name
2#MCU = at90usb1286
3MCU = atmega32u4
4
5# Processor frequency.
6# This will define a symbol, F_CPU, in all source code files equal to the
7# processor frequency in Hz. You can then use this symbol in your source code to
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
9# automatically to create a 32-bit value in your source code.
10#
11# This will be an integer division of F_USB below, as it is sourced by
12# F_USB after it has run through any CPU prescalers. Note that this value
13# does not *change* the processor frequency - it should merely be updated to
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
18
19#
20# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41
42# Boot Section Size in *bytes*
43# Teensy halfKay 512
44# Teensy++ halfKay 1024
45# Atmel DFU loader 4096
46# LUFA bootloader 4096
47# USBaspLoader 2048
48OPT_DEFS += -DBOOTLOADER_SIZE=4096
49
50
51# Build Options
52# change yes to no to disable
53#
54BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
55MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
56EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
57CONSOLE_ENABLE = no # Console for debug(+400)
58COMMAND_ENABLE = no # Commands for debug and configuration
59# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
60SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
61# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
62NKRO_ENABLE = no # USB Nkey Rollover
63BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default
64RGBLIGHT_ENABLE = yes # Enable RGB underglow
65MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
66UNICODE_ENABLE = no # Unicode
67BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
68AUDIO_ENABLE = no # Audio output on port C6
69FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
70EXTRAFLAGS += -flto \ No newline at end of file