aboutsummaryrefslogtreecommitdiff
path: root/keyboards/clawsome
diff options
context:
space:
mode:
authorAlisGraveNil <63020540+AlisGraveNil@users.noreply.github.com>2020-05-18 15:45:52 -0400
committerGitHub <noreply@github.com>2020-05-18 20:45:52 +0100
commit4604c70c4c1a0cb2cebc010dba34b04e902bd982 (patch)
tree276e938643da89b7c0a1e6e9eaad59832efab986 /keyboards/clawsome
parent010c5b12bd0bc4a53abda6d8f9d77de8a7ef1e8f (diff)
downloadqmk_firmware-4604c70c4c1a0cb2cebc010dba34b04e902bd982.tar.gz
qmk_firmware-4604c70c4c1a0cb2cebc010dba34b04e902bd982.zip
[Keyboard] Add Bookerboard support (#9097)
* 5/14/20 first push for bookerboard * Update rules.mk * Update keyboards/clawsome/bookerboard/rules.mk Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/clawsome/bookerboard/keymaps/default/keymap.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/clawsome/bookerboard/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/clawsome/bookerboard/bookerboard.c Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/clawsome/bookerboard/bookerboard.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * 5/15/20 * 2 * 3 * Update keyboards/clawsome/bookerboard/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/clawsome/bookerboard/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/clawsome/bookerboard/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/clawsome/bookerboard/readme.md Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/clawsome/bookerboard/readme.md Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/clawsome')
-rw-r--r--keyboards/clawsome/bookerboard/bookerboard.c16
-rw-r--r--keyboards/clawsome/bookerboard/bookerboard.h30
-rw-r--r--keyboards/clawsome/bookerboard/config.h47
-rw-r--r--keyboards/clawsome/bookerboard/info.json28
-rw-r--r--keyboards/clawsome/bookerboard/keymaps/default/keymap.c37
-rw-r--r--keyboards/clawsome/bookerboard/readme.md13
-rw-r--r--keyboards/clawsome/bookerboard/rules.mk33
7 files changed, 204 insertions, 0 deletions
diff --git a/keyboards/clawsome/bookerboard/bookerboard.c b/keyboards/clawsome/bookerboard/bookerboard.c
new file mode 100644
index 000000000..2cf132de5
--- /dev/null
+++ b/keyboards/clawsome/bookerboard/bookerboard.c
@@ -0,0 +1,16 @@
1/* Copyright 2020 AAClawson (AlisGraveNil)
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 "bookerboard.h" \ No newline at end of file
diff --git a/keyboards/clawsome/bookerboard/bookerboard.h b/keyboards/clawsome/bookerboard/bookerboard.h
new file mode 100644
index 000000000..11ece7594
--- /dev/null
+++ b/keyboards/clawsome/bookerboard/bookerboard.h
@@ -0,0 +1,30 @@
1/* Copyright 2020 AAClawson (AlisGraveNil)
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#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT( \
21 K00, K01, K02, \
22 K10, K11, K12, \
23 K20, K21, K22, \
24 K30, K31, K32 \
25) { \
26 { K00, K01, K02 }, \
27 { K10, K11, K12 }, \
28 { K20, K21, K22 }, \
29 { K30, K31, K32 }, \
30}
diff --git a/keyboards/clawsome/bookerboard/config.h b/keyboards/clawsome/bookerboard/config.h
new file mode 100644
index 000000000..19646e774
--- /dev/null
+++ b/keyboards/clawsome/bookerboard/config.h
@@ -0,0 +1,47 @@
1/*
2Copyright 2020 AAClawson (AlisGraveNil)
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 0xFEED
24#define PRODUCT_ID 0x41CE
25#define DEVICE_VER 0x0001
26#define MANUFACTURER AlisGraveNil
27#define PRODUCT Bookerboard
28#define DESCRIPTION A 12-key QMK-powered macropod
29
30/* key matrix size */
31#define MATRIX_ROWS 4
32#define MATRIX_COLS 3
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 { B5, B4, E6, D7 }
45#define MATRIX_COL_PINS { B6, B2, B3 }
46
47#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/clawsome/bookerboard/info.json b/keyboards/clawsome/bookerboard/info.json
new file mode 100644
index 000000000..a0eb1b598
--- /dev/null
+++ b/keyboards/clawsome/bookerboard/info.json
@@ -0,0 +1,28 @@
1{
2 "keyboard_name": "bookerboard",
3 "url": "",
4 "maintainer": "qmk",
5 "width": 3,
6 "height": 4,
7 "layouts": {
8 "LAYOUT": {
9 "key_count": 12,
10 "layout": [
11 {"label":"K00 (B5,B6)", "x":0, "y":0},
12 {"label":"K01 (B5,B2)", "x":1, "y":0},
13 {"label":"K02 (B5,B3)", "x":2, "y":0},
14 {"label":"K10 (B4,B6)", "x":0, "y":1},
15 {"label":"K11 (B4,B2)", "x":1, "y":1},
16 {"label":"K12 (B4,B3)", "x":2, "y":1},
17 {"label":"K20 (E6,B6)", "x":0, "y":2},
18 {"label":"K21 (E6,B2)", "x":1, "y":2},
19 {"label":"K22 (E6,B3)", "x":2, "y":2},
20 {"label":"K30 (D7,B6)", "x":0, "y":3},
21 {"label":"K31 (D7,B2)", "x":1, "y":3},
22 {"label":"K32 (D7,B3)", "x":2, "y":3}
23 ]
24 }
25 }
26 ,"meta": "https://noroadsleft.github.io/kbf_qmk_converter/"
27}
28
diff --git a/keyboards/clawsome/bookerboard/keymaps/default/keymap.c b/keyboards/clawsome/bookerboard/keymaps/default/keymap.c
new file mode 100644
index 000000000..a56245a30
--- /dev/null
+++ b/keyboards/clawsome/bookerboard/keymaps/default/keymap.c
@@ -0,0 +1,37 @@
1/* Copyright 2020 AAClawson (AlisGraveNil)
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 * --------------
21 * | 7 | 8 | 9 |
22 * --------------
23 * | 4 | 5 | 6 |
24 * --------------
25 * | 1 | 2 | 3 |
26 * --------------
27 * | - | 0 | = |
28 * --------------
29 */
30 [0] = LAYOUT(
31 KC_7, KC_8, KC_9,
32 KC_4, KC_5, KC_6,
33 KC_1, KC_2, KC_3,
34 KC_MINS, KC_0, KC_EQL
35 ),
36
37};
diff --git a/keyboards/clawsome/bookerboard/readme.md b/keyboards/clawsome/bookerboard/readme.md
new file mode 100644
index 000000000..7fa8d5e7a
--- /dev/null
+++ b/keyboards/clawsome/bookerboard/readme.md
@@ -0,0 +1,13 @@
1# Bookerboard
2
3This is a 4x3 macropad designed to be used with your favorite 12 keys for whatever you need 12 extra keys for.
4
5- Keyboard Maintainer: [AAClawson](https://github.com/AlisGraveNil)
6- Hardware Supported: Bookerboard, Pro Micro, Elite-C
7- Hardware Availability: Not available yet; will be sold at a later date
8
9Make example for this keyboard (after setting up your build environment):
10
11 make clawsome/bookerboard:default
12
13See 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/clawsome/bookerboard/rules.mk b/keyboards/clawsome/bookerboard/rules.mk
new file mode 100644
index 000000000..847da5a3d
--- /dev/null
+++ b/keyboards/clawsome/bookerboard/rules.mk
@@ -0,0 +1,33 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu
13
14# Build Options
15# change yes to no to disable
16#
17BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
18MOUSEKEY_ENABLE = yes # Mouse keys
19EXTRAKEY_ENABLE = yes # Audio control and System control
20CONSOLE_ENABLE = yes # Console for debug
21COMMAND_ENABLE = yes # Commands for debug and configuration
22# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
23SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
24# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
25NKRO_ENABLE = no # USB Nkey Rollover
26BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
27RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
28MIDI_ENABLE = no # MIDI support
29UNICODE_ENABLE = no # Unicode
30BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
31AUDIO_ENABLE = no # Audio output on port C6
32FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
33HD44780_ENABLE = no # Enable support for HD44780 based LCDs