diff options
| author | Derek <dschmell91@gmail.com> | 2023-06-20 11:35:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-20 09:35:23 -0600 |
| commit | 0abe3129f18ebc5eec00f2cca231ea283c345ba4 (patch) | |
| tree | 314a94fc4186187f7ab033863271ced5bc676a61 /keyboards/nacly | |
| parent | 7bd1d18427dd3a4fd5f72c8a88a022beeb53273b (diff) | |
[Keyboard] Add bigsmoothknob (#21265)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: jack <0x6a73@protonmail.com>
Diffstat (limited to 'keyboards/nacly')
| -rw-r--r-- | keyboards/nacly/bigsmoothknob/config.h | 19 | ||||
| -rw-r--r-- | keyboards/nacly/bigsmoothknob/info.json | 44 | ||||
| -rw-r--r-- | keyboards/nacly/bigsmoothknob/keymaps/default/keymap.c | 30 | ||||
| -rw-r--r-- | keyboards/nacly/bigsmoothknob/keymaps/default/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/nacly/bigsmoothknob/keymaps/via/keymap.c | 30 | ||||
| -rw-r--r-- | keyboards/nacly/bigsmoothknob/keymaps/via/rules.mk | 3 | ||||
| -rw-r--r-- | keyboards/nacly/bigsmoothknob/readme.md | 22 | ||||
| -rw-r--r-- | keyboards/nacly/bigsmoothknob/rules.mk | 1 |
8 files changed, 150 insertions, 0 deletions
diff --git a/keyboards/nacly/bigsmoothknob/config.h b/keyboards/nacly/bigsmoothknob/config.h new file mode 100644 index 0000000000..a6e9a6c480 --- /dev/null +++ b/keyboards/nacly/bigsmoothknob/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2023 nacly (https://github.com/Na-Cly) | ||
| 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 | #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET | ||
| 19 | #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U | ||
diff --git a/keyboards/nacly/bigsmoothknob/info.json b/keyboards/nacly/bigsmoothknob/info.json new file mode 100644 index 0000000000..85f1431b29 --- /dev/null +++ b/keyboards/nacly/bigsmoothknob/info.json | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "bigsmoothknob", | ||
| 3 | "name":"bigsmoothknob", | ||
| 4 | "url": "https://nacly.net", | ||
| 5 | "maintainer": "na-cly", | ||
| 6 | "manufacturer": "na-cly", | ||
| 7 | "usb": { | ||
| 8 | "pid": "0x6273", | ||
| 9 | "vid": "0x6B70", | ||
| 10 | "device_version": "1.0.0" | ||
| 11 | }, | ||
| 12 | "encoder": { | ||
| 13 | "rotary": [ | ||
| 14 | { "pin_a": "GP26", "pin_b": "GP27" } | ||
| 15 | ] | ||
| 16 | }, | ||
| 17 | "matrix_pins": { | ||
| 18 | "cols":["GP18","GP15","GP14","GP13"], | ||
| 19 | "rows":["GP12","GP11"] | ||
| 20 | }, | ||
| 21 | "diode_direction": "COL2ROW", | ||
| 22 | "processor": "RP2040", | ||
| 23 | "bootloader": "rp2040", | ||
| 24 | "features": { | ||
| 25 | "bootmagic": true, | ||
| 26 | "extrakey": true, | ||
| 27 | "mousekey": true, | ||
| 28 | "encoder": true | ||
| 29 | }, | ||
| 30 | "layouts": { | ||
| 31 | "LAYOUT": { | ||
| 32 | "layout": [ | ||
| 33 | {"label": "1", "x": 0, "y": 0, "matrix": [0, 0]}, | ||
| 34 | {"label": "2", "x": 1, "y": 0, "matrix": [0, 1]}, | ||
| 35 | {"label": "3", "x": 2, "y": 0, "matrix": [0, 2]}, | ||
| 36 | {"label": "4", "x": 3, "y": 0, "matrix": [0, 3]}, | ||
| 37 | {"label": "5", "x": 0, "y": 1, "matrix": [1, 0]}, | ||
| 38 | {"label": "6", "x": 1, "y": 1, "matrix": [1, 1]}, | ||
| 39 | {"label": "7", "x": 2, "y": 1, "matrix": [1, 2]}, | ||
| 40 | {"label": "8", "x": 3, "y": 1, "matrix": [1, 3]} | ||
| 41 | ] | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } | ||
diff --git a/keyboards/nacly/bigsmoothknob/keymaps/default/keymap.c b/keyboards/nacly/bigsmoothknob/keymaps/default/keymap.c new file mode 100644 index 0000000000..dab8a50c45 --- /dev/null +++ b/keyboards/nacly/bigsmoothknob/keymaps/default/keymap.c | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* Copyright 2023 nacly (https://github.com/Na-Cly) | ||
| 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 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | [0] = LAYOUT( | ||
| 21 | KC_1, KC_2, KC_3, KC_4, | ||
| 22 | KC_5, KC_6, KC_7, KC_8 | ||
| 23 | ) | ||
| 24 | }; | ||
| 25 | |||
| 26 | #if defined(ENCODER_MAP_ENABLE) | ||
| 27 | const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { | ||
| 28 | [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) } | ||
| 29 | }; | ||
| 30 | #endif | ||
diff --git a/keyboards/nacly/bigsmoothknob/keymaps/default/rules.mk b/keyboards/nacly/bigsmoothknob/keymaps/default/rules.mk new file mode 100644 index 0000000000..ee32568148 --- /dev/null +++ b/keyboards/nacly/bigsmoothknob/keymaps/default/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| ENCODER_MAP_ENABLE = yes | |||
diff --git a/keyboards/nacly/bigsmoothknob/keymaps/via/keymap.c b/keyboards/nacly/bigsmoothknob/keymaps/via/keymap.c new file mode 100644 index 0000000000..dab8a50c45 --- /dev/null +++ b/keyboards/nacly/bigsmoothknob/keymaps/via/keymap.c | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* Copyright 2023 nacly (https://github.com/Na-Cly) | ||
| 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 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | [0] = LAYOUT( | ||
| 21 | KC_1, KC_2, KC_3, KC_4, | ||
| 22 | KC_5, KC_6, KC_7, KC_8 | ||
| 23 | ) | ||
| 24 | }; | ||
| 25 | |||
| 26 | #if defined(ENCODER_MAP_ENABLE) | ||
| 27 | const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { | ||
| 28 | [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) } | ||
| 29 | }; | ||
| 30 | #endif | ||
diff --git a/keyboards/nacly/bigsmoothknob/keymaps/via/rules.mk b/keyboards/nacly/bigsmoothknob/keymaps/via/rules.mk new file mode 100644 index 0000000000..1189f4ad19 --- /dev/null +++ b/keyboards/nacly/bigsmoothknob/keymaps/via/rules.mk | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | LTO_ENABLE = yes | ||
| 3 | ENCODER_MAP_ENABLE = yes | ||
diff --git a/keyboards/nacly/bigsmoothknob/readme.md b/keyboards/nacly/bigsmoothknob/readme.md new file mode 100644 index 0000000000..0a928205c7 --- /dev/null +++ b/keyboards/nacly/bigsmoothknob/readme.md | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # Big Smooth Knob | ||
| 2 | 8 key macro pad with a gigantic knob. | ||
| 3 | |||
| 4 | |||
| 5 | * Keyboard Maintainer: [na-cly](https://github.com/na-cly) | ||
| 6 | * Hardware Supported: Big Smooth Knob | ||
| 7 | |||
| 8 | Make example for this keyboard (after setting up your build environment): | ||
| 9 | |||
| 10 | make nacly/bigsmoothknob:default | ||
| 11 | |||
| 12 | Flashing example for this keyboard: | ||
| 13 | |||
| 14 | make nacly/bigsmoothknob:default:flash | ||
| 15 | |||
| 16 | See 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). | ||
| 17 | |||
| 18 | ## Bootloader | ||
| 19 | |||
| 20 | Enter the bootloader: | ||
| 21 | |||
| 22 | * **boot button**: Hold the BOOT button on the back of the PCB while plug in usb cable | ||
diff --git a/keyboards/nacly/bigsmoothknob/rules.mk b/keyboards/nacly/bigsmoothknob/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/nacly/bigsmoothknob/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| # This file intentionally left blank | |||
