summaryrefslogtreecommitdiffstats
path: root/keyboards/duck
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/duck
parentfe13cedf8c09fa34d5cec4e4c624738095176625 (diff)
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/duck')
-rw-r--r--keyboards/duck/duck_led/duck_led.c7
-rw-r--r--keyboards/duck/duck_led/duck_led.h16
-rw-r--r--keyboards/duck/eagle_viper/v2/config.h42
-rw-r--r--keyboards/duck/eagle_viper/v2/indicator_leds.c82
-rw-r--r--keyboards/duck/eagle_viper/v2/indicator_leds.h1
-rw-r--r--keyboards/duck/eagle_viper/v2/info.json368
-rw-r--r--keyboards/duck/eagle_viper/v2/keymaps/default/keymap.c35
-rw-r--r--keyboards/duck/eagle_viper/v2/keymaps/default/readme.md10
-rw-r--r--keyboards/duck/eagle_viper/v2/keymaps/profanum429/keymap.c35
-rw-r--r--keyboards/duck/eagle_viper/v2/keymaps/profanum429/readme.md5
-rw-r--r--keyboards/duck/eagle_viper/v2/keymaps/via/keymap.c51
-rw-r--r--keyboards/duck/eagle_viper/v2/keymaps/via/readme.md10
-rw-r--r--keyboards/duck/eagle_viper/v2/keymaps/via/rules.mk2
-rw-r--r--keyboards/duck/eagle_viper/v2/matrix.c258
-rw-r--r--keyboards/duck/eagle_viper/v2/readme.md31
-rw-r--r--keyboards/duck/eagle_viper/v2/rules.mk24
-rw-r--r--keyboards/duck/eagle_viper/v2/v2.c61
-rw-r--r--keyboards/duck/eagle_viper/v2/v2.h90
-rw-r--r--keyboards/duck/jetfire/config.h87
-rw-r--r--keyboards/duck/jetfire/indicator_leds.c116
-rw-r--r--keyboards/duck/jetfire/indicator_leds.h11
-rw-r--r--keyboards/duck/jetfire/info.json20
-rw-r--r--keyboards/duck/jetfire/jetfire.c161
-rw-r--r--keyboards/duck/jetfire/jetfire.h58
-rw-r--r--keyboards/duck/jetfire/keymaps/default/keymap.c27
-rw-r--r--keyboards/duck/jetfire/keymaps/default/readme.md1
-rw-r--r--keyboards/duck/jetfire/matrix.c262
-rw-r--r--keyboards/duck/jetfire/readme.md18
-rw-r--r--keyboards/duck/jetfire/rules.mk23
-rw-r--r--keyboards/duck/lightsaver/config.h42
-rw-r--r--keyboards/duck/lightsaver/indicator_leds.c84
-rw-r--r--keyboards/duck/lightsaver/indicator_leds.h1
-rw-r--r--keyboards/duck/lightsaver/info.json16
-rw-r--r--keyboards/duck/lightsaver/keymaps/default/keymap.c44
-rw-r--r--keyboards/duck/lightsaver/keymaps/default/readme.md11
-rw-r--r--keyboards/duck/lightsaver/keymaps/rasmus/config.h8
-rw-r--r--keyboards/duck/lightsaver/keymaps/rasmus/keymap.c102
-rw-r--r--keyboards/duck/lightsaver/keymaps/rasmus/readme.md12
-rw-r--r--keyboards/duck/lightsaver/keymaps/rasmus/rules.mk2
-rw-r--r--keyboards/duck/lightsaver/lightsaver.c56
-rw-r--r--keyboards/duck/lightsaver/lightsaver.h38
-rw-r--r--keyboards/duck/lightsaver/matrix.c278
-rw-r--r--keyboards/duck/lightsaver/readme.md19
-rw-r--r--keyboards/duck/lightsaver/rules.mk23
-rw-r--r--keyboards/duck/octagon/.noci0
-rw-r--r--keyboards/duck/octagon/keymaps/default/keymap.c37
-rw-r--r--keyboards/duck/octagon/keymaps/default/readme.md0
-rw-r--r--keyboards/duck/octagon/keymaps/via/keymap.c50
-rw-r--r--keyboards/duck/octagon/keymaps/via/rules.mk2
-rw-r--r--keyboards/duck/octagon/readme.md11
-rw-r--r--keyboards/duck/octagon/rules.mk1
-rw-r--r--keyboards/duck/octagon/v1/.noci0
-rw-r--r--keyboards/duck/octagon/v1/config.h42
-rw-r--r--keyboards/duck/octagon/v1/info.json101
-rw-r--r--keyboards/duck/octagon/v1/matrix.c230
-rw-r--r--keyboards/duck/octagon/v1/readme.md28
-rw-r--r--keyboards/duck/octagon/v1/rules.mk24
-rw-r--r--keyboards/duck/octagon/v1/v1.c46
-rw-r--r--keyboards/duck/octagon/v1/v1.h34
-rw-r--r--keyboards/duck/octagon/v2/config.h42
-rw-r--r--keyboards/duck/octagon/v2/indicator_leds.c123
-rw-r--r--keyboards/duck/octagon/v2/indicator_leds.h7
-rw-r--r--keyboards/duck/octagon/v2/info.json20
-rw-r--r--keyboards/duck/octagon/v2/matrix.c261
-rw-r--r--keyboards/duck/octagon/v2/readme.md30
-rw-r--r--keyboards/duck/octagon/v2/rules.mk25
-rw-r--r--keyboards/duck/octagon/v2/v2.c113
-rw-r--r--keyboards/duck/octagon/v2/v2.h50
-rw-r--r--keyboards/duck/orion/.noci0
-rw-r--r--keyboards/duck/orion/readme.md7
-rw-r--r--keyboards/duck/orion/rules.mk1
-rw-r--r--keyboards/duck/orion/v3/config.h47
-rw-r--r--keyboards/duck/orion/v3/indicator_leds.c82
-rw-r--r--keyboards/duck/orion/v3/indicator_leds.h1
-rw-r--r--keyboards/duck/orion/v3/info.json16
-rw-r--r--keyboards/duck/orion/v3/keymaps/default/keymap.c34
-rw-r--r--keyboards/duck/orion/v3/matrix.c266
-rw-r--r--keyboards/duck/orion/v3/readme.md30
-rw-r--r--keyboards/duck/orion/v3/rules.mk25
-rw-r--r--keyboards/duck/orion/v3/v3.c39
-rw-r--r--keyboards/duck/orion/v3/v3.h36
-rw-r--r--keyboards/duck/readme.md18
-rw-r--r--keyboards/duck/tcv3/config.h37
-rw-r--r--keyboards/duck/tcv3/indicator_leds.c123
-rw-r--r--keyboards/duck/tcv3/indicator_leds.h7
-rw-r--r--keyboards/duck/tcv3/info.json20
-rw-r--r--keyboards/duck/tcv3/keymaps/default/keymap.c37
-rw-r--r--keyboards/duck/tcv3/keymaps/default/readme.md0
-rw-r--r--keyboards/duck/tcv3/keymaps/via/config.h1
-rw-r--r--keyboards/duck/tcv3/keymaps/via/keymap.c42
-rw-r--r--keyboards/duck/tcv3/keymaps/via/rules.mk2
-rw-r--r--keyboards/duck/tcv3/matrix.c280
-rw-r--r--keyboards/duck/tcv3/readme.md27
-rw-r--r--keyboards/duck/tcv3/rules.mk22
-rw-r--r--keyboards/duck/tcv3/tcv3.c130
-rw-r--r--keyboards/duck/tcv3/tcv3.h53
96 files changed, 0 insertions, 5308 deletions
diff --git a/keyboards/duck/duck_led/duck_led.c b/keyboards/duck/duck_led/duck_led.c
deleted file mode 100644
index 2fa920e4b6..0000000000
--- a/keyboards/duck/duck_led/duck_led.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <avr/io.h>
-#include "duck_led.h"
-#include "quantum.h"
-
-void show(void) {
- wait_us((RES / 1000UL) + 1);
-}
diff --git a/keyboards/duck/duck_led/duck_led.h b/keyboards/duck/duck_led/duck_led.h
deleted file mode 100644
index 2546366d0c..0000000000
--- a/keyboards/duck/duck_led/duck_led.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#pragma once
-
-#define RES 6000
-
-#define NS_PER_SEC (1000000000L)
-#define CYCLES_PER_SEC (F_CPU)
-#define NS_PER_CYCLE (NS_PER_SEC / CYCLES_PER_SEC)
-#define NS_TO_CYCLES(n) ((n) / NS_PER_CYCLE)
-
-enum Device {
- Device_PCBRGB,
- Device_STATUSLED
-};
-
-void show(void);
-
diff --git a/keyboards/duck/eagle_viper/v2/config.h b/keyboards/duck/eagle_viper/v2/config.h
deleted file mode 100644
index 122eeb4b4a..0000000000
--- a/keyboards/duck/eagle_viper/v2/config.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright 2017 MechMerlin <mechmerlin@gmail.com>
-
-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"
-
-/* key matrix size */
-#define MATRIX_ROWS 5
-#define MATRIX_COLS 15
-
-#define DIODE_DIRECTION COL2ROW
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
-
-/* number of backlight levels */
-#define BACKLIGHT_LEVELS 3
-
-#define RGBLIGHT_ANIMATIONS
-#define RGB_DI_PIN D6
-#define RGBLED_NUM 17
-
-/* Set to top left most key */
-#define BOOTMAGIC_LITE_ROW 4
-#define BOOTMAGIC_LITE_COLUMN 10
-
-#define TAPPING_TERM 200
diff --git a/keyboards/duck/eagle_viper/v2/indicator_leds.c b/keyboards/duck/eagle_viper/v2/indicator_leds.c
deleted file mode 100644
index fc90ed3fbd..0000000000
--- a/keyboards/duck/eagle_viper/v2/indicator_leds.c
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
-Copyright 2017 MechMerlin <mechmerlin@gmail.com>
-
-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 <avr/interrupt.h>
-#include <avr/io.h>
-#include <stdbool.h>
-#include <util/delay.h>
-#include "indicator_leds.h"
-#include "duck_led/duck_led.h"
-
-#define LED_T1H 600
-#define LED_T1L 650
-#define LED_T0H 250
-#define LED_T0L 1000
-
-void send_bit_d4(bool bitVal) {
- if(bitVal) {
- asm volatile (
- "sbi %[port], %[bit] \n\t"
- ".rept %[onCycles] \n\t"
- "nop \n\t"
- ".endr \n\t"
- "cbi %[port], %[bit] \n\t"
- ".rept %[offCycles] \n\t"
- "nop \n\t"
- ".endr \n\t"
- ::
- [port] "I" (_SFR_IO_ADDR(PORTD)),
- [bit] "I" (4),
- [onCycles] "I" (NS_TO_CYCLES(LED_T1H) - 2),
- [offCycles] "I" (NS_TO_CYCLES(LED_T1L) - 2));
- } else {
- asm volatile (
- "sbi %[port], %[bit] \n\t"
- ".rept %[onCycles] \n\t"
- "nop \n\t"
- ".endr \n\t"
- "cbi %[port], %[bit] \n\t"
- ".rept %[offCycles] \n\t"
- "nop \n\t"
- ".endr \n\t"
- ::
- [port] "I" (_SFR_IO_ADDR(PORTD)),
- [bit] "I" (4),
- [onCycles] "I" (NS_TO_CYCLES(LED_T0H) - 2),
- [offCycles] "I" (NS_TO_CYCLES(LED_T0L) - 2));
- }
-}
-
-void send_value(uint8_t byte, enum Device device) {
- for(uint8_t b = 0; b < 8; b++) {
- if(device == Device_STATUSLED) {
- send_bit_d4(byte & 0b10000000);
- byte <<= 1;
- }
- }
-}
-
-// Send the LED indicators to the WS2811S chips
-void indicator_leds_set(bool leds[8]) {
- uint8_t led_cnt;
-
- cli();
- for(led_cnt = 0; led_cnt < 8; led_cnt++)
- send_value(leds[led_cnt] ? 255 : 0, Device_STATUSLED);
- sei();
- show();
-}
-
diff --git a/keyboards/duck/eagle_viper/v2/indicator_leds.h b/keyboards/duck/eagle_viper/v2/indicator_leds.h
deleted file mode 100644
index fe66eef6b2..0000000000
--- a/keyboards/duck/eagle_viper/v2/indicator_leds.h
+++ /dev/null
@@ -1 +0,0 @@
-void indicator_leds_set(bool leds[8]);
diff --git a/keyboards/duck/eagle_viper/v2/info.json b/keyboards/duck/eagle_viper/v2/info.json
deleted file mode 100644
index e21ca68209..0000000000
--- a/keyboards/duck/eagle_viper/v2/info.json
+++ /dev/null
@@ -1,368 +0,0 @@
-{
- "keyboard_name": "Eagle/Viper V2",
- "manufacturer": "Duck",
- "usb": {
- "vid": "0x444B",
- "pid": "0x4556",
- "device_version": "0.0.2"
- },
- "layout_aliases": {
- "LAYOUT_eagle": "LAYOUT_60_ansi",
- "LAYOUT_viper": "LAYOUT_60_hhkb",
- "LAYOUT_eagle_splits": "LAYOUT_60_ansi_split_bs_lshift_rshift"
- },
- "layouts": {
- "LAYOUT_all": {
- "layout": [
- {"label":"Esc", "x":0, "y":0},
- {"label":"!", "x":1, "y":0},
- {"label":"@", "x":2, "y":0},
- {"label":"#", "x":3, "y":0},
- {"label":"$", "x":4, "y":0},
- {"label":"%", "x":5, "y":0},
- {"label":"^", "x":6, "y":0},
- {"label":"&", "x":7, "y":0},
- {"label":"*", "x":8, "y":0},
- {"label":"(", "x":9, "y":0},
- {"label":")", "x":10, "y":0},
- {"label":"_", "x":11, "y":0},
- {"label":"+", "x":12, "y":0},
- {"label":"|", "x":13, "y":0},
- {"label":"~", "x":14, "y":0},
-
- {"label":"Tab", "x":0, "y":1, "w":1.5},
- {"label":"Q", "x":1.5, "y":1},
- {"label":"W", "x":2.5, "y":1},
- {"label":"E", "x":3.5, "y":1},
- {"label":"R", "x":4.5, "y":1},
- {"label":"T", "x":5.5, "y":1},
- {"label":"Y", "x":6.5, "y":1},
- {"label":"U", "x":7.5, "y":1},
- {"label":"I", "x":8.5, "y":1},
- {"label":"O", "x":9.5, "y":1},
- {"label":"P", "x":10.5, "y":1},
- {"label":"{", "x":11.5, "y":1},
- {"label":"}", "x":12.5, "y":1},
- {"label":"Backspace", "x":13.5, "y":1, "w":1.5},
-
- {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
- {"label":"A", "x":1.75, "y":2},
- {"label":"S", "x":2.75, "y":2},
- {"label":"D", "x":3.75, "y":2},
- {"label":"F", "x":4.75, "y":2},
- {"label":"G", "x":5.75, "y":2},
- {"label":"H", "x":6.75, "y":2},
- {"label":"J", "x":7.75, "y":2},
- {"label":"K", "x":8.75, "y":2},
- {"label":"L", "x":9.75, "y":2},
- {"label":":", "x":10.75, "y":2},
- {"label":"\"", "x":11.75, "y":2},
- {"label":"ISO#", "x":12.75, "y":2},
- {"label":"Enter", "x":13.75, "y":2, "w":1.25},
-
- {"label":"Shift", "x":0, "y":3, "w":1.25},
- {"label":"ISO\\", "x":1.25, "y":3},
- {"label":"Z", "x":2.25, "y":3},
- {"label":"X", "x":3.25, "y":3},
- {"label":"C", "x":4.25, "y":3},
- {"label":"V", "x":5.25, "y":3},
- {"label":"B", "x":6.25, "y":3},
- {"label":"N", "x":7.25, "y":3},
- {"label":"M", "x":8.25, "y":3},
- {"label":"<", "x":9.25, "y":3},
- {"label":">", "x":10.25, "y":3},
- {"label":"?", "x":11.25, "y":3},
- {"label":"Shift", "x":12.25, "y":3, "w":1.75},
- {"label":"Fn", "x":14, "y":3},
-
- {"label":"Ctrl", "x":0, "y":4, "w":1.25},
- {"label":"GUI", "x":1.25, "y":4, "w":1.25},
- {"label":"Alt", "x":2.5, "y":4, "w":1.25},
- {"x":3.75, "y":4, "w":6.25},
- {"label":"Alt", "x":10, "y":4, "w":1.25},
- {"label":"GUI", "x":11.25, "y":4, "w":1.25},
- {"label":"Menu", "x":12.5, "y":4, "w":1.25},
- {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}
- ]
- },
- "LAYOUT_60_ansi": {
- "layout": [
- {"label":"~", "x":0, "y":0},
- {"label":"!", "x":1, "y":0},
- {"label":"@", "x":2, "y":0},
- {"label":"#", "x":3, "y":0},
- {"label":"$", "x":4, "y":0},
- {"label":"%", "x":5, "y":0},
- {"label":"^", "x":6, "y":0},
- {"label":"&", "x":7, "y":