diff options
| author | worldspawn00 <mcmancuso@gmail.com> | 2020-02-07 21:37:46 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-07 19:37:46 -0800 |
| commit | f44a89ca77e63188d3e7102cd5b49352d07fa4c9 (patch) | |
| tree | 51186d6fb7d112e136da4ad6853e94ffa5d509c6 /keyboards/wsk | |
| parent | a1a88b8ac778b2b22be127eb2409ae7b338f7e7e (diff) | |
| download | qmk_firmware-f44a89ca77e63188d3e7102cd5b49352d07fa4c9.tar.gz qmk_firmware-f44a89ca77e63188d3e7102cd5b49352d07fa4c9.zip | |
[Keyboard] adding keyboard: kodachi50 (#7976)
* kodachi50
* Amendeded with collaborator suggestions
* Add a missing key to layer 2 top row
Co-authored-by: ridingqwerty <george.g.koenig@gmail.com>
Diffstat (limited to 'keyboards/wsk')
| -rw-r--r-- | keyboards/wsk/kodachi50/config.h | 48 | ||||
| -rw-r--r-- | keyboards/wsk/kodachi50/info.json | 12 | ||||
| -rw-r--r-- | keyboards/wsk/kodachi50/keymaps/default/keymap.c | 25 | ||||
| -rw-r--r-- | keyboards/wsk/kodachi50/kodachi50.c | 1 | ||||
| -rw-r--r-- | keyboards/wsk/kodachi50/kodachi50.h | 20 | ||||
| -rw-r--r-- | keyboards/wsk/kodachi50/readme.md | 16 | ||||
| -rw-r--r-- | keyboards/wsk/kodachi50/rules.mk | 26 |
7 files changed, 148 insertions, 0 deletions
diff --git a/keyboards/wsk/kodachi50/config.h b/keyboards/wsk/kodachi50/config.h new file mode 100644 index 000000000..fca7a5b99 --- /dev/null +++ b/keyboards/wsk/kodachi50/config.h | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "config_common.h" | ||
| 4 | |||
| 5 | /* USB Device descriptor parameter */ | ||
| 6 | #define VENDOR_ID 0xFEED | ||
| 7 | #define PRODUCT_ID 0x72D4 | ||
| 8 | #define DEVICE_VER 0x0001 | ||
| 9 | #define MANUFACTURER Worldspawn00 | ||
| 10 | #define PRODUCT Kodachi50 | ||
| 11 | #define DESCRIPTION Mirror stagger 50% keyboard | ||
| 12 | |||
| 13 | /* key matrix size */ | ||
| 14 | #define MATRIX_ROWS 8 | ||
| 15 | #define MATRIX_COLS 7 | ||
| 16 | |||
| 17 | /* key matrix pins */ | ||
| 18 | #define MATRIX_ROW_PINS { D2, B5, B6, B2, B3, B1, F7, F6 } | ||
| 19 | #define MATRIX_COL_PINS { D1, D0, D4, C6, D7, E6, B4 } | ||
| 20 | #define UNUSED_PINS | ||
| 21 | |||
| 22 | /* COL2ROW or ROW2COL */ | ||
| 23 | #define DIODE_DIRECTION COL2ROW | ||
| 24 | |||
| 25 | /* number of backlight levels */ | ||
| 26 | |||
| 27 | #ifdef BACKLIGHT_PIN | ||
| 28 | #define BACKLIGHT_LEVELS 7 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | /* Set 0 if debouncing isn't needed */ | ||
| 32 | #define DEBOUNCE 5 | ||
| 33 | |||
| 34 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 35 | #define LOCKING_SUPPORT_ENABLE | ||
| 36 | |||
| 37 | /* Locking resynchronize hack */ | ||
| 38 | #define LOCKING_RESYNC_ENABLE | ||
| 39 | |||
| 40 | #define RGB_DI_PIN D3 | ||
| 41 | #ifdef RGB_DI_PIN | ||
| 42 | #define RGBLIGHT_ANIMATIONS | ||
| 43 | #define RGBLED_NUM 10 | ||
| 44 | #define RGBLIGHT_HUE_STEP 8 | ||
| 45 | #define RGBLIGHT_SAT_STEP 8 | ||
| 46 | #define RGBLIGHT_VAL_STEP 8 | ||
| 47 | #endif | ||
| 48 | |||
diff --git a/keyboards/wsk/kodachi50/info.json b/keyboards/wsk/kodachi50/info.json new file mode 100644 index 000000000..5f1222dec --- /dev/null +++ b/keyboards/wsk/kodachi50/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Kodachi50", | ||
| 3 | "url": "https://qmk.fm/keyboards", | ||
| 4 | "maintainer": "worldspawn00", | ||
| 5 | "width": 15, | ||
| 6 | "height": 4, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [{"label":"Tab", "x":0, "y":0, "w":1.5}, {"label":"Q", "x":1.5, "y":0}, {"label":"W", "x":2.5, "y":0}, {"label":"E", "x":3.5, "y":0}, {"label":"R", "x":4.5, "y":0}, {"label":"T", "x":5.5, "y":0}, {"label":"{", "x":6.5, "y":0}, {"label":"}", "x":7.5, "y":0}, {"label":"Y", "x":8.5, "y":0}, {"label":"U", "x":9.5, "y":0}, {"label":"I", "x":10.5, "y":0}, {"label":"O", "x":11.5, "y":0}, {"label":"P", "x":12.5, "y":0}, {"label":"Backspace", "x":13.5, "y":0, "w":1.5}, {"label":"Caps Lock", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"|", "x":6.25, "y":1, "w":1.25}, {"label":"Alt", "x":7.5, "y":1, "w":1.25}, {"label":"H", "x":8.75, "y":1}, {"label":"J", "x":9.75, "y":1}, {"label":"K", "x":10.75, "y":1}, {"label":"L", "x":11.75, "y":1}, {"label":"\"", "x":12.75, "y":1}, {"label":"Enter", "x":13.75, "y":1, "w":1.25}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"~", "x":6, "y":2}, {"label":"_", "x":7, "y":2}, {"label":"+", "x":8, "y":2}, {"label":"N", "x":9, "y":2}, {"label":"M", "x":10, "y":2}, {"label":"<", "x":11, "y":2}, {"label":">", "x":12, "y":2}, {"label":"?", "x":13, "y":2}, {"label":":", "x":14, "y":2}, {"label":"Ctrl", "x":0, "y":3, "w":1.25}, {"label":"Win", "x":1.25, "y":3, "w":1.25}, {"label":"Alt", "x":2.5, "y":3, "w":1.25}, {"x":3.75, "y":3, "w":2.75}, {"x":6.5, "y":3}, {"x":7.5, "y":3, "w":2.25}, {"label":"Win", "x":9.75, "y":3, "w":1.25}, {"label":"Left", "x":11, "y":3}, {"label":"Down", "x":12, "y":3}, {"label":"Up", "x":13, "y":3}, {"label":"Right", "x":14, "y":3}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
diff --git a/keyboards/wsk/kodachi50/keymaps/default/keymap.c b/keyboards/wsk/kodachi50/keymaps/default/keymap.c new file mode 100644 index 000000000..2b21a35f9 --- /dev/null +++ b/keyboards/wsk/kodachi50/keymaps/default/keymap.c | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | [0] = LAYOUT( | ||
| 6 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_GRV, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_BSLS, | ||
| 7 | KC_RCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_LALT, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_NO, KC_ENT, | ||
| 8 | KC_ESC, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MINS, KC_EQL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_PSCR, | ||
| 9 | KC_MENU, KC_LGUI, KC_LALT, LT(1, KC_SPC), KC_RSFT, KC_BSPC, MO(2), KC_DEL, KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 10 | |||
| 11 | [1] = LAYOUT( | ||
| 12 | KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_TRNS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_RBRC, KC_TRNS, | ||
| 13 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 14 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, KC_TRNS, | ||
| 15 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END), | ||
| 16 | |||
| 17 | [2] = LAYOUT( | ||
| 18 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 19 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 20 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 21 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||
| 22 | |||
| 23 | }; | ||
| 24 | |||
| 25 | |||
diff --git a/keyboards/wsk/kodachi50/kodachi50.c b/keyboards/wsk/kodachi50/kodachi50.c new file mode 100644 index 000000000..77ee65bbc --- /dev/null +++ b/keyboards/wsk/kodachi50/kodachi50.c | |||
| @@ -0,0 +1 @@ | |||
| #include "kodachi50.h" | |||
diff --git a/keyboards/wsk/kodachi50/kodachi50.h b/keyboards/wsk/kodachi50/kodachi50.h new file mode 100644 index 000000000..15fc9ac0c --- /dev/null +++ b/keyboards/wsk/kodachi50/kodachi50.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | |||
| 5 | #define LAYOUT( \ | ||
| 6 | K00, K01, K02, K03, K04, K05, K06, K76, K75, K74, K73, K72, K71, K70, \ | ||
| 7 | K10, K11, K12, K13, K14, K15, K16, K66, K65, K64, K63, K62, K61, K60, \ | ||
| 8 | K20, K21, K22, K23, K24, K25, K35, K26, K56, K55, K54, K53, K52, K51, K50, \ | ||
| 9 | K30, K31, K32, K34, K36, K46, K44, K43, K42, K41, K40 \ | ||
| 10 | ) { \ | ||
| 11 | { K00, K01, K02, K03, K04, K05, K06 }, \ | ||
| 12 | { K10, K11, K12, K13, K14, K15, K16 }, \ | ||
| 13 | { K20, K21, K22, K23, K24, K25, K26 }, \ | ||
| 14 | { K30, K31, K32, KC_NO, K34, K35, K36 }, \ | ||
| 15 | { K40, K41, K42, K43, K44, KC_NO, K46 }, \ | ||
| 16 | { K50, K51, K52, K53, K54, K55, K56 }, \ | ||
| 17 | { K60, K61, K62, K63, K64, K65, K66 }, \ | ||
| 18 | { K70, K71, K72, K73, K74, K75, K76 } \ | ||
| 19 | } | ||
| 20 | |||
diff --git a/keyboards/wsk/kodachi50/readme.md b/keyboards/wsk/kodachi50/readme.md new file mode 100644 index 000000000..8a20c8905 --- /dev/null +++ b/keyboards/wsk/kodachi50/readme.md | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | # Kodachi50 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | The Kodachi50 is a mirror stagger 50% board. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [worldspawn00](https://github.com/worldspawn00/) | ||
| 8 | * Hardware Supported: The Kodachi50 PCB and kit. | ||
| 9 | * Hardware Availability: [PCB & Kit](https://geekhack.org/index.php?topic=100535) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make wsk/kodachi50:default | ||
| 14 | |||
| 15 | 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). | ||
| 16 | |||
diff --git a/keyboards/wsk/kodachi50/rules.mk b/keyboards/wsk/kodachi50/rules.mk new file mode 100644 index 000000000..0f9fe8d42 --- /dev/null +++ b/keyboards/wsk/kodachi50/rules.mk | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = caterina | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # comment out to disable the options. | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 20 | CONSOLE_ENABLE = no # Console for debug | ||
| 21 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 22 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 23 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 24 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 25 | AUDIO_ENABLE = no | ||
| 26 | RGBLIGHT_ENABLE = yes | ||
