summaryrefslogtreecommitdiffstats
path: root/keyboards/matrix
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/matrix
parentfe13cedf8c09fa34d5cec4e4c624738095176625 (diff)
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/matrix')
-rw-r--r--keyboards/matrix/abelx/abelx.c104
-rw-r--r--keyboards/matrix/abelx/abelx.h61
-rw-r--r--keyboards/matrix/abelx/aw9523b.c100
-rw-r--r--keyboards/matrix/abelx/aw9523b.h62
-rw-r--r--keyboards/matrix/abelx/boards/abelx_bd/board.c265
-rw-r--r--keyboards/matrix/abelx/boards/abelx_bd/board.h1299
-rw-r--r--keyboards/matrix/abelx/boards/abelx_bd/board.mk9
-rw-r--r--keyboards/matrix/abelx/chconf.h27
-rw-r--r--keyboards/matrix/abelx/config.h100
-rw-r--r--keyboards/matrix/abelx/halconf.h31
-rw-r--r--keyboards/matrix/abelx/info.json19
-rw-r--r--keyboards/matrix/abelx/keymaps/default/keymap.c41
-rw-r--r--keyboards/matrix/abelx/keymaps/iso/keymap.c39
-rw-r--r--keyboards/matrix/abelx/ld/abelx_boot.ld85
-rw-r--r--keyboards/matrix/abelx/matrix.c108
-rw-r--r--keyboards/matrix/abelx/mcuconf.h252
-rw-r--r--keyboards/matrix/abelx/readme.md11
-rw-r--r--keyboards/matrix/abelx/rules.mk48
-rw-r--r--keyboards/matrix/abelx/tca6424.c117
-rw-r--r--keyboards/matrix/abelx/tca6424.h42
-rw-r--r--keyboards/matrix/cain_re/cain_re.c40
-rw-r--r--keyboards/matrix/cain_re/cain_re.h40
-rw-r--r--keyboards/matrix/cain_re/config.h50
-rw-r--r--keyboards/matrix/cain_re/info.json16
-rw-r--r--keyboards/matrix/cain_re/keymaps/default/keymap.c40
-rw-r--r--keyboards/matrix/cain_re/readme.md15
-rw-r--r--keyboards/matrix/cain_re/rules.mk18
-rw-r--r--keyboards/matrix/falcon/config.h64
-rw-r--r--keyboards/matrix/falcon/falcon.c28
-rw-r--r--keyboards/matrix/falcon/falcon.h51
-rw-r--r--keyboards/matrix/falcon/info.json151
-rw-r--r--keyboards/matrix/falcon/keymaps/default/keymap.c32
-rw-r--r--keyboards/matrix/falcon/keymaps/via/keymap.c46
-rw-r--r--keyboards/matrix/falcon/keymaps/via/rules.mk2
-rw-r--r--keyboards/matrix/falcon/readme.md25
-rw-r--r--keyboards/matrix/falcon/rules.mk20
-rw-r--r--keyboards/matrix/m12og/readme.md12
-rw-r--r--keyboards/matrix/m12og/rev1/boards/m12og_v1/board.c50
-rw-r--r--keyboards/matrix/m12og/rev1/boards/m12og_v1/board.h142
-rw-r--r--keyboards/matrix/m12og/rev1/boards/m12og_v1/board.mk5
-rw-r--r--keyboards/matrix/m12og/rev1/chconf.h40
-rw-r--r--keyboards/matrix/m12og/rev1/config.h47
-rw-r--r--keyboards/matrix/m12og/rev1/halconf.h26
-rw-r--r--keyboards/matrix/m12og/rev1/info.json103
-rw-r--r--keyboards/matrix/m12og/rev1/keymaps/default/keymap.c50
-rw-r--r--keyboards/matrix/m12og/rev1/ld/m12og_v1.ld85
-rw-r--r--keyboards/matrix/m12og/rev1/matrix.c96
-rw-r--r--keyboards/matrix/m12og/rev1/mcuconf.h209
-rw-r--r--keyboards/matrix/m12og/rev1/readme.md26
-rw-r--r--keyboards/matrix/m12og/rev1/rev1.c32
-rw-r--r--keyboards/matrix/m12og/rev1/rev1.h37
-rw-r--r--keyboards/matrix/m12og/rev1/rules.mk25
-rw-r--r--keyboards/matrix/m12og/rev2/config.h30
-rw-r--r--keyboards/matrix/m12og/rev2/info.json19
-rw-r--r--keyboards/matrix/m12og/rev2/keymaps/default/keymap.c25
-rw-r--r--keyboards/matrix/m12og/rev2/keymaps/iso/keymap.c24
-rw-r--r--keyboards/matrix/m12og/rev2/keymaps/via/keymap.c57
-rw-r--r--keyboards/matrix/m12og/rev2/keymaps/via/rules.mk1
-rw-r--r--keyboards/matrix/m12og/rev2/readme.md16
-rw-r--r--keyboards/matrix/m12og/rev2/rev2.c21
-rw-r--r--keyboards/matrix/m12og/rev2/rev2.h57
-rw-r--r--keyboards/matrix/m12og/rev2/rules.mk18
-rw-r--r--keyboards/matrix/m20add/board.h1299
-rw-r--r--keyboards/matrix/m20add/chconf.h61
-rw-r--r--keyboards/matrix/m20add/config.h89
-rw-r--r--keyboards/matrix/m20add/halconf.h35
-rw-r--r--keyboards/matrix/m20add/info.json19
-rw-r--r--keyboards/matrix/m20add/keymaps/default/keymap.c26
-rw-r--r--keyboards/matrix/m20add/keymaps/iso/keymap.c24
-rw-r--r--keyboards/matrix/m20add/ld/m20add_boot.ld85
-rw-r--r--keyboards/matrix/m20add/m20add.c66
-rw-r--r--keyboards/matrix/m20add/m20add.h46
-rw-r--r--keyboards/matrix/m20add/matrix.c93
-rw-r--r--keyboards/matrix/m20add/mcuconf.h252
-rw-r--r--keyboards/matrix/m20add/readme.md13
-rw-r--r--keyboards/matrix/m20add/rgb_ring.c457
-rw-r--r--keyboards/matrix/m20add/rgb_ring.h23
-rw-r--r--keyboards/matrix/m20add/rules.mk32
-rw-r--r--keyboards/matrix/m20add/tca6424.c115
-rw-r--r--keyboards/matrix/m20add/tca6424.h40
-rw-r--r--keyboards/matrix/me/config.h60
-rw-r--r--keyboards/matrix/me/info.json19
-rw-r--r--keyboards/matrix/me/keymaps/default/keymap.c37
-rw-r--r--keyboards/matrix/me/keymaps/via/keymap.c56
-rw-r--r--keyboards/matrix/me/keymaps/via/rules.mk2
-rw-r--r--keyboards/matrix/me/me.c17
-rw-r--r--keyboards/matrix/me/me.h70
-rw-r--r--keyboards/matrix/me/readme.md25
-rw-r--r--keyboards/matrix/me/rules.mk18
-rw-r--r--keyboards/matrix/noah/board.h1336
-rw-r--r--keyboards/matrix/noah/chconf.h61
-rw-r--r--keyboards/matrix/noah/config.h91
-rw-r--r--keyboards/matrix/noah/halconf.h33
-rw-r--r--keyboards/matrix/noah/info.json1434
-rw-r--r--keyboards/matrix/noah/keymaps/blockader/config.h3
-rw-r--r--keyboards/matrix/noah/keymaps/blockader/keymap.c652
-rw-r--r--keyboards/matrix/noah/keymaps/blockader/rules.mk2
-rw-r--r--keyboards/matrix/noah/keymaps/default/keymap.c20
-rw-r--r--keyboards/matrix/noah/keymaps/iso/keymap.c20
-rw-r--r--keyboards/matrix/noah/keymaps/rys/keymap.c59
-rw-r--r--keyboards/matrix/noah/keymaps/splitspace/keymap.c20
-rw-r--r--keyboards/matrix/noah/keymaps/wkl/keymap.c20
-rw-r--r--keyboards/matrix/noah/ld/noah_boot.ld85
-rw-r--r--keyboards/matrix/noah/matrix.c178
-rw-r--r--keyboards/matrix/noah/mcuconf.h252
-rw-r--r--keyboards/matrix/noah/noah.c230
-rw-r--r--keyboards/matrix/noah/noah.h77
-rw-r--r--keyboards/matrix/noah/readme.md19
-rw-r--r--keyboards/matrix/noah/rules.mk37
109 files changed, 0 insertions, 12419 deletions
diff --git a/keyboards/matrix/abelx/abelx.c b/keyboards/matrix/abelx/abelx.c
deleted file mode 100644
index 9585948e0c..0000000000
--- a/keyboards/matrix/abelx/abelx.c
+++ /dev/null
@@ -1,104 +0,0 @@
-/**
- * abelx.c
- *
- * Copyright 2020 astro <yuleiz@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 "abelx.h"
-#include "tca6424.h"
-#include "aw9523b.h"
-
-void set_pin(uint16_t pin)
-{
- uint8_t data = tca6424_read_port(GET_PORT(pin));
- data |= ( 1 << GET_PIN(pin));
- tca6424_write_port(GET_PORT(pin), data);
-}
-
-void clear_pin(uint16_t pin)
-{
- uint8_t data = tca6424_read_port(GET_PORT(pin));
- data &= ~( 1 << GET_PIN(pin));
- tca6424_write_port(GET_PORT(pin), data);
-}
-
-uint8_t read_pin(uint16_t pin)
-{
- uint8_t data = tca6424_read_port(GET_PORT(pin));
- return (data & (1<<GET_PIN(pin))) ? 1 : 0;
-}
-
-void matrix_init_kb(void) {
-#ifdef RGBLIGHT_ENABLE
- aw9523b_init(AW9523B_ADDR);
-#endif
- matrix_init_user();
-}
-
-
-void housekeeping_task_kb(void) {
-#ifdef RGBLIGHT_ENABLE
- aw9523b_update_pwm_buffers(AW9523B_ADDR);
-#endif
-}
-
-#ifdef RGBLIGHT_ENABLE
-#include "rgblight.h"
-#include "i2c_master.h"
-
-const aw9523b_led g_aw9523b_leds[AW9523B_RGB_NUM] = {
- {AW9523B_P12_PWM, AW9523B_P11_PWM, AW9523B_P10_PWM},
- {AW9523B_P01_PWM, AW9523B_P00_PWM, AW9523B_P13_PWM},
- {AW9523B_P04_PWM, AW9523B_P03_PWM, AW9523B_P02_PWM},
- {AW9523B_P07_PWM, AW9523B_P06_PWM, AW9523B_P05_PWM},
-};
-
-void rgblight_call_driver(LED_TYPE *start_led, uint8_t num_leds)
-{
- uint8_t num = num_leds < AW9523B_RGB_NUM ? num_leds : AW9523B_RGB_NUM;
-
- ws2812_setleds(start_led, num);
-
- for (int i = 0; i < num; i++) {
- aw9523b_set_color(i, start_led[i].r, start_led[i].g, start_led[i].b);
- }
-}
-
-#endif
-
-static uint16_t caps_lock_pin = DEF_PIN(TCA6424_PORT2, 3);
-static uint16_t scroll_lock_pin = DEF_PIN(TCA6424_PORT0, 0);
-
-bool led_update_kb(led_t led_state) {
- bool res = led_update_user(led_state);
- if (res) {
- led_state.caps_lock ? set_pin(caps_lock_pin) : clear_pin(caps_lock_pin);
- led_state.scroll_lock ? set_pin(scroll_lock_pin) : clear_pin(scroll_lock_pin);
- }
- return res;
-}
-
-#define REBOOT_MAGIC 0x41544B42
-void shutdown_user(void)
-{
- // set the magic number for resetting to the bootloader
- *(uint32_t *)(&(RTCD1.rtc->BKP0R)) = REBOOT_MAGIC;
-}
-
-void bootloader_jump(void) {
- shutdown_user();
- NVIC_SystemReset();
-}
diff --git a/keyboards/matrix/abelx/abelx.h b/keyboards/matrix/abelx/abelx.h
deleted file mode 100644
index b5a1cc7aa7..0000000000
--- a/keyboards/matrix/abelx/abelx.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * abelx.h
- *
- * Copyright 2020 astro <yuleiz@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 "quantum.h"
-
-
-#define LAYOUT_tkl_iso( \
- K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \
- \
- K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, \
- K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K214, K215, K216, \
- K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, \
- K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, \
- K500, K501, K502, K506, K509, K510, K511, K512, K513, K514, K515\
-) { \
- { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015}, \
- { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115}, \
- { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, KC_NO, K214, K116}, \
- { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K215, K216}, \
- { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, KC_NO, K413,KC_NO}, \
- { K500, K501, K502, KC_NO, KC_NO, KC_NO, K506, K509, K510, K511, K512, K513, K514, KC_NO, K515,KC_NO}, \
-}
-
-#define LAYOUT_tkl_ansi( \
- K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \
- \
- K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, \
- K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, K216, \
- K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, \
- K400, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, \
- K500, K501, K502, K506, K509, K510, K511, K512, K513, K514, K515\
-) { \
- { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015}, \
- { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115}, \
- { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K116}, \
- { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310,