summaryrefslogtreecommitdiffstats
path: root/keyboards/ckeys/thedora
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-09-13 11:24:05 +0800
committerlokher <lokher@gmail.com>2022-09-13 11:24:05 +0800
commit9581289745736ce068a1040f44cec37a2ca8830d (patch)
tree24f644715a5fd6cc4d804d9604fb094307808b1b /keyboards/ckeys/thedora
parentfe13cedf8c09fa34d5cec4e4c624738095176625 (diff)
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/ckeys/thedora')
-rwxr-xr-xkeyboards/ckeys/thedora/config.h109
-rw-r--r--keyboards/ckeys/thedora/info.json41
-rwxr-xr-xkeyboards/ckeys/thedora/keymaps/default/keymap.c172
-rwxr-xr-xkeyboards/ckeys/thedora/readme.md66
-rwxr-xr-xkeyboards/ckeys/thedora/rules.mk22
-rwxr-xr-xkeyboards/ckeys/thedora/thedora.c31
-rwxr-xr-xkeyboards/ckeys/thedora/thedora.h37
7 files changed, 0 insertions, 478 deletions
diff --git a/keyboards/ckeys/thedora/config.h b/keyboards/ckeys/thedora/config.h
deleted file mode 100755
index 721e8977d6..0000000000
--- a/keyboards/ckeys/thedora/config.h
+++ /dev/null
@@ -1,109 +0,0 @@
-/* Copyright 2019 Branden Byers
- *
- * 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
-
-#include "config_common.h"
-
-#define ENCODERS_PAD_A { B13 }
-#define ENCODERS_PAD_B { B15 }
-#define ENCODER_RESOLUTION 4
-
-/* key matrix size */
-#define MATRIX_ROWS 4
-#define MATRIX_COLS 6
-
-#define MATRIX_ROW_PINS { A2, A1, A0, B8 }
-#define MATRIX_COL_PINS { B5, B4, B3, B2, B1, B0 }
-
-
-/* COL2ROW, ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
-//#define BACKLIGHT_PIN B7
-// #define BACKLIGHT_BREATHING
-//#define BACKLIGHT_LEVELS 3
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
-
-/* define if matrix has ghost (lacks anti-ghosting diodes) */
-//#define MATRIX_HAS_GHOST
-
-/* number of backlight levels */
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-#define AUDIO_CLICKY
-
-#define DAC_SAMPLE_MAX 65535U
-
-/*
- * Force NKRO
- *
- * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
- * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
- * makefile for this to work.)
- *
- * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
- * until the next keyboard reset.
- *
- * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
- * fully operational during normal computer usage.
- *
- * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
- * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
- * bootmagic, NKRO mode will always be enabled until it is toggled again during a
- * power-up.
- *
- */
-//#define FORCE_NKRO
-
-// Audio Click
-
-// Music Mode Polyphony
-// NOTE: Must change polyphony_rate to a number higher than 0 in voices.c
-#define AUDIO_VOICES
-#define PITCH_STANDARD_A 880.0f
-#define AUDIO_PIN A5
-#define AUDIO_PIN_ALT A4
-#define AUDIO_PIN_ALT_AS_NEGATIVE
-
-// Mouse keys
-#define MOUSEKEY_DELAY 0
-#define MOUSEKEY_INTERVAL 20
-#define MOUSEKEY_MAX_SPEED 2
-#define MOUSEKEY_TIME_TO_MAX 5
-#define MOUSEKEY_WHEEL_DELAY 0
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/ckeys/thedora/info.json b/keyboards/ckeys/thedora/info.json
deleted file mode 100644
index 311ccec843..0000000000
--- a/keyboards/ckeys/thedora/info.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "keyboard_name": "thedora",
- "manufacturer": "ckeys",
- "url": "https://ckeys.org/slides/exboard",
- "maintainer": "brandenbyers",
- "usb": {
- "vid": "0xFEED",
- "pid": "0x6060",
- "device_version": "0.0.1"
- },
- "layouts": {
- "LAYOUT": {
- "layout": [
- {"label":"k00", "x":1, "y":0},
- {"label":"k01", "x":2, "y":0},
- {"label":"k02", "x":3, "y":0},
- {"label":"k03", "x":4, "y":0},
- {"label":"k04", "x":5, "y":0},
-
- {"label":"k10", "x":1, "y":1},
- {"label":"k11", "x":2, "y":1},
- {"label":"k12", "x":3, "y":1},
- {"label":"k13", "x":4, "y":1},
- {"label":"k14", "x":5, "y":1},
-
- {"label":"k20", "x":1, "y":2},
- {"label":"k21", "x":2, "y":2},
- {"label":"k22", "x":3, "y":2},
- {"label":"k23", "x":4, "y":2},
- {"label":"k24", "x":5, "y":2},
-
- {"label":"k05 (Rotary Push)", "x":0, "y":3},
- {"label":"k30", "x":1, "y":3},
- {"label":"k31", "x":2, "y":3},
- {"label":"k32", "x":3, "y":3},
- {"label":"k33", "x":4, "y":3},
- {"label":"k34", "x":5, "y":3}
- ]
- }
- }
-}
diff --git a/keyboards/ckeys/thedora/keymaps/default/keymap.c b/keyboards/ckeys/thedora/keymaps/default/keymap.c
deleted file mode 100755
index 0c36008bd8..0000000000
--- a/keyboards/ckeys/thedora/keymaps/default/keymap.c
+++ /dev/null
@@ -1,172 +0,0 @@
-/* Copyright 2019 Branden Byers (@brandenbyers)
- *
- * 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
-
-enum layers {
- _BASE, // base layer
- _MUSIC, // music mode
- _MIDI, // midi mode
- _MOUSE, // mouse keys
- _ADMIN // admin duties
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
- // ┌─────────┬─────────┬─────────┬─────────┬─────────┐
- // │ │ │ │ │ │
- // │ 7 │ 8 │ 9 │ / │ ADMIN │
- // ROTARY │ │ │ │ │ │
- // RIGHT: ├─────────┼─────────┼─────────┼─────────┼─────────┤
- // PAGE DOWN│ │ │ │ │ │
- // │ 4 │ 5 │ 6 │ * │ MOUSE │
- // ROTARY │ │ │ │ │ │
- // LEFT: ├─────────┼─────────┼─────────┼─────────┼─────────┤
- // PAGE UP │ │ │ │ │ │
- // │ 1 │ 2 │ 3 │ - │ MIDI │
- // │ │ │ │ │ │
- // ┌─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
- // │ TOGGLE │ │ │ │ │ │
- // │ MUSIC │ 0 │ . │ = │ + │ MUSIC │
- // │ │ │ │ │ │ │
- // └─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
-
- [_BASE] = LAYOUT(
- KC_P7, KC_P8 , KC_P9 , KC_PSLS, MO(_ADMIN),
- KC_P4, KC_P5 , KC_P6 , KC_PAST, TG(_MOUSE),
- KC_P1, KC_P2 , KC_P3 , KC_PMNS, TG(_MIDI),
- MU_TOG, KC_P0, KC_PDOT, KC_PEQL, KC_PPLS, MO(_MUSIC)
- ),
-
- // MUSIC LAYER
- // ┌─────────┬─────────┬─────────┬─────────┬─────────┐
- // │ │ │ │ │ │
- // │ │ │ │ │ │
- // ROTARY │ │ │ │ │ │
- // RIGHT: ├─────────┼─────────┼─────────┼─────────┼─────────┤
- // PAGE DOWN│ │ │ │ │ │
- // │ │ │ │ │ │
- // ROTARY │ │ │ │ │ │
- // LEFT: ├─────────┼─────────┼─────────┼─────────┼─────────┤
- // PAGE UP │ │ │ │ │ │
- // │ │ │ │ MODE │ │
- // │ │ │ │ │ │
- // ┌─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
- // │ │ │ │ │ │ │
- // │ │ RECORD │ STOP │ │ PLAY │ │
- // │ │ │ │ │ │ │
- // └─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
-
- [_MUSIC] = LAYOUT(
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______, MU_MOD,
- _______, KC_LCTL, KC_LALT, _______, KC_LGUI, _______
- ),
-
- // MIDI LAYER
- // ┌─────────┬─────────┬─────────┬─────────┬─────────┐
- // │ │ │ │ │ │
- // │ D♯ │ E │ F │ F♯ │ G │
- // ROTARY │ │ │ │ │ │
- // RIGHT: ├─────────┼─────────┼─────────┼─────────┼─────────┤
- // PAGE DOWN│ │ │ │ │ │
- // │ A♯ │ B │ C │ C♯ │ D │
- // ROTARY │ │ │ │ │ │
- // LEFT: ├─────────┼─────────┼─────────┼─────────┼─────────┤
- // PAGE UP │ │ │ │ │ │
- // │ F │ F♯ │ G │ G♯ │ A │
- // │ │ │ │ │ │
- // ┌─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
- // │ │ │ │ │ │ │
- // │ │ C │ C♯ │ D │ D♯ │ E │
- // │ │ │ │ │ │ │
- // └─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
-
- [_MIDI] = LAYOUT(
- MI_Ds_3, MI_E_3, MI_F_3, MI_Fs_3, MI_G_3,
- MI_As_2, MI_B_2, MI_C_3, MI_Cs_3, MI_D_3,
- MI_F_2, MI_Fs_2, MI_G_2, MI_Gs_2, TG(_MIDI),
- _______, MI_C_2, MI_Cs_2, MI_D_2, MI_Ds_2, MI_E_2
- ),
-
- // MOUSE LAYER
- // ┌─────────┬─────────┬─────────┬─────────┬─────────┐
- // │ │ │ │ │ │
- // │ BTN 5 │ │ WHEEL │ │ │
- // ROTARY │ │ │ UP │ │ │
- // RIGHT: ├─────────┼─────────┼─────────┼─────────┼─────────┤
- // PAGE DOWN│ │ │ │ │ │
- // │ │ LEFT │ MOUSE │ RIGHT │ │
- // ROTARY │ │ CLICK │ UP │ CLICK │ │
- // LEFT: ├─────────┼─────────┼─────────┼─────────┼─────────┤
- // PAGE UP │ │ │ │ │ │
- // │ BTN 4 │ MOUSE │ MOUSE │ MOUSE │ │
- // │ │ LEFT │ DOWN │ RIGHT │ │
- // ┌─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
- // │ │ │ │ │ │ │
- // │ │ BTN 3 │ WHEEL │ WHEEL │ WHEEL │ │
- // │ │ │ LEFT │ DOWN │ RIGHT │ │
- // └─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
-
- [_MOUSE] = LAYOUT(
- KC_BTN5, _______, KC_WH_U, _______, _______,
- _______, KC_BTN1, KC_MS_U, KC_BTN2, TG(_MOUSE),
- KC_BTN4, KC_MS_L, KC_MS_D, KC_MS_R, _______,
- _______, KC_BTN3, KC_WH_L, KC_WH_D, KC_WH_R, _______
- ),
-
- // ADMIN LAYER
- // ┌─────────┬─────────┬─────────┬─────────┬─────────┐
- // │ │ │ │ │ │
- // │ QK_BOOT │ │ │ │ │
- // ROTARY │ │ │ │ │ │
- // RIGHT: ├─────────┼─────────┼─────────┼─────────┼─────────┤
- // PAGE DOWN│ │ │ │ │ │
- // │ 4 │ 5 │ 6 │ * │ │
- // ROTARY │ │ │ │ │ │
- // LEFT: ├─────────┼─────────┼─────────┼─────────┼─────────┤
- // PAGE UP │ │ │ │ │ │
- // │ 1 │ 2 │ 3 │ │ │
- // │ │ │ │ │ │
- // ┌─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
- // │ │ │ │ │ │ │
- // │ │ 0 │ . │ = │ │ │
- // │ │ │ │ │ │ │
- // └─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
-
- [_ADMIN] = LAYOUT(
- QK_BOOT, _______, _______, _______, TG(_ADMIN),
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______
- ),
-};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-};
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder */
- if (clockwise) {
- tap_code(KC_PGDN);
- } else {
- tap_code(KC_PGUP);
- }
- }
- return true;
-}
diff --git a/keyboards/ckeys/thedora/readme.md b/keyboards/ckeys/thedora/readme.md
deleted file mode 100755
index 26233de3c7..0000000000
--- a/keyboards/ckeys/thedora/readme.md
+++ /dev/null
@@ -1,66 +0,0 @@
-# theDora Board
-
-![Thedora Board](https://ckeys.org/images/exboard-3.jpg)
-
-A 4x5 keyboard with rotary encoder, QWIIC connector, and header pinouts for easy access to all pins on the Proton C. This keyboard was built for QMK exploration big and small. What will you discover next?
-
-* Keyboard Maintainer: [brandenbyers](https://github.com/brandenbyers)
-* Hardware Supported: theDora
-* Hardware Availability: [cKeys.org](https://ckeys.org)
-
-Make example for this keyboard (after setting up your build environment):
-
-`make ckeys/thedora:default`
-
-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](Complete Newbs Guide).
-
----
-
-## Slides
-
-Slides can be found at: https://ckeys.org/slides/exboard/
-
-## Case Design
-
-The acrylic laser cutter file is coming soon!
-
-## PCB Design
-
-All cKeys PCBs are open source. However, this one has not been posted yet because it needs to be cleaned up a bit! Coming soon!
-
-## Firmware
-
-If you want to reflash the pre-installed firmware, use the `.bin` file for Proton C. Flash with the QMK Toolbox or via the command line.
-
-**Building for Proton C:**
-`make ckeys/thedora:default`
-
-**Search for Bootloader Device:**
-`make ckeys/thedora:default:flash`
-You will begin seeing output of the host searching for the bootloader device, `ERROR: Bootloader not found. Trying again in 5s.`
-
-**Enter DFU-Bootloader Mode:**
-Reset the controller. Press [ADMIN](https://ckeys.org/slides/exboard/assets/player/keynotedhtmlplayer#21) + [RESET](https://ckeys.org/slides/exboard/assets/player/keynotedhtmlplayer#25) or, if accessible, press the reset button on the Proton C microcontroller.
-
-## Default Layout
-
-You can find the default layout in `thedora/keymaps/default/keymap.c`
-
-## Rotary Encoder
-
-This is the bit of code at the end of `keymap.c` that needs to changed if you want to change the behavior of the rotary encoder.
-
-```
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder */
- if (clockwise) {
- tap_code(KC_PGDN); // What the rotary encoder repeatedly does when turned right.
- } else {
- tap_code(KC_PGUP); // What it does when turned to the left.
- }
- }
- return true;
-}
-```
-
-![The Dora Board](https://ckeys.org/images/exboard-1.jpg)
diff --git a/keyboards/ckeys/thedora/rules.mk b/keyboards/ckeys/thedora/rules.mk
deleted file mode 100755
index ea0154859b..0000000000
--- a/keyboards/ckeys/thedora/rules.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-# MCU name
-MCU = STM32F303
-BOARD = QMK_PROTON_C
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
-# 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 = yes # Audio output
-
-MIDI_ENABLE = yes # MIDI support
-ENCODER_ENABLE = yes
diff --git a/keyboards/ckeys/thedora/thedora.c b/keyboards/ckeys/thedora/thedora.c
deleted file mode 100755
index 58953f7437..0000000000
--- a/keyboards/ckeys/thedora/thedora.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Copyright 2019 Branden Byers (@brandenbyers)
- *
- * 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 "thedora.h"
-
-bool encoder_update_kb(uint8_t index, bool clockwise) {
- if (!encoder_update_user(index, clockwise)) {
- return false;
- }
- if (index == 0) {
- if (clockwise) {
- tap_code(KC_PGDN);
- } else {
- tap_code(KC_PGUP);
- }
- }
- return true;
-}
diff --git a/keyboards/ckeys/thedora/thedora.h b/keyboards/ckeys/thedora/thedora.h
deleted file mode 100755
index 5e66f67166..0000000000
--- a/keyboards/ckeys/thedora/thedora.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* Copyright 2019 Branden Byers (@brandenbyers)
- *
- * 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
-
-#include "quantum.h"
-
-#define XXX KC_NO
-
-// This a shortcut to help you visually see your layout.
-// The first section contains all of the arguments
-// The second converts the arguments into a two-dimensional array
-#define LAYOUT( \
- k00, k01, k02, k03, k04, \
- k10, k11, k12, k13, k14, \
- k20, k21, k22, k23, k24, \
- k05, k30, k31, k32, k33, k34 \
-) \
-{ \
- { k00, k01, k02, k03, k04, k05 }, \
- { k10, k11, k12, k13, k14, XXX }, \
- { k20, k21, k22, k23, k24, XXX }, \
- { k30, k31, k32, k33, k34, XXX } \
-}