aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bop
diff options
context:
space:
mode:
authorBrandon Lewis <64657834+blewis308@users.noreply.github.com>2021-05-30 16:57:43 -0500
committerGitHub <noreply@github.com>2021-05-30 14:57:43 -0700
commit7b055dcc5536f6120555e352a921f665d3bcdaa7 (patch)
tree9f41c2a2b8ebe5fc16de5b8309eaf9aa5b3924ba /keyboards/bop
parentfc9a2167b1cb44477257e02886395b768625d50c (diff)
downloadqmk_firmware-7b055dcc5536f6120555e352a921f665d3bcdaa7.tar.gz
qmk_firmware-7b055dcc5536f6120555e352a921f665d3bcdaa7.zip
[Keyboard] Added BOP support (#12991)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Brandon Lewis <blewis308@users.noreply.github.com>
Diffstat (limited to 'keyboards/bop')
-rw-r--r--keyboards/bop/bop.c17
-rw-r--r--keyboards/bop/bop.h35
-rw-r--r--keyboards/bop/config.h49
-rw-r--r--keyboards/bop/info.json138
-rw-r--r--keyboards/bop/keymaps/default/keymap.c46
-rw-r--r--keyboards/bop/readme.md16
-rw-r--r--keyboards/bop/rules.mk23
7 files changed, 324 insertions, 0 deletions
diff --git a/keyboards/bop/bop.c b/keyboards/bop/bop.c
new file mode 100644
index 000000000..492d7cfe3
--- /dev/null
+++ b/keyboards/bop/bop.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 Brandon Lewis
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "bop.h"
diff --git a/keyboards/bop/bop.h b/keyboards/bop/bop.h
new file mode 100644
index 000000000..e4ae82529
--- /dev/null
+++ b/keyboards/bop/bop.h
@@ -0,0 +1,35 @@
1/* Copyright 2021 Brandon Lewis
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT( \
22 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019, \
23 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, K117, K118, K119, \
24 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219, \
25 K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, K316, K317, K318, K319, \
26 K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K414, K415, K416, K417, K418, K419, \
27 K500, K501, K502, K503, K504, K505, K506, K507, K508, K509, K510, K511, K512, K513, K514, K515, K516, K517, K518, K519 \
28) { \
29 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019 }, \
30 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, K117, K118, K119 }, \
31 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219 }, \
32 { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, K316, K317, K318, K319 }, \
33 { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K414, K415, K416, K417, K418, K419 }, \
34 { K500, K501, K502, K503, K504, K505, K506, K507, K508, K509, K510, K511, K512, K513, K514, K515, K516, K517, K518, K519 } \
35}
diff --git a/keyboards/bop/config.h b/keyboards/bop/config.h
new file mode 100644
index 000000000..57ed4bcea
--- /dev/null
+++ b/keyboards/bop/config.h
@@ -0,0 +1,49 @@
1/* Copyright 2021 Brandon Lewis
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x666B // fk
23#define PRODUCT_ID 0x626F // bo
24#define DEVICE_VER 0x0001 // rev 1
25#define MANUFACTURER fruitykeeb
26#define PRODUCT bop
27
28/* key matrix size */
29#define MATRIX_ROWS 6
30#define MATRIX_COLS 20
31
32/* key matrix pins */
33#define MATRIX_ROW_PINS { B7, D0, D1, D2, D3, D4 }
34#define MATRIX_COL_PINS { D5, C5, B0, B1, B2, B3, B4, B5, B6, E7, E6, F0, F7, F6, F5, F4, F3, F2, F1, C6 }
35// If your board is spamming the end column, change C7 to C6 in the line above and short those pins on the controller
36
37#define UNUSED_PINS
38
39/* COL2ROW or ROW2COL */
40#define DIODE_DIRECTION COL2ROW
41
42/* Set 0 if debouncing isn't needed */
43#define DEBOUNCE 5
44
45/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
46#define LOCKING_SUPPORT_ENABLE
47
48/* Locking resynchronize hack */
49#define LOCKING_RESYNC_ENABLE \ No newline at end of file
diff --git a/keyboards/bop/info.json b/keyboards/bop/info.json
new file mode 100644
index 000000000..f638d84eb
--- /dev/null
+++ b/keyboards/bop/info.json
@@ -0,0 +1,138 @@
1{
2 "keyboard_name": "bop",
3 "url": "https://github.com/blewis308/BOP-Keyboard",
4 "maintainer": "Fruit",
5 "width": 20.0,
6 "height": 6.0,
7 "layouts": {
8 "LAYOUT": {
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},
24 {"x":14, "y":0},
25 {"x":15, "y":0},
26 {"x":16, "y":0},
27 {"x":17, "y":0},
28 {"x":18, "y":0},
29 {"x":19, "y":0},
30
31 {"x":0, "y":1},
32 {"x":1, "y":1},
33 {"x":2, "y":1},
34 {"x":3, "y":1},
35 {"x":4, "y":1},
36 {"x":5, "y":1},
37 {"x":6, "y":1},
38 {"x":7, "y":1},
39 {"x":8, "y":1},
40 {"x":9, "y":1},
41 {"x":10, "y":1},
42 {"x":11, "y":1},
43 {"x":12, "y":1},
44 {"x":13, "y":1},
45 {"x":14, "y":1},
46 {"x":15, "y":1},
47 {"x":16, "y":1},
48 {"x":17, "y":1},
49 {"x":18, "y":1},
50 {"x":19, "y":1},
51
52 {"x":0, "y":2},
53 {"x":1, "y":2},
54 {"x":2, "y":2},
55 {"x":3, "y":2},
56 {"x":4, "y":2},
57 {"x":5, "y":2},
58 {"x":6, "y":2},
59 {"x":7, "y":2},
60 {"x":8, "y":2},
61 {"x":9, "y":2},
62 {"x":10, "y":2},
63 {"x":11, "y":2},
64 {"x":12, "y":2},
65 {"x":13, "y":2},
66 {"x":14, "y":2},
67 {"x":15, "y":2},
68 {"x":16, "y":2},
69 {"x":17, "y":2},
70 {"x":18, "y":2},
71 {"x":19, "y":2},
72
73 {"x":0, "y":3},
74 {"x":1, "y":3},
75 {"x":2, "y":3},
76 {"x":3, "y":3},
77 {"x":4, "y":3},
78 {"x":5, "y":3},
79 {"x":6, "y":3},
80 {"x":7, "y":3},
81 {"x":8, "y":3},
82 {"x":9, "y":3},
83 {"x":10, "y":3},
84 {"x":11, "y":3},
85 {"x":12, "y":3},
86 {"x":13, "y":3},
87 {"x":14, "y":3},
88 {"x":15, "y":3},
89 {"x":16, "y":3},
90 {"x":17, "y":3},
91 {"x":18, "y":3},
92 {"x":19, "y":3},
93
94 {"x":0, "y":4},
95 {"x":1, "y":4},
96 {"x":2, "y":4},
97 {"x":3, "y":4},
98 {"x":4, "y":4},
99 {"x":5, "y":4},
100 {"x":6, "y":4},
101 {"x":7, "y":4},
102 {"x":8, "y":4},
103 {"x":9, "y":4},
104 {"x":10, "y":4},
105 {"x":11, "y":4},
106 {"x":12, "y":4},
107 {"x":13, "y":4},
108 {"x":14, "y":4},
109 {"x":15, "y":4},
110 {"x":16, "y":4},
111 {"x":17, "y":4},
112 {"x":18, "y":4},
113 {"x":19, "y":4},
114
115 {"x":0, "y":5},
116 {"x":1, "y":5},
117 {"x":2, "y":5},
118 {"x":3, "y":5},
119 {"x":4, "y":5},
120 {"x":5, "y":5},
121 {"x":6, "y":5},
122 {"x":7, "y":5},
123 {"x":8, "y":5},
124 {"x":9, "y":5},
125 {"x":10, "y":5},
126 {"x":11, "y":5},
127 {"x":12, "y":5},
128 {"x":13, "y":5},
129 {"x":14, "y":5},
130 {"x":15, "y":5},
131 {"x":16, "y":5},
132 {"x":17, "y":5},
133 {"x":18, "y":5},
134 {"x":19, "y":5}
135 ]
136 }
137 }
138} \ No newline at end of file
diff --git a/keyboards/bop/keymaps/default/keymap.c b/keyboards/bop/keymaps/default/keymap.c
new file mode 100644
index 000000000..699e025fb
--- /dev/null
+++ b/keyboards/bop/keymaps/default/keymap.c
@@ -0,0 +1,46 @@
1/* Copyright 2021 Brandon Lewis
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20
21 [0] = LAYOUT(
22 /* For build guide: go to https://github.com/blewis308/BOP-Keyboard
23 * ,-----------------------------------------------------------------------------------------------------------------------.
24 * | F1 | F5 | F9 | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | _ | + | del | { | } | | |
25 * |-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----|
26 * | F2 | F6 | F10 | esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |bkspc| home| end |pg up|
27 * |-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----|
28 * | F3 | F7 | F11 | tab | q | w | e | r | t | y | u | i | o | p | [ | ] | \ | : | " |pg dn|
29 * |-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----|
30 * | F4 | F8 | F12 |caplk| a | s | d | f | g | h | j | k | l | ; | ' |enter| | 7 | 8 | 9 |
31 * |-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----| 0 |-----+-----+-----|
32 * |ptscr|scrlk|psbrk|shift| z | x | c | v | b | n | m | < | > | ? |shift| up | | 4 | 5 | 6 |
33 * |-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----|
34 * | cut | copy|paste|Lctrl|L gui|L alt| space | n/a | space | , | . | / | left| down|right| 1 | 2 | 3 |
35 * `-----------------------------------------------------------------------------------------------------------------------'
36 *
37 * Notes: spaces and numpad 0 can be 1u instead of 2u also, this is already reflected in the keymap below
38 */
39
40 KC_F1, KC_F5, KC_F9, KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_UNDS, KC_PLUS, KC_DEL, KC_LCBR, KC_RCBR, KC_PIPE,
41 KC_F2, KC_F6, KC_F10, KC_ESC, 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, KC_END, KC_PGUP,
42 KC_F3, KC_F7, KC_F11, 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_COLN, KC_DQUO, KC_PGDN,
43 KC_F4, KC_F8, KC_F12, 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_0, KC_7, KC_8, KC_9,
44 KC_PSCR, KC_SLCK, KC_PAUS, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_LABK, KC_RABK, KC_QUES, KC_RSFT, KC_UP, KC_0, KC_4, KC_5, KC_6,
45 LCTL(KC_X), LCTL(KC_C), LCTL(KC_V), KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_NO, KC_SPC, KC_SPC, KC_COMM, KC_DOT, KC_SLSH, KC_LEFT, KC_DOWN, KC_RGHT, KC_1, KC_2, KC_3 )
46}; \ No newline at end of file
diff --git a/keyboards/bop/readme.md b/keyboards/bop/readme.md
new file mode 100644
index 000000000..8f86f0655
--- /dev/null
+++ b/keyboards/bop/readme.md
@@ -0,0 +1,16 @@
1# bop
2
3![Bop](https://i.imgur.com/mEWmMgvh.jpg)
4![Bop-top](https://i.imgur.com/DbjVdvVh.jpg)
5
6A huge 6x20 ortholinear keyboard inspired by the BFO-9000
7
8* Keyboard Maintainer: [Fruit](https://github.com/Blewis308)
9* Hardware Supported: Bop v1.1 PCB, Teensy 2.0++
10* Hardware Availablility: Through Group Buy - Jan 2021
11
12Make example for this keyboard (after setting up your build envionment):
13
14 make bop:default
15
16See 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/bop/rules.mk b/keyboards/bop/rules.mk
new file mode 100644
index 000000000..2ddb011e1
--- /dev/null
+++ b/keyboards/bop/rules.mk
@@ -0,0 +1,23 @@
1# MCU name
2MCU = at90usb1286
3
4# Bootloader selection
5BOOTLOADER = halfkay
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = yes # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23SWAP_HANDS_ENABLE = no