mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-01 15:35:52 +00:00
[Keyboard] Add kabedon keyboards (#9929)
* Add kabedon keyboards * #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047 * change README.md * Update README.md * Update config.h * Update keymap.c * Update rules.mk * Update rules.mk * Update README.md * Update info.json * Update kabedon980.c * Update keymap.c * Update rules.mk * Update config.h * Update config.h * Update info.json * Update README.md * Update rules.mk * Update README.md * Update kabedon980.c * Update rules.mk * Update rules.mk * Update rules.mk * Update rules.mk * Update rules.mk * Update README.md * Update README.md * Update info.json
This commit is contained in:
parent
99905dcfa3
commit
a260cbbea6
13
keyboards/kabedon/kabedon78s/README.md
Normal file
13
keyboards/kabedon/kabedon78s/README.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Kabe Don 78S
|
||||||
|
|
||||||
|
This is a special-shaped keyboard with smaller keyboard and more functions,Includes RGB LEDs Underglow
|
||||||
|
|
||||||
|
* Keyboard Maintainer: [370490639](https://github.com/370490639)
|
||||||
|
* Hardware Supported: Kabe Don 78s
|
||||||
|
* Hardware Availability: Kabe Don 78S
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make kabedon/kabedon78s: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](https://docs.qmk.fm/#/newbs).
|
52
keyboards/kabedon/kabedon78s/config.h
Normal file
52
keyboards/kabedon/kabedon78s/config.h
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2012 Jun Wako <wakojun@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"
|
||||||
|
|
||||||
|
/* USB Device descriptor parameter */
|
||||||
|
#define VENDOR_ID 0x4B44 //KD
|
||||||
|
#define PRODUCT_ID 0x3738 //78
|
||||||
|
#define DEVICE_VER 0x0001
|
||||||
|
#define MANUFACTURER Kabe_Don
|
||||||
|
#define PRODUCT 78S
|
||||||
|
|
||||||
|
/* key matrix size */
|
||||||
|
#define MATRIX_ROWS 6
|
||||||
|
#define MATRIX_COLS 18
|
||||||
|
|
||||||
|
/* Keyboard Matrix Assignments */
|
||||||
|
#define MATRIX_ROW_PINS {D0,D2,F7,B1,B0,D6}
|
||||||
|
#define MATRIX_COL_PINS {F5,F4,F6,C6,B6,B4,D3,D1,D4,F1,B3,D5,F0,C7,D7,B5,B2,E6}
|
||||||
|
|
||||||
|
/* COL2ROW, ROW2COL*/
|
||||||
|
#define DIODE_DIRECTION ROW2COL
|
||||||
|
|
||||||
|
#define DEBOUNCE 5
|
||||||
|
|
||||||
|
#define RGB_DI_PIN B7
|
||||||
|
#ifdef RGB_DI_PIN
|
||||||
|
#define RGBLED_NUM 20
|
||||||
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
|
#define RGBLIGHT_SAT_STEP 8
|
||||||
|
#define RGBLIGHT_VAL_STEP 8
|
||||||
|
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
||||||
|
#define RGBLIGHT_ANIMATIONS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
119
keyboards/kabedon/kabedon78s/info.json
Normal file
119
keyboards/kabedon/kabedon78s/info.json
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
{
|
||||||
|
"keyboard_name": "KabeDon78s",
|
||||||
|
"url": "",
|
||||||
|
"maintainer": "370490639",
|
||||||
|
"width": 22.25,
|
||||||
|
"height": 6.25,
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT": {
|
||||||
|
"layout": [
|
||||||
|
{"label":"Esc", "x":1.5, "y":0},
|
||||||
|
{"label":"F1", "x":3.5, "y":0},
|
||||||
|
{"label":"F2", "x":4.5, "y":0},
|
||||||
|
{"label":"F3", "x":5.5, "y":0},
|
||||||
|
{"label":"F4", "x":6.5, "y":0},
|
||||||
|
{"label":"F5", "x":8, "y":0},
|
||||||
|
{"label":"F6", "x":10, "y":0},
|
||||||
|
{"label":"F7", "x":11, "y":0},
|
||||||
|
{"label":"F8", "x":12, "y":0},
|
||||||
|
{"label":"F9", "x":13.5, "y":0},
|
||||||
|
{"label":"F10", "x":14.5, "y":0},
|
||||||
|
{"label":"F11", "x":15.5, "y":0},
|
||||||
|
{"label":"F12", "x":16.5, "y":0},
|
||||||
|
{"label":"Delete", "x":18.25, "y":0},
|
||||||
|
{"label":"Home", "x":19.25, "y":0},
|
||||||
|
{"label":"PgUp", "x":20.25, "y":0},
|
||||||
|
{"label":"PgDn", "x":21.25, "y":0},
|
||||||
|
{"label":"Insert", "x":0, "y":1.25},
|
||||||
|
{"label":"~", "x":1.5, "y":1.25},
|
||||||
|
{"label":"!", "x":2.5, "y":1.25},
|
||||||
|
{"label":"@", "x":3.5, "y":1.25},
|
||||||
|
{"label":"#", "x":4.5, "y":1.25},
|
||||||
|
{"label":"$", "x":5.5, "y":1.25},
|
||||||
|
{"label":"%", "x":6.5, "y":1.25},
|
||||||
|
{"label":"^", "x":7.5, "y":1.25},
|
||||||
|
{"label":"&", "x":9.5, "y":1.25},
|
||||||
|
{"label":"*", "x":10.5, "y":1.25},
|
||||||
|
{"label":"(", "x":11.5, "y":1.25},
|
||||||
|
{"label":")", "x":12.5, "y":1.25},
|
||||||
|
{"label":"_", "x":13.5, "y":1.25},
|
||||||
|
{"label":"+", "x":14.5, "y":1.25},
|
||||||
|
{"label":"Backspace", "x":15.5, "y":1.25, "w":2},
|
||||||
|
{"label":"Num Lock", "x":18.25, "y":1.25},
|
||||||
|
{"label":"/", "x":19.25, "y":1.25},
|
||||||
|
{"label":"*", "x":20.25, "y":1.25},
|
||||||
|
{"label":"-", "x":21.25, "y":1.25},
|
||||||
|
{"label":"Pause", "x":0, "y":2.25},
|
||||||
|
{"label":"Tab", "x":1.5, "y":2.25, "w":1.5},
|
||||||
|
{"label":"Q", "x":3, "y":2.25},
|
||||||
|
{"label":"W", "x":4, "y":2.25},
|
||||||
|
{"label":"E", "x":5, "y":2.25},
|
||||||
|
{"label":"R", "x":6, "y":2.25},
|
||||||
|
{"label":"T", "x":7, "y":2.25},
|
||||||
|
{"label":"Y", "x":9, "y":2.25},
|
||||||
|
{"label":"U", "x":10, "y":2.25},
|
||||||
|
{"label":"I", "x":11, "y":2.25},
|
||||||
|
{"label":"O", "x":12, "y":2.25},
|
||||||
|
{"label":"P", "x":13, "y":2.25},
|
||||||
|
{"label":"{", "x":14, "y":2.25},
|
||||||
|
{"label":"}", "x":15, "y":2.25},
|
||||||
|
{"label":"|", "x":16, "y":2.25, "w":1.5},
|
||||||
|
{"label":"7", "x":18.25, "y":2.25},
|
||||||
|
{"label":"8", "x":19.25, "y":2.25},
|
||||||
|
{"label":"9", "x":20.25, "y":2.25},
|
||||||
|
{"label":"+", "x":21.25, "y":2.25, "h":2},
|
||||||
|
{"label":"ScrLk", "x":0, "y":3.25},
|
||||||
|
{"label":"Caps Lock", "x":1.5, "y":3.25, "w":1.75},
|
||||||
|
{"label":"A", "x":3.25, "y":3.25},
|
||||||
|
{"label":"S", "x":4.25, "y":3.25},
|
||||||
|
{"label":"D", "x":5.25, "y":3.25},
|
||||||
|
{"label":"F", "x":6.25, "y":3.25},
|
||||||
|
{"label":"G", "x":7.25, "y":3.25},
|
||||||
|
{"label":"H", "x":9.25, "y":3.25},
|
||||||
|
{"label":"J", "x":10.25, "y":3.25},
|
||||||
|
{"label":"K", "x":11.25, "y":3.25},
|
||||||
|
{"label":"L", "x":12.25, "y":3.25},
|
||||||
|
{"label":":", "x":13.25, "y":3.25},
|
||||||
|
{"label":"\"", "x":14.25, "y":3.25},
|
||||||
|
{"label":"Enter", "x":15.25, "y":3.25, "w":2.25},
|
||||||
|
{"label":"4", "x":18.25, "y":3.25},
|
||||||
|
{"label":"5", "x":19.25, "y":3.25},
|
||||||
|
{"label":"6", "x":20.25, "y":3.25},
|
||||||
|
{"label":"PrtSc", "x":0, "y":4.25},
|
||||||
|
{"label":"Shift", "x":1.5, "y":4.25, "w":2.25},
|
||||||
|
{"label":"Z", "x":3.75, "y":4.25},
|
||||||
|
{"label":"X", "x":4.75, "y":4.25},
|
||||||
|
{"label":"C", "x":5.75, "y":4.25},
|
||||||
|
{"label":"V", "x":6.75, "y":4.25},
|
||||||
|
{"label":"B", "x":7.75, "y":4.25},
|
||||||
|
{"label":"N", "x":9.75, "y":4.25},
|
||||||
|
{"label":"M", "x":10.75, "y":4.25},
|
||||||
|
{"label":"<", "x":11.75, "y":4.25},
|
||||||
|
{"label":">", "x":12.75, "y":4.25},
|
||||||
|
{"label":"Shift", "x":13.75, "y":4.25, "w":1.75},
|
||||||
|
{"label":"UP", "x":15.5, "y":4.25},
|
||||||
|
{"label":"?", "x":16.5, "y":4.25},
|
||||||
|
{"label":"1", "x":18.25, "y":4.25},
|
||||||
|
{"label":"2", "x":19.25, "y":4.25},
|
||||||
|
{"label":"3", "x":20.25, "y":4.25},
|
||||||
|
{"label":"Enter", "x":21.25, "y":4.25, "h":2},
|
||||||
|
{"label":"NmLk", "x":0, "y":5.25},
|
||||||
|
{"label":"Ctrl", "x":1.5, "y":5.25, "w":1.25},
|
||||||
|
{"label":"Win", "x":2.75, "y":5.25},
|
||||||
|
{"label":"Fn", "x":3.75, "y":5.25},
|
||||||
|
{"label":"Alt", "x":4.75, "y":5.25, "w":1.25},
|
||||||
|
{"label":"space", "x":6, "y":5.25, "w":2.75},
|
||||||
|
{"label":"space", "x":9.75, "y":5.25, "w":2.25},
|
||||||
|
{"label":"Alt", "x":12, "y":5.25, "w":1.25},
|
||||||
|
{"label":"Ctrl", "x":13.25, "y":5.25, "w":1.25},
|
||||||
|
{"label":"LEFT", "x":14.5, "y":5.25},
|
||||||
|
{"label":"Down", "x":15.5, "y":5.25},
|
||||||
|
{"label":"Right", "x":16.5, "y":5.25},
|
||||||
|
{"label":"0", "x":18.25, "y":5.25, "w":2},
|
||||||
|
{"label":".", "x":20.25, "y":5.25}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
17
keyboards/kabedon/kabedon78s/kabedon78s.c
Normal file
17
keyboards/kabedon/kabedon78s/kabedon78s.c
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
/* Copyright 2018 MechMerlin
|
||||||
|
*
|
||||||
|
* 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 "kabedon78s.h"
|
21
keyboards/kabedon/kabedon78s/kabedon78s.h
Normal file
21
keyboards/kabedon/kabedon78s/kabedon78s.h
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#define LAYOUT( \
|
||||||
|
KA00, KA01, KA02, KA03, KA04, KA05, KA07, KA08, KA09, KA10, KA11, KA12, KA13, KA14, KA15, KA16, KA17, \
|
||||||
|
KB06, KB00, KB01, KB02, KB03, KB04, KB05, KF05, KB07, KB08, KB09, KB10, KB11, KB12, KB13, KB14, KB15, KB16, KB17, \
|
||||||
|
KC06, KC00, KC01, KC02, KC03, KC04, KC05, KF07, KC07, KC08, KC09, KC10, KC11, KC12, KC13, KC14, KC15, KC16, KC17, \
|
||||||
|
KD06, KD00, KD01, KD02, KD03, KD04, KD05, KD07, KD08, KD09, KD10, KD11, KD12, KD13, KD14, KD15, KD16, \
|
||||||
|
KE06, KE00, KE01, KE02, KE03, KE04, KE05, KE07, KE08, KE09, KE10, KE11, KE12, KE13, KE14, KE15, KE16, KE17, \
|
||||||
|
KF06, KF00, KF01, KF02, KF03, KF04, KF08, KF09, KF10, KF11, KF12, KF13, KF14, KF16 \
|
||||||
|
) { \
|
||||||
|
{ KA00, KA01, KA02, KA03, KA04, KA05,KC_NO, KA07, KA08, KA09, KA10, KA11, KA12, KB13, KA14, KA15, KA16, KA17}, \
|
||||||
|
{ KB00, KB01, KB02, KB03, KB04, KB05, KB06, KB07, KB08, KB09, KB10, KB11, KB12, KB13, KB14, KB15, KB16, KB17}, \
|
||||||
|
{ KC00, KC01, KC02, KC03, KC04, KC05, KC06, KC07, KC08, KC09, KC10, KC11, KC12, KC13, KC14, KC15, KC16, KC17}, \
|
||||||
|
{ KD00, KD01, KD02, KD03, KD04, KD05, KD06, KD07, KD08, KD09, KD10, KD11, KD12, KD13, KD14, KD15, KD16,KC_NO}, \
|
||||||
|
{ KE00, KE01, KE02, KE03, KE04, KE05, KE06, KE07, KE08, KE09, KE10, KE11, KE12, KE13, KE14, KE15, KE16, KE17}, \
|
||||||
|
{ KF00, KF01, KF02, KF03, KF04, KF05, KF06, KF07, KF08, KF09, KF10, KF11, KF12, KF13, KF14,KC_NO, KF16,KC_NO} \
|
||||||
|
}
|
||||||
|
|
||||||
|
|
21
keyboards/kabedon/kabedon78s/keymaps/default/keymap.c
Normal file
21
keyboards/kabedon/kabedon78s/keymaps/default/keymap.c
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
[0] = LAYOUT(
|
||||||
|
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_HOME, KC_PGUP, KC_PGDN,
|
||||||
|
KC_TRNS, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
|
||||||
|
KC_TRNS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_P7, KC_P8, KC_P9, KC_PPLS,
|
||||||
|
KC_TRNS, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6,
|
||||||
|
KC_TRNS, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_RSFT, KC_UP, KC_SLSH, KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||||
|
KC_TRNS, KC_LCTL, KC_LGUI, KC_LALT,MO(1), KC_SPC, KC_SPC, KC_RALT,KC_RCTL,KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT ),
|
||||||
|
|
||||||
|
[1] = LAYOUT(
|
||||||
|
RGB_TOG, RGB_MOD, RGB_SAD, RGB_SAI, RGB_HUI, RGB_HUD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS )
|
||||||
|
};
|
||||||
|
|
37
keyboards/kabedon/kabedon78s/keymaps/via/keymap.c
Normal file
37
keyboards/kabedon/kabedon78s/keymaps/via/keymap.c
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
[0] = LAYOUT(
|
||||||
|
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_HOME, KC_PGUP, KC_PGDN,
|
||||||
|
KC_TRNS, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
|
||||||
|
KC_TRNS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_P7, KC_P8, KC_P9, KC_PPLS,
|
||||||
|
KC_TRNS, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6,
|
||||||
|
KC_TRNS, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_RSFT, KC_UP, KC_SLSH, KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||||
|
KC_TRNS, KC_LCTL, KC_LGUI, KC_LALT,MO(1), KC_SPC, KC_SPC, KC_RALT,KC_RCTL,KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT ),
|
||||||
|
|
||||||
|
[1] = LAYOUT(
|
||||||
|
RGB_TOG, RGB_MOD, RGB_SAD, RGB_SAI, RGB_HUI, RGB_HUD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
|
||||||
|
|
||||||
|
[2] = LAYOUT(
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
|
||||||
|
|
||||||
|
[3] = LAYOUT(
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS )
|
||||||
|
};
|
||||||
|
|
2
keyboards/kabedon/kabedon78s/keymaps/via/rules.mk
Normal file
2
keyboards/kabedon/kabedon78s/keymaps/via/rules.mk
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
VIA_ENABLE = yes
|
||||||
|
|
23
keyboards/kabedon/kabedon78s/rules.mk
Normal file
23
keyboards/kabedon/kabedon78s/rules.mk
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# MCU name
|
||||||
|
MCU = atmega32u4
|
||||||
|
|
||||||
|
# Bootloader selection
|
||||||
|
BOOTLOADER = atmel-dfu
|
||||||
|
|
||||||
|
# Build Options
|
||||||
|
# change yes to no to disable.
|
||||||
|
#
|
||||||
|
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
||||||
|
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
|
||||||
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||||
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||||
|
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||||
|
NKRO_ENABLE = no # USB Nkey Rollover
|
||||||
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||||
|
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||||
|
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||||
|
AUDIO_ENABLE = no # Audio output
|
||||||
|
UNICODE_ENABLE = yes # Unicode
|
18
keyboards/kabedon/kabedon980/README.md
Normal file
18
keyboards/kabedon/kabedon980/README.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Kabe Don 980
|
||||||
|
|
||||||
|
![Kabe Don 980](http://qungz.photo.store.qq.com/qun-qungz/V53LJWsQ407RKV3X7gmf3M0Ih23R00WB/V5bCQA1OTY5NTEwNjOx0B5fOCOlAQ!!/800?w5=2133&h5=1599&rf=viewer_421)
|
||||||
|
|
||||||
|
A mechanical keyboard PCB in the same layout as the Leopold FC980M, sold by Kabe Don Peripherals on Taobao.
|
||||||
|
This PCB use Kailh hot swap sockets.
|
||||||
|
KabeDon980 Includes RGB Underglow.
|
||||||
|
Aluminium Alloy and Translucent Case.
|
||||||
|
|
||||||
|
* Keyboard Maintainer: [370490639](https://github.com/370490639)
|
||||||
|
* Hardware Supported: Kabe Don 980
|
||||||
|
* Hardware Availability: [Kabe Don 980](https://item.taobao.com/item.htm?spm=a1z10.1-c.w4023-17458066155.8.81406bd0J97pHX&id=614156027788)
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make kabedon/kabedon980: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](https://docs.qmk.fm/#/newbs).
|
54
keyboards/kabedon/kabedon980/config.h
Normal file
54
keyboards/kabedon/kabedon980/config.h
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2012 Jun Wako <wakojun@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"
|
||||||
|
|
||||||
|
/* USB Device descriptor parameter */
|
||||||
|
#define VENDOR_ID 0x4B44 //KD
|
||||||
|
#define PRODUCT_ID 0x3938 //98
|
||||||
|
#define DEVICE_VER 0x0001
|
||||||
|
#define MANUFACTURER Kabe_Don
|
||||||
|
#define PRODUCT 980
|
||||||
|
|
||||||
|
|
||||||
|
/* key matrix size */
|
||||||
|
#define MATRIX_ROWS 10
|
||||||
|
#define MATRIX_COLS 13
|
||||||
|
|
||||||
|
/* Keyboard Matrix Assignments */
|
||||||
|
#define MATRIX_ROW_PINS {D0,D2,F7,B1,B0,D6,C7,D7,B5,B2}
|
||||||
|
#define MATRIX_COL_PINS {F5,F4,F6,C6,B6,B4,D3,D1,D4,F1,B3,D5,F0}
|
||||||
|
#define UNUSED_PINS
|
||||||
|
#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047
|
||||||
|
/* COL2ROW, ROW2COL*/
|
||||||
|
#define DIODE_DIRECTION ROW2COL
|
||||||
|
|
||||||
|
#define RGB_DI_PIN B7
|
||||||
|
#ifdef RGB_DI_PIN
|
||||||
|
#define RGBLED_NUM 20
|
||||||
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
|
#define RGBLIGHT_SAT_STEP 8
|
||||||
|
#define RGBLIGHT_VAL_STEP 8
|
||||||
|
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
||||||
|
#define RGBLIGHT_ANIMATIONS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
|
#define DEBOUNCE 5
|
||||||
|
|
112
keyboards/kabedon/kabedon980/info.json
Normal file
112
keyboards/kabedon/kabedon980/info.json
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
{
|
||||||
|
"keyboard_name": "KabeDon980",
|
||||||
|
"url": "https://kabedon.taobao.com",
|
||||||
|
"maintainer": "370490639",
|
||||||
|
"width": 19.3,
|
||||||
|
"height": 6.3,
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT": {
|
||||||
|
"layout": [
|
||||||
|
{"label":"ESC", "x":0, "y":0},
|
||||||
|
{"label":"F1", "x":1.6, "y":0},
|
||||||
|
{"label":"F2", "x":2.6, "y":0},
|
||||||
|
{"label":"F3", "x":3.6, "y":0},
|
||||||
|
{"label":"F4", "x":4.6, "y":0},
|
||||||
|
{"label":"F5", "x":6.3, "y":0},
|
||||||
|
{"label":"F6", "x":7.3, "y":0},
|
||||||
|
{"label":"F7", "x":8.3, "y":0},
|
||||||
|
{"label":"F8", "x":9.3, "y":0},
|
||||||
|
{"label":"F9", "x":11.0, "y":0},
|
||||||
|
{"label":"F10", "x":12.0, "y":0},
|
||||||
|
{"label":"F11", "x":13.0, "y":0},
|
||||||
|
{"label":"F12", "x":14.0, "y":0},
|
||||||
|
{"label":"DELETE", "x":15.3, "y":0},
|
||||||
|
{"label":"HOME", "x":16.3, "y":0},
|
||||||
|
{"label":"PGUP", "x":17.3, "y":0},
|
||||||
|
{"label":"PGDN", "x":18.3, "y":0},
|
||||||
|
{"label":"~", "x":0, "y":1.15},
|
||||||
|
{"label":"!", "x":1, "y":1.15},
|
||||||
|
{"label":"@", "x":2, "y":1.15},
|
||||||
|
{"label":"#", "x":3, "y":1.15},
|
||||||
|
{"label":"$", "x":4, "y":1.15},
|
||||||
|
{"label":"%", "x":5, "y":1.15},
|
||||||
|
{"label":"^", "x":6, "y":1.15},
|
||||||
|
{"label":"&", "x":7, "y":1.15},
|
||||||
|
{"label":"*", "x":8, "y":1.15},
|
||||||
|
{"label":"(", "x":9, "y":1.15},
|
||||||
|
{"label":")", "x":10, "y":1.15},
|
||||||
|
{"label":"_", "x":11, "y":1.15},
|
||||||
|
{"label":"+", "x":12, "y":1.15},
|
||||||
|
{"label":"BACK SPACE", "x":13, "y":1.15, "w":2},
|
||||||
|
{"label":"NUMLK", "x":15.3, "y":1.15},
|
||||||
|
{"label":"/", "x":16.3, "y":1.15},
|
||||||
|
{"label":"*", "x":17.3, "y":1.15},
|
||||||
|
{"label":"-", "x":18.3, "y":1.15},
|
||||||
|
{"label":"TAB", "x":0, "y":2.15, "w":1.5},
|
||||||
|
{"label":"Q", "x":1.5, "y":2.15},
|
||||||
|
{"label":"W", "x":2.5, "y":2.15},
|
||||||
|
{"label":"E", "x":3.5, "y":2.15},
|
||||||
|
{"label":"R", "x":4.5, "y":2.15},
|
||||||
|
{"label":"T", "x":5.5, "y":2.15},
|
||||||
|
{"label":"Y", "x":6.5, "y":2.15},
|
||||||
|
{"label":"U", "x":7.5, "y":2.15},
|
||||||
|
{"label":"I", "x":8.5, "y":2.15},
|
||||||
|
{"label":"O", "x":9.5, "y":2.15},
|
||||||
|
{"label":"P", "x":10.5, "y":2.15},
|
||||||
|
{"label":"[", "x":11.5, "y":2.15},
|
||||||
|
{"label":"]", "x":12.5, "y":2.15},
|
||||||
|
{"label":"|", "x":13.5, "y":2.15, "w":1.5},
|
||||||
|
{"label":"7", "x":15.3, "y":2.15},
|
||||||
|
{"label":"8", "x":16.3, "y":2.15},
|
||||||
|
{"label":"9", "x":17.3, "y":2.15},
|
||||||
|
{"label":"+", "x":18.3, "y":2.15, "h":2},
|
||||||
|
{"label":"CAPS LOCK", "x":0, "y":3.15, "w":1.75},
|
||||||
|
{"label":"A", "x":1.75, "y":3.15},
|
||||||
|
{"label":"S", "x":2.75, "y":3.15},
|
||||||
|
{"label":"D", "x":3.75, "y":3.15},
|
||||||
|
{"label":"F", "x":4.75, "y":3.15},
|
||||||
|
{"label":"G", "x":5.75, "y":3.15},
|
||||||
|
{"label":"H", "x":6.75, "y":3.15},
|
||||||
|
{"label":"J", "x":7.75, "y":3.15},
|
||||||
|
{"label":"K", "x":8.75, "y":3.15},
|
||||||
|
{"label":"L", "x":9.75, "y":3.15},
|
||||||
|
{"label":":", "x":10.75, "y":3.15},
|
||||||
|
{"label":"\"", "x":11.75, "y":3.15},
|
||||||
|
{"label":"ENTER", "x":12.75, "y":3.15, "w":2.25},
|
||||||
|
{"label":"4", "x":15.3, "y":3.15},
|
||||||
|
{"label":"5", "x":16.3, "y":3.15},
|
||||||
|
{"label":"6", "x":17.3, "y":3.15},
|
||||||
|
{"label":"SHIFT", "x":0, "y":4.15, "w":2.25},
|
||||||
|
{"label":"Z", "x":2.25, "y":4.15},
|
||||||
|
{"label":"X", "x":3.25, "y":4.15},
|
||||||
|
{"label":"C", "x":4.25, "y":4.15},
|
||||||
|
{"label":"V", "x":5.25, "y":4.15},
|
||||||
|
{"label":"B", "x":6.25, "y":4.15},
|
||||||
|
{"label":"N", "x":7.25, "y":4.15},
|
||||||
|
{"label":"M", "x":8.25, "y":4.15},
|
||||||
|
{"label":"<", "x":9.25, "y":4.15},
|
||||||
|
{"label":">", "x":10.25, "y":4.15},
|
||||||
|
{"label":"?", "x":11.25, "y":4.15},
|
||||||
|
{"label":"SHIFT", "x":12.25, "y":4.15, "w":1.75},
|
||||||
|
{"label":"Up", "x":14.15, "y":4.3},
|
||||||
|
{"label":"1", "x":15.3, "y":4.15},
|
||||||
|
{"label":"2", "x":16.3, "y":4.15},
|
||||||
|
{"label":"3", "x":17.3, "y":4.15},
|
||||||
|
{"label":"ENTER", "x":18.3, "y":4.15, "h":2},
|
||||||
|
{"label":"CTRL", "x":0, "y":5.15, "w":1.25},
|
||||||
|
{"label":"WIN", "x":1.25, "y":5.15, "w":1.25},
|
||||||
|
{"label":"ALT", "x":2.5, "y":5.15, "w":1.25},
|
||||||
|
{"label":"Space", "x":3.75, "y":5.15, "w":6.25},
|
||||||
|
{"label":"ALT", "x":10, "y":5.15},
|
||||||
|
{"label":"FN", "x":11, "y":5.15},
|
||||||
|
{"label":"CTRL", "x":12, "y":5.15},
|
||||||
|
{"label":"Left", "x":13.15, "y":5.3},
|
||||||
|
{"label":"Down", "x":14.15, "y":5.3},
|
||||||
|
{"label":"Right", "x":15.15, "y":5.3},
|
||||||
|
{"label":"0", "x":16.3, "y":5.15},
|
||||||
|
{"label":".", "x":17.3, "y":5.15}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
8
keyboards/kabedon/kabedon980/kabedon980.c
Normal file
8
keyboards/kabedon/kabedon980/kabedon980.c
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#include "kabedon980.h"
|
||||||
|
|
||||||
|
bool led_update_kb(led_t led_state) {
|
||||||
|
if (led_update_user(led_state)) {
|
||||||
|
writePin(E6, !led_state.caps_lock);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
25
keyboards/kabedon/kabedon980/kabedon980.h
Normal file
25
keyboards/kabedon/kabedon980/kabedon980.h
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#define LAYOUT( \
|
||||||
|
KI06, KC04, KD04, KB10, KA05, KA11, KA02, KC01, KA04, KA07, KC02, KJ05, KE06, KH03, KJ01, KI01, KI00, \
|
||||||
|
KJ07, KC05, KC06, KA03, KH07, KJ06, KI02, KB07, KG03, KI05, KG05, KG06, KA06, KD02, KA08, KF01, KH01, KG01, \
|
||||||
|
KI03, KJ02, KD06, KD05, KB04, KC03, KE03, KF07, KB08, KG02, KB11, KB02, KF05, KE01, KG00, KA01, KF08, KF00, \
|
||||||
|
KB03, KB00, KH02, KF03, KB01, KA09, KH04, KH05, KH06, KF04, KB06, KF06, KF02, KB12, KA00, KG08, \
|
||||||
|
KJ12, KB09, KJ04, KA10, KE02, KJ03, KD07, KI04, KD03, KB05, KE04, KI12, KI07, KD01, KI08, KH08, KC00, \
|
||||||
|
KF10, KD09, KH11, KA12, KG11, KC08, KE10, KE07, KG07, KC07, KD00, KH00 \
|
||||||
|
) { \
|
||||||
|
{ KA00, KA01, KA02, KA03, KA04, KA05, KA06, KA07, KA08, KA09, KA10, KA11, KA12 }, \
|
||||||
|
{ KB00, KB01, KB02, KB03, KB04, KB05, KB06, KB07, KB08, KB09, KB10, KB11, KB12 }, \
|
||||||
|
{ KC00, KC01, KC02, KC03, KC04, KC05, KC06, KC07, KC08, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||||
|
{ KD00, KD01, KD02, KD03, KD04, KD05, KD06, KD07, KC_NO, KD09, KC_NO, KC_NO, KC_NO }, \
|
||||||
|
{ KC_NO, KE01, KE02, KE03, KE04, KC_NO, KE06, KE07, KC_NO, KC_NO, KE10, KC_NO, KC_NO }, \
|
||||||
|
{ KF00, KF01, KF02, KF03, KF04, KF05, KF06, KF07, KF08, KC_NO, KF10, KC_NO, KC_NO }, \
|
||||||
|
{ KG00, KG01, KG02, KG03, KC_NO, KG05, KG06, KG07, KG08, KC_NO, KC_NO, KG11, KC_NO }, \
|
||||||
|
{ KH00, KH01, KH02, KH03, KH04, KH05, KH06, KH07, KH08, KC_NO, KC_NO, KH11, KC_NO }, \
|
||||||
|
{ KI00, KI01, KI02, KI03, KI04, KI05, KI06, KI07, KI08, KC_NO, KC_NO, KC_NO, KI12 }, \
|
||||||
|
{ KC_NO, KJ01, KJ02, KJ03, KJ04, KJ05, KJ06, KJ07, KC_NO, KC_NO, KC_NO, KC_NO, KJ12 } \
|
||||||
|
}
|
||||||
|
|
||||||
|
|
21
keyboards/kabedon/kabedon980/keymaps/default/keymap.c
Normal file
21
keyboards/kabedon/kabedon980/keymaps/default/keymap.c
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
[0] = LAYOUT(
|
||||||
|
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_HOME, KC_PGUP, KC_PGDN,
|
||||||
|
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
|
||||||
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_P7, KC_P8, KC_P9, KC_PPLS,
|
||||||
|
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6,
|
||||||
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||||
|
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT ),
|
||||||
|
|
||||||
|
[1] = LAYOUT(
|
||||||
|
RGB_MOD, RGB_TOG, RGB_SAI, RGB_SAD, RGB_HUI, RGB_HUD, RGB_SPI, RGB_SPD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS )
|
||||||
|
};
|
||||||
|
|
37
keyboards/kabedon/kabedon980/keymaps/via/keymap.c
Normal file
37
keyboards/kabedon/kabedon980/keymaps/via/keymap.c
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
[0] = LAYOUT(
|
||||||
|
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_HOME, KC_PGUP, KC_PGDN,
|
||||||
|
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
|
||||||
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_P7, KC_P8, KC_P9, KC_PPLS,
|
||||||
|
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6,
|
||||||
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||||
|
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT ),
|
||||||
|
|
||||||
|
[1] = LAYOUT(
|
||||||
|
RGB_MOD, RGB_TOG, RGB_SAI, RGB_SAD, RGB_HUI, RGB_HUD, RGB_SPI, RGB_SPD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
|
||||||
|
|
||||||
|
[2] = LAYOUT(
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
|
||||||
|
|
||||||
|
[3] = LAYOUT(
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS )
|
||||||
|
};
|
||||||
|
|
2
keyboards/kabedon/kabedon980/keymaps/via/rules.mk
Normal file
2
keyboards/kabedon/kabedon980/keymaps/via/rules.mk
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
VIA_ENABLE = yes
|
||||||
|
|
23
keyboards/kabedon/kabedon980/rules.mk
Normal file
23
keyboards/kabedon/kabedon980/rules.mk
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# MCU name
|
||||||
|
MCU = atmega32u4
|
||||||
|
|
||||||
|
# Bootloader selection
|
||||||
|
BOOTLOADER = atmel-dfu
|
||||||
|
|
||||||
|
# Build Options
|
||||||
|
# change yes to no to disable.
|
||||||
|
#
|
||||||
|
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
||||||
|
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
|
||||||
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||||
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||||
|
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||||
|
NKRO_ENABLE = no # USB Nkey Rollover
|
||||||
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||||
|
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||||
|
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||||
|
AUDIO_ENABLE = no # Audio output
|
||||||
|
UNICODE_ENABLE = yes # Unicode
|
Loading…
Reference in New Issue
Block a user