summaryrefslogtreecommitdiff
path: root/keyboards/doio/kb16/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/doio/kb16/rev1')
-rw-r--r--keyboards/doio/kb16/rev1/config.h60
-rw-r--r--keyboards/doio/kb16/rev1/info.json49
-rw-r--r--keyboards/doio/kb16/rev1/keymaps/default/keymap.c140
-rw-r--r--keyboards/doio/kb16/rev1/keymaps/default/rules.mk2
-rw-r--r--keyboards/doio/kb16/rev1/keymaps/via/keymap.c140
-rw-r--r--keyboards/doio/kb16/rev1/keymaps/via/rules.mk4
-rw-r--r--keyboards/doio/kb16/rev1/rules.mk26
7 files changed, 6 insertions, 415 deletions
diff --git a/keyboards/doio/kb16/rev1/config.h b/keyboards/doio/kb16/rev1/config.h
deleted file mode 100644
index 6d635d7557..0000000000
--- a/keyboards/doio/kb16/rev1/config.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/* Copyright 2022 DOIO
- * Copyright 2022 HorrorTroll <https://github.com/HorrorTroll>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-/* Use the custom font */
-#define OLED_FONT_H "./lib/glcdfont.c"
-
-#ifdef RGB_MATRIX_ENABLE
- /* RGB Matrix config */
- #define RGB_MATRIX_LED_COUNT 16
- #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
- #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_UP_DOWN
- #define RGB_MATRIX_KEYPRESSES
-
- /* RGB Matrix effect */
- #define ENABLE_RGB_MATRIX_ALPHAS_MODS
- #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
- #define ENABLE_RGB_MATRIX_BREATHING
- #define ENABLE_RGB_MATRIX_BAND_SAT
- #define ENABLE_RGB_MATRIX_BAND_VAL
- #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
- #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
- #define ENABLE_RGB_MATRIX_CYCLE_ALL
- #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
- #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
- #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
- #define ENABLE_RGB_MATRIX_DUAL_BEACON
- #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
- #define ENABLE_RGB_MATRIX_RAINDROPS
- #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
- #define ENABLE_RGB_MATRIX_HUE_BREATHING
- #define ENABLE_RGB_MATRIX_HUE_PENDULUM
- #define ENABLE_RGB_MATRIX_HUE_WAVE
- #define ENABLE_RGB_MATRIX_PIXEL_RAIN
- #define ENABLE_RGB_MATRIX_PIXEL_FLOW
- #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
-
- #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
- #define ENABLE_RGB_MATRIX_SOLID_REACTIVE
- #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
- #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
- #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
- #define ENABLE_RGB_MATRIX_MULTISPLASH
- #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
-#endif
diff --git a/keyboards/doio/kb16/rev1/info.json b/keyboards/doio/kb16/rev1/info.json
index bcf2c2eb0e..fc9b30a20a 100644
--- a/keyboards/doio/kb16/rev1/info.json
+++ b/keyboards/doio/kb16/rev1/info.json
@@ -1,22 +1,16 @@
{
- "keyboard_name": "KB16-01",
- "manufacturer": "DOIO",
- "url": "",
- "maintainer": "HorrorTroll",
"usb": {
- "vid": "0xD010",
- "pid": "0x1601",
- "device_version": "0.0.1",
- "force_nkro": true
+ "device_version": "0.0.1"
},
- "rgb_matrix": {
- "driver": "ws2812"
+ "features": {
+ "grave_esc": false,
+ "space_cadet": false,
+ "magic": false
},
"matrix_pins": {
"cols": ["F5", "F4", "F1", "F0", "B7"],
"rows": ["D5", "D4", "D3", "D2"]
},
- "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "F7", "pin_b": "E6"},
@@ -28,36 +22,5 @@
"pin": "F6"
},
"processor": "atmega32u4",
- "bootloader": "atmel-dfu",
- "layouts": {
- "LAYOUT": {
- "layout": [
- {"matrix": [0, 0], "x": 0, "y": 0},
- {"matrix": [0, 1], "x": 1, "y": 0},
- {"matrix": [0, 2], "x": 2, "y": 0},
- {"matrix": [0, 3], "x": 3, "y": 0},
-
- {"matrix": [0, 4], "x": 4.75, "y": 0},
-
- {"matrix": [1, 0], "x": 0, "y": 1},
- {"matrix": [1, 1], "x": 1, "y": 1},
- {"matrix": [1, 2], "x": 2, "y": 1},
- {"matrix": [1, 3], "x": 3, "y": 1},
-
- {"matrix": [1, 4], "x": 6, "y": 0},
-
- {"matrix": [2, 0], "x": 0, "y": 2},
- {"matrix": [2, 1], "x": 1, "y": 2},
- {"matrix": [2, 2], "x": 2, "y": 2},
- {"matrix": [2, 3], "x": 3, "y": 2},
-
- {"matrix": [2, 4], "x": 5.375, "y": 2.5},
-
- {"matrix": [3, 0], "x": 0, "y": 3},
- {"matrix": [3, 1], "x": 1, "y": 3},
- {"matrix": [3, 2], "x": 2, "y": 3},
- {"matrix": [3, 3], "x": 3, "y": 3}
- ]
- }
- }
+ "bootloader": "atmel-dfu"
}
diff --git a/keyboards/doio/kb16/rev1/keymaps/default/keymap.c b/keyboards/doio/kb16/rev1/keymaps/default/keymap.c
deleted file mode 100644
index 1217a3c788..0000000000
--- a/keyboards/doio/kb16/rev1/keymaps/default/keymap.c
+++ /dev/null
@@ -1,140 +0,0 @@
-/* Copyright 2022 DOIO
- * Copyright 2022 HorrorTroll <https://github.com/HorrorTroll>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include QMK_KEYBOARD_H
-
-// OLED animation
-#include "./lib/layer_status/layer_status.h"
-
-// Each layer gets a name for readability, which is then used in the keymap matrix below.
-// The underscores don't mean anything - you can have a layer called STUFF or any other name.
-// Layer names don't all need to be of the same length, obviously, and you can also skip them
-// entirely and just use numbers.
-
-enum layer_names {
- _BASE,
- _FN,
- _FN1,
- _FN2
-};
-
-// enum layer_keycodes { };
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/*
- ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
- │ 1 │ 2 │ 3 │ 4 │ │Ply│ │TO1│
- ├───┼───┼───┼───┤ └───┘ └───┘
- │ 5 │ 6 │ 7 │ 8 │
- ├───┼───┼───┼───┤
- │ 9 │ 0 │ ↑ │Ent│ ┌───┐
- ├───┼───┼───┼───┤ │Mut│
- │Fn2│ ← │ ↓ │ → │ └───┘
- └───┴───┴───┴───┘
- ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
- │ ! │ @ │ # │ $ │ │ │ │ │
- ├───┼───┼───┼───┤ └───┘ └───┘
- │ % │ ^ │ & │ * │
- ├───┼───┼───┼───┤
- │ ( │ ) │ │ │ ┌───┐
- ├───┼───┼───┼───┤ │ │
- │ │ │ │ │ └───┘
- └───┴───┴───┴───┘
-*/
- /* Row: 0 1 2 3 4 */
- [_BASE] = LAYOUT(
- KC_1, KC_2, KC_3, KC_4, KC_MPLY,
- KC_5, KC_6, KC_7, KC_8, TO(_FN),
- KC_9, KC_0, KC_UP, KC_ENT, KC_MUTE,
- MO(_FN2), KC_LEFT, KC_DOWN, KC_RIGHT
- ),
-
-/*
- ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
- │ │ │ │ │ │ │ │ │
- ├───┼───┼───┼───┤ └───┘ └───┘
- │ │ │ │ │
- ├───┼───┼───┼───┤
- │ │ │ │ │ ┌───┐
- ├───┼───┼───┼───┤ │ │
- │ │ │ │ │ └───┘
- └───┴───┴───┴───┘
-*/
- /* Row: 0 1 2 3 4 */
- [_FN] = LAYOUT(
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______, TO(_FN1),
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______
- ),
-
-/*
- ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
- │ │ │ │ │ │ │ │ │
- ├───┼───┼───┼───┤ └───┘ └───┘
- │ │ │ │ │
- ├───┼───┼───┼───┤
- │ │ │ │ │ ┌───┐
- ├───┼───┼───┼───┤ │ │
- │ │ │ │ │ └───┘
- └───┴───┴───┴───┘
-*/
- /* Row: 0 1 2 3 4 */
- [_FN1] = LAYOUT(
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______, TO(_FN2),
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______
- ),
-
-/*
- ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
- │Spi│Spd│ │ │ │ │ │TO0│
- ├───┼───┼───┼───┤ └───┘ └───┘
- │Sai│Sad│ │ │
- ├───┼───┼───┼───┤
- │Tog│Mod│Hui│ │ ┌───┐
- ├───┼───┼───┼───┤ │ │
- │ │Vai│Hud│Vad│ └───┘
- └───┴───┴───┴───┘
-*/
- /* Row: 0 1 2 3 4 */
- [_FN2] = LAYOUT(
- RGB_SPI, RGB_SPD, _______, QK_BOOT, _______,
- RGB_SAI, RGB_SAD, _______, _______, TO(_BASE),
- RGB_TOG, RGB_MOD, RGB_HUI, _______, _______,
- _______, RGB_VAI, RGB_HUD, RGB_VAD
- ),
-};
-
-#ifdef OLED_ENABLE
- bool oled_task_user(void) {
- render_layer_status();
-
- return true;
- }
-#endif
-
-#ifdef ENCODER_MAP_ENABLE
-const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
- [_BASE] = { ENCODER_CCW_CW(KC_MPRV, KC_MNXT), ENCODER_CCW_CW(KC_PGDN, KC_PGUP), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
- [_FN] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
- [_FN1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
- [_FN2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
-};
-#endif
diff --git a/keyboards/doio/kb16/rev1/keymaps/default/rules.mk b/keyboards/doio/kb16/rev1/keymaps/default/rules.mk
deleted file mode 100644
index 00003ba11b..0000000000
--- a/keyboards/doio/kb16/rev1/keymaps/default/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-# Encoder enabled
-ENCODER_MAP_ENABLE = yes
diff --git a/keyboards/doio/kb16/rev1/keymaps/via/keymap.c b/keyboards/doio/kb16/rev1/keymaps/via/keymap.c
deleted file mode 100644
index fc1f1dcfaa..0000000000
--- a/keyboards/doio/kb16/rev1/keymaps/via/keymap.c
+++ /dev/null
@@ -1,140 +0,0 @@
-/* Copyright 2022 DOIO
- * Copyright 2022 HorrorTroll <https://github.com/HorrorTroll>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include QMK_KEYBOARD_H
-
-// OLED animation
-#include "lib/layer_status/layer_status.h"
-
-// Each layer gets a name for readability, which is then used in the keymap matrix below.
-// The underscores don't mean anything - you can have a layer called STUFF or any other name.
-// Layer names don't all need to be of the same length, obviously, and you can also skip them
-// entirely and just use numbers.
-
-enum layer_names {
- _BASE,
- _FN,
- _FN1,
- _FN2
-};
-
-// enum layer_keycodes { };
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/*
- ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
- │ 1 │ 2 │ 3 │ 4 │ │Ply│ │TO1│
- ├───┼───┼───┼───┤ └───┘ └───┘
- │ 5 │ 6 │ 7 │ 8 │
- ├───┼───┼───┼───┤
- │ 9 │ 0 │ ↑ │Ent│ ┌───┐
- ├───┼───┼───┼───┤ │Mut│
- │Fn2│ ← │ ↓ │ → │ └───┘
- └───┴───┴───┴───┘
- ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
- │ ! │ @ │ # │ $ │ │ │ │ │
- ├───┼───┼───┼───┤ └───┘ └───┘
- │ % │ ^ │ & │ * │
- ├───┼───┼───┼───┤
- │ ( │ ) │ │ │ ┌───┐
- ├───┼───┼───┼───┤ │ │
- │ │ │ │ │ └───┘
- └───┴───┴───┴───┘
-*/
- /* Row: 0 1 2 3 4 */
- [_BASE] = LAYOUT(
- KC_1, KC_2, KC_3, KC_4, KC_MPLY,
- KC_5, KC_6, KC_7, KC_8, TO(_FN),
- KC_9, KC_0, KC_UP, KC_ENT, KC_MUTE,
- MO(_FN2), KC_LEFT, KC_DOWN, KC_RIGHT
- ),
-
-/*
- ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
- │ │ │ │ │ │ │ │ │
- ├───┼───┼───┼───┤ └───┘ └───┘
- │ │ │ │ │
- ├───┼───┼───┼───┤
- │ │ │ │ │ ┌───┐
- ├───┼───┼───┼───┤ │ │
- │ │ │ │ │ └───┘
- └───┴───┴───┴───┘
-*/
- /* Row: 0 1 2 3 4 */
- [_FN] = LAYOUT(
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______, TO(_FN1),
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______
- ),
-
-/*
- ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
- │ │ │ │ │ │ │ │ │
- ├───┼───┼───┼───┤ └───┘ └───┘
- │ │ │ │ │
- ├───┼───┼───┼───┤
- │ │ │ │ │ ┌───┐
- ├───┼───┼───┼───┤ │ │
- │ │ │ │ │ └───┘
- └───┴───┴───┴───┘
-*/
- /* Row: 0 1 2 3 4 */
- [_FN1] = LAYOUT(
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______, TO(_FN2),
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______
- ),
-
-/*
- ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
- │Spi│Spd│ │ │ │ │ │TO0│
- ├───┼───┼───┼───┤ └───┘ └───┘
- │Sai│Sad│ │ │
- ├───┼───┼───┼───┤
- │Tog│Mod│Hui│ │ ┌───┐
- ├───┼───┼───┼───┤ │ │
- │ │Vai│Hud│Vad│ └───┘
- └───┴───┴───┴───┘
-*/
- /* Row: 0 1 2 3 4 */
- [_FN2] = LAYOUT(
- RGB_SPI, RGB_SPD, _______, QK_BOOT, _______,
- RGB_SAI, RGB_SAD, _______, _______, TO(_BASE),
- RGB_TOG, RGB_MOD, RGB_HUI, _______, _______,
- _______, RGB_VAI, RGB_HUD, RGB_VAD
- ),
-};
-
-#ifdef OLED_ENABLE
- bool oled_task_user(void) {
- render_layer_status();
-
- return true;
- }
-#endif
-
-#ifdef ENCODER_MAP_ENABLE
-const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
- [_BASE] = { ENCODER_CCW_CW(KC_MPRV, KC_MNXT), ENCODER_CCW_CW(KC_PGDN, KC_PGUP), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
- [_FN] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
- [_FN1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
- [_FN2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
-};
-#endif
diff --git a/keyboards/doio/kb16/rev1/keymaps/via/rules.mk b/keyboards/doio/kb16/rev1/keymaps/via/rules.mk
deleted file mode 100644
index d76c12896f..0000000000
--- a/keyboards/doio/kb16/rev1/keymaps/via/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-VIA_ENABLE = yes
-
-# Encoder enabled
-ENCODER_MAP_ENABLE = yes
diff --git a/keyboards/doio/kb16/rev1/rules.mk b/keyboards/doio/kb16/rev1/rules.mk
index b234c1ca6a..8fc28d6480 100644
--- a/keyboards/doio/kb16/rev1/rules.mk
+++ b/keyboards/doio/kb16/rev1/rules.mk
@@ -1,28 +1,2 @@
SRC += ./lib/layer_status/layer_status.c
SRC += ./lib/logo.c
-
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
-# Additional thing to reduce compiled size
-LTO_ENABLE = yes
-SPACE_CADET_ENABLE = no
-
-# OLED enabled
-OLED_ENABLE = yes
-
-# RGB Matrix enabled
-RGB_MATRIX_ENABLE = yes
-
-# Encoder enabled
-ENCODER_ENABLE = yes