From aa9882abd6a638de001e65f1058f7e8f74f9accb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=E1=BA=AFn?= <59417802+MaiTheSan@users.noreply.github.com> Date: Tue, 14 Feb 2023 14:17:21 +0700 Subject: [PATCH] Add Eclipse60 / tinyneko (#19379) --- .../sawnsprojects/eclipse/eclipse60/info.json | 126 ++++++++++++++++++ .../eclipse60/keymaps/default/keymap.c | 111 +++++++++++++++ .../eclipse/eclipse60/keymaps/via/keymap.c | 111 +++++++++++++++ .../eclipse/eclipse60/keymaps/via/rules.mk | 2 + .../sawnsprojects/eclipse/eclipse60/readme.md | 27 ++++ .../sawnsprojects/eclipse/eclipse60/rules.mk | 1 + .../sawnsprojects/eclipse/tinyneko/info.json | 126 ++++++++++++++++++ .../eclipse/tinyneko/keymaps/default/keymap.c | 111 +++++++++++++++ .../eclipse/tinyneko/keymaps/via/keymap.c | 111 +++++++++++++++ .../eclipse/tinyneko/keymaps/via/rules.mk | 2 + .../sawnsprojects/eclipse/tinyneko/readme.md | 27 ++++ .../sawnsprojects/eclipse/tinyneko/rules.mk | 1 + 12 files changed, 756 insertions(+) create mode 100644 keyboards/sawnsprojects/eclipse/eclipse60/info.json create mode 100644 keyboards/sawnsprojects/eclipse/eclipse60/keymaps/default/keymap.c create mode 100644 keyboards/sawnsprojects/eclipse/eclipse60/keymaps/via/keymap.c create mode 100644 keyboards/sawnsprojects/eclipse/eclipse60/keymaps/via/rules.mk create mode 100644 keyboards/sawnsprojects/eclipse/eclipse60/readme.md create mode 100644 keyboards/sawnsprojects/eclipse/eclipse60/rules.mk create mode 100644 keyboards/sawnsprojects/eclipse/tinyneko/info.json create mode 100644 keyboards/sawnsprojects/eclipse/tinyneko/keymaps/default/keymap.c create mode 100644 keyboards/sawnsprojects/eclipse/tinyneko/keymaps/via/keymap.c create mode 100644 keyboards/sawnsprojects/eclipse/tinyneko/keymaps/via/rules.mk create mode 100644 keyboards/sawnsprojects/eclipse/tinyneko/readme.md create mode 100644 keyboards/sawnsprojects/eclipse/tinyneko/rules.mk diff --git a/keyboards/sawnsprojects/eclipse/eclipse60/info.json b/keyboards/sawnsprojects/eclipse/eclipse60/info.json new file mode 100644 index 0000000000..4793b44a41 --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/eclipse60/info.json @@ -0,0 +1,126 @@ +{ + "keyboard_name": "Eclipse60", + "manufacturer": "Salane", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0x534C", + "pid": "0xE160", + "device_version": "1.0.0" + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "matrix_pins": { + "rows": ["B1", "B2", "B7", "B3", "D1", "D0", "F6", "F7", "F4", "F5"], + "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6"] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "mousekey": true, + "extrakey": true, + "console": false, + "command": false, + "nkro": false, + "backlight": false, + "rgblight": true, + "audio": false, + "key_lock": false + }, + "rgblight": { + "pin": "B0", + "led_count": 18, + "hue_steps": 8, + "saturation_steps": 8, + "brightness_steps": 8, + "max_brightness": 255, + "sleep": true, + "animations": { + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true, + "twinkle": true + } + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"label": "K00 (B1,C7)", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "K10 (B2,C7)", "matrix": [1, 0], "x": 1, "y": 0}, + {"label": "K01 (B1,C6)", "matrix": [0, 1], "x": 2, "y": 0}, + {"label": "K11 (B2,C6)", "matrix": [1, 1], "x": 3, "y": 0}, + {"label": "K02 (B1,B6)", "matrix": [0, 2], "x": 4, "y": 0}, + {"label": "K12 (B2,B6)", "matrix": [1, 2], "x": 5, "y": 0}, + {"label": "K03 (B1,B5)", "matrix": [0, 3], "x": 6, "y": 0}, + {"label": "K13 (B2,B5)", "matrix": [1, 3], "x": 7, "y": 0}, + {"label": "K04 (B1,B4)", "matrix": [0, 4], "x": 8, "y": 0}, + {"label": "K14 (B2,B4)", "matrix": [1, 4], "x": 9, "y": 0}, + {"label": "K05 (B1,D7)", "matrix": [0, 5], "x": 10, "y": 0}, + {"label": "K15 (B2,D7)", "matrix": [1, 5], "x": 11, "y": 0}, + {"label": "K06 (B1,D6)", "matrix": [0, 6], "x": 12, "y": 0}, + {"label": "K16 (B2,D6)", "matrix": [1, 6], "x": 13, "y": 0}, + {"label": "K56 (D0,D6)", "matrix": [5, 6], "x": 14, "y": 0}, + + {"label": "K20 (B7,C7)", "matrix": [2, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "K30 (B3,C7)", "matrix": [3, 0], "x": 1.5, "y": 1}, + {"label": "K21 (B7,C6)", "matrix": [2, 1], "x": 2.5, "y": 1}, + {"label": "K31 (B3,C6)", "matrix": [3, 1], "x": 3.5, "y": 1}, + {"label": "K22 (B7,B6)", "matrix": [2, 2], "x": 4.5, "y": 1}, + {"label": "K32 (B3,B6)", "matrix": [3, 2], "x": 5.5, "y": 1}, + {"label": "K23 (B7,B5)", "matrix": [2, 3], "x": 6.5, "y": 1}, + {"label": "K33 (B3,B5)", "matrix": [3, 3], "x": 7.5, "y": 1}, + {"label": "K24 (B7,B4)", "matrix": [2, 4], "x": 8.5, "y": 1}, + {"label": "K34 (B3,B4)", "matrix": [3, 4], "x": 9.5, "y": 1}, + {"label": "K25 (B7,D7)", "matrix": [2, 5], "x": 10.5, "y": 1}, + {"label": "K35 (B3,D7)", "matrix": [3, 5], "x": 11.5, "y": 1}, + {"label": "K26 (B7,D6)", "matrix": [2, 6], "x": 12.5, "y": 1}, + {"label": "K36 (B3,D6)", "matrix": [3, 6], "x": 13.5, "y": 1, "w": 1.5}, + + {"label": "K40 (D1,C7)", "matrix": [4, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "K50 (D0,C7)", "matrix": [5, 0], "x": 1.75, "y": 2}, + {"label": "K41 (D1,C6)", "matrix": [4, 1], "x": 2.75, "y": 2}, + {"label": "K51 (D0,C6)", "matrix": [5, 1], "x": 3.75, "y": 2}, + {"label": "K42 (D1,B6)", "matrix": [4, 2], "x": 4.75, "y": 2}, + {"label": "K52 (D0,B6)", "matrix": [5, 2], "x": 5.75, "y": 2}, + {"label": "K43 (D1,B5)", "matrix": [4, 3], "x": 6.75, "y": 2}, + {"label": "K53 (D0,B5)", "matrix": [5, 3], "x": 7.75, "y": 2}, + {"label": "K44 (D1,B4)", "matrix": [4, 4], "x": 8.75, "y": 2}, + {"label": "K54 (D0,B4)", "matrix": [5, 4], "x": 9.75, "y": 2}, + {"label": "K45 (D1,D7)", "matrix": [4, 5], "x": 10.75, "y": 2}, + {"label": "K55 (D0,D7)", "matrix": [5, 5], "x": 11.75, "y": 2}, + {"label": "K46 (D1,D6)", "matrix": [4, 6], "x": 12.75, "y": 2, "w": 2.25}, + + {"label": "K60 (F6,C7)", "matrix": [6, 0], "x": 0, "y": 3, "w": 1.25}, + {"label": "K70 (F7,C7)", "matrix": [7, 0], "x": 1.25, "y": 3}, + {"label": "K61 (F6,C6)", "matrix": [6, 1], "x": 2.25, "y": 3}, + {"label": "K71 (F7,C6)", "matrix": [7, 1], "x": 3.25, "y": 3}, + {"label": "K62 (F6,B6)", "matrix": [6, 2], "x": 4.25, "y": 3}, + {"label": "K72 (F7,B6)", "matrix": [7, 2], "x": 5.25, "y": 3}, + {"label": "K63 (F6,B5)", "matrix": [6, 3], "x": 6.25, "y": 3}, + {"label": "K73 (F7,B5)", "matrix": [7, 3], "x": 7.25, "y": 3}, + {"label": "K64 (F6,B4)", "matrix": [6, 4], "x": 8.25, "y": 3}, + {"label": "K74 (F7,B4)", "matrix": [7, 4], "x": 9.25, "y": 3}, + {"label": "K65 (F6,D7)", "matrix": [6, 5], "x": 10.25, "y": 3}, + {"label": "K75 (F7,D7)", "matrix": [7, 5], "x": 11.25, "y": 3, "w": 1.75}, + {"label": "K66 (F6,D6)", "matrix": [6, 6], "x": 13, "y": 3}, + {"label": "K76 (F7,D6)", "matrix": [7, 6], "x": 14, "y": 3}, + + {"label": "K80 (F4,C7)", "matrix": [8, 0], "x": 0, "y": 4, "w": 1.25}, + {"label": "K90 (F5,C7)", "matrix": [9, 0], "x": 1.25, "y": 4, "w": 1.25}, + {"label": "K81 (F4,C6)", "matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.25}, + {"label": "K83 (F4,B5)", "matrix": [8, 3], "x": 3.75, "y": 4, "w": 6.25}, + {"label": "K94 (F5,B4)", "matrix": [9, 4], "x": 10, "y": 4}, + {"label": "K85 (F4,D7)", "matrix": [8, 5], "x": 11, "y": 4}, + {"label": "K95 (F5,D7)", "matrix": [9, 5], "x": 12, "y": 4}, + {"label": "K86 (F4,D6)", "matrix": [8, 6], "x": 13, "y": 4}, + {"label": "K96 (F5,D6)", "matrix": [9, 6], "x": 14, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/sawnsprojects/eclipse/eclipse60/keymaps/default/keymap.c b/keyboards/sawnsprojects/eclipse/eclipse60/keymaps/default/keymap.c new file mode 100644 index 0000000000..f199d0ec99 --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/eclipse60/keymaps/default/keymap.c @@ -0,0 +1,111 @@ +/* + * 60 ANSI Arrow Split Backspace & 7U Space Keymap + * with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator. + * + * Copyright (C) 2020 Sendy YK + * + * 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 3 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 . + */ + +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * [_BASE] Base Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │+ │\ │Del│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │Tab │Q │W │E │R │T │Y │U │I │O │P │[ │] │Bspc │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │Caps │A │S │D │F │G │H │J │K │L │; │' │Return │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │Shft│No │Z │X │C │V │B │N │M │, │. │Shift │↑ │/ │ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │Ctrl│OS │Alt │Space │Fn │Alt│← │↓ │→ │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT( + QK_GESC, 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_BSLS, KC_DEL, + 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_BSPC, + 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_LSFT, KC_NO, 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_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_LALT, KC_LEFT, KC_DOWN, KC_RGHT + ), + /* + * [_FN] Fn Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │Ejc│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │End│RGB│ │ │ │Ins│ │PSc│ │ │Mute │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │SLc│ │ │ │Hm │ │ │ │ │ │Pause │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │Vol+│ │ │ │Cal│ │BLT│NLc│Ml │ │ │ │PgU│MSt│ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │Vol-│Rwd │FFd │Play │ │ │Prv│PgD│Nxt│ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [1] = LAYOUT( + KC_GRV, 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_EJCT, + _______, _______, _______, KC_END, RGB_TOG, _______, _______, _______, KC_INS, _______, KC_PSCR, _______, _______, KC_MUTE, + _______, _______, KC_SCRL, _______, _______, _______, KC_HOME, _______, _______, _______, _______, _______, KC_PAUS, + KC_VOLU, _______, _______, _______, KC_CALC, _______, BL_TOGG, KC_NUM, KC_MAIL, _______, _______, MO(2), KC_PGUP, KC_MSTP, + KC_VOLD, KC_MRWD, KC_MFFD, KC_MPLY, _______, _______, KC_MPRV, KC_PGDN, KC_MNXT + ), + /* + * [_RESET] Reset Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │ │Rst│ │ │ │ │ │ │ │ │ │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │ │ │ │ │ │ │ │ │ │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [2] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + /* + * [_BLANK] Blank Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴──┬───┼───┼───┤ + * │ │ │ │ │ │ │ │ │ + * └─────┴───┴─────┴───────────────────────────┴───┴───┴───┴───┘ + */ + [3] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), +}; + + diff --git a/keyboards/sawnsprojects/eclipse/eclipse60/keymaps/via/keymap.c b/keyboards/sawnsprojects/eclipse/eclipse60/keymaps/via/keymap.c new file mode 100644 index 0000000000..f199d0ec99 --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/eclipse60/keymaps/via/keymap.c @@ -0,0 +1,111 @@ +/* + * 60 ANSI Arrow Split Backspace & 7U Space Keymap + * with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator. + * + * Copyright (C) 2020 Sendy YK + * + * 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 3 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 . + */ + +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * [_BASE] Base Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │+ │\ │Del│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │Tab │Q │W │E │R │T │Y │U │I │O │P │[ │] │Bspc │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │Caps │A │S │D │F │G │H │J │K │L │; │' │Return │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │Shft│No │Z │X │C │V │B │N │M │, │. │Shift │↑ │/ │ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │Ctrl│OS │Alt │Space │Fn │Alt│← │↓ │→ │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT( + QK_GESC, 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_BSLS, KC_DEL, + 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_BSPC, + 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_LSFT, KC_NO, 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_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_LALT, KC_LEFT, KC_DOWN, KC_RGHT + ), + /* + * [_FN] Fn Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │Ejc│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │End│RGB│ │ │ │Ins│ │PSc│ │ │Mute │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │SLc│ │ │ │Hm │ │ │ │ │ │Pause │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │Vol+│ │ │ │Cal│ │BLT│NLc│Ml │ │ │ │PgU│MSt│ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │Vol-│Rwd │FFd │Play │ │ │Prv│PgD│Nxt│ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [1] = LAYOUT( + KC_GRV, 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_EJCT, + _______, _______, _______, KC_END, RGB_TOG, _______, _______, _______, KC_INS, _______, KC_PSCR, _______, _______, KC_MUTE, + _______, _______, KC_SCRL, _______, _______, _______, KC_HOME, _______, _______, _______, _______, _______, KC_PAUS, + KC_VOLU, _______, _______, _______, KC_CALC, _______, BL_TOGG, KC_NUM, KC_MAIL, _______, _______, MO(2), KC_PGUP, KC_MSTP, + KC_VOLD, KC_MRWD, KC_MFFD, KC_MPLY, _______, _______, KC_MPRV, KC_PGDN, KC_MNXT + ), + /* + * [_RESET] Reset Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │ │Rst│ │ │ │ │ │ │ │ │ │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │ │ │ │ │ │ │ │ │ │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [2] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + /* + * [_BLANK] Blank Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴──┬───┼───┼───┤ + * │ │ │ │ │ │ │ │ │ + * └─────┴───┴─────┴───────────────────────────┴───┴───┴───┴───┘ + */ + [3] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), +}; + + diff --git a/keyboards/sawnsprojects/eclipse/eclipse60/keymaps/via/rules.mk b/keyboards/sawnsprojects/eclipse/eclipse60/keymaps/via/rules.mk new file mode 100644 index 0000000000..43061db1dd --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/eclipse60/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/sawnsprojects/eclipse/eclipse60/readme.md b/keyboards/sawnsprojects/eclipse/eclipse60/readme.md new file mode 100644 index 0000000000..3ede532e1f --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/eclipse60/readme.md @@ -0,0 +1,27 @@ +# eclipse60 + +![eclipse60](https://i.imgur.com/0nttqlth.png) + + A 60% Opensource PCB make for Eclipse60, Bakeneko, TGR Unikorn and some board with same O-ring mounting point. + +* Keyboard Maintainer: [Mai The San](https://github.com/MaiTheSan) +* Hardware Supported: Eclipse60, Bakeneko, TGR Unikorn +* Hardware Availability: Private GB, [Opensource](https://github.com/MaiTheSan/EclipsePhrase160) + +Make example for this keyboard (after setting up your build environment): + + make eclipse/eclipse60:default + +Flashing example for this keyboard: + + make eclipse/eclipse60:default:flash + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/sawnsprojects/eclipse/eclipse60/rules.mk b/keyboards/sawnsprojects/eclipse/eclipse60/rules.mk new file mode 100644 index 0000000000..7ff128fa69 --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/eclipse60/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file diff --git a/keyboards/sawnsprojects/eclipse/tinyneko/info.json b/keyboards/sawnsprojects/eclipse/tinyneko/info.json new file mode 100644 index 0000000000..40ad2b7f80 --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/tinyneko/info.json @@ -0,0 +1,126 @@ +{ + "keyboard_name": "tinyneko", + "manufacturer": "Salane", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0x534C", + "pid": "0xE260", + "device_version": "1.0.0" + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "matrix_pins": { + "rows": ["B1", "B2", "B7", "B3", "D1", "D0", "F6", "F7", "F4", "F5"], + "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6"] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "mousekey": true, + "extrakey": true, + "console": false, + "command": false, + "nkro": false, + "backlight": false, + "rgblight": true, + "audio": false, + "key_lock": false + }, + "rgblight": { + "pin": "B0", + "led_count": 18, + "hue_steps": 8, + "saturation_steps": 8, + "brightness_steps": 8, + "max_brightness": 255, + "sleep": true, + "animations": { + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true, + "twinkle": true + } + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"label": "K00 (B1,C7)", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "K10 (B2,C7)", "matrix": [1, 0], "x": 1, "y": 0}, + {"label": "K01 (B1,C6)", "matrix": [0, 1], "x": 2, "y": 0}, + {"label": "K11 (B2,C6)", "matrix": [1, 1], "x": 3, "y": 0}, + {"label": "K02 (B1,B6)", "matrix": [0, 2], "x": 4, "y": 0}, + {"label": "K12 (B2,B6)", "matrix": [1, 2], "x": 5, "y": 0}, + {"label": "K03 (B1,B5)", "matrix": [0, 3], "x": 6, "y": 0}, + {"label": "K13 (B2,B5)", "matrix": [1, 3], "x": 7, "y": 0}, + {"label": "K04 (B1,B4)", "matrix": [0, 4], "x": 8, "y": 0}, + {"label": "K14 (B2,B4)", "matrix": [1, 4], "x": 9, "y": 0}, + {"label": "K05 (B1,D7)", "matrix": [0, 5], "x": 10, "y": 0}, + {"label": "K15 (B2,D7)", "matrix": [1, 5], "x": 11, "y": 0}, + {"label": "K06 (B1,D6)", "matrix": [0, 6], "x": 12, "y": 0}, + {"label": "K16 (B2,D6)", "matrix": [1, 6], "x": 13, "y": 0}, + {"label": "K56 (D0,D6)", "matrix": [5, 6], "x": 14, "y": 0}, + + {"label": "K20 (B7,C7)", "matrix": [2, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "K30 (B3,C7)", "matrix": [3, 0], "x": 1.5, "y": 1}, + {"label": "K21 (B7,C6)", "matrix": [2, 1], "x": 2.5, "y": 1}, + {"label": "K31 (B3,C6)", "matrix": [3, 1], "x": 3.5, "y": 1}, + {"label": "K22 (B7,B6)", "matrix": [2, 2], "x": 4.5, "y": 1}, + {"label": "K32 (B3,B6)", "matrix": [3, 2], "x": 5.5, "y": 1}, + {"label": "K23 (B7,B5)", "matrix": [2, 3], "x": 6.5, "y": 1}, + {"label": "K33 (B3,B5)", "matrix": [3, 3], "x": 7.5, "y": 1}, + {"label": "K24 (B7,B4)", "matrix": [2, 4], "x": 8.5, "y": 1}, + {"label": "K34 (B3,B4)", "matrix": [3, 4], "x": 9.5, "y": 1}, + {"label": "K25 (B7,D7)", "matrix": [2, 5], "x": 10.5, "y": 1}, + {"label": "K35 (B3,D7)", "matrix": [3, 5], "x": 11.5, "y": 1}, + {"label": "K26 (B7,D6)", "matrix": [2, 6], "x": 12.5, "y": 1}, + {"label": "K36 (B3,D6)", "matrix": [3, 6], "x": 13.5, "y": 1, "w": 1.5}, + + {"label": "K40 (D1,C7)", "matrix": [4, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "K50 (D0,C7)", "matrix": [5, 0], "x": 1.75, "y": 2}, + {"label": "K41 (D1,C6)", "matrix": [4, 1], "x": 2.75, "y": 2}, + {"label": "K51 (D0,C6)", "matrix": [5, 1], "x": 3.75, "y": 2}, + {"label": "K42 (D1,B6)", "matrix": [4, 2], "x": 4.75, "y": 2}, + {"label": "K52 (D0,B6)", "matrix": [5, 2], "x": 5.75, "y": 2}, + {"label": "K43 (D1,B5)", "matrix": [4, 3], "x": 6.75, "y": 2}, + {"label": "K53 (D0,B5)", "matrix": [5, 3], "x": 7.75, "y": 2}, + {"label": "K44 (D1,B4)", "matrix": [4, 4], "x": 8.75, "y": 2}, + {"label": "K54 (D0,B4)", "matrix": [5, 4], "x": 9.75, "y": 2}, + {"label": "K45 (D1,D7)", "matrix": [4, 5], "x": 10.75, "y": 2}, + {"label": "K55 (D0,D7)", "matrix": [5, 5], "x": 11.75, "y": 2}, + {"label": "K46 (D1,D6)", "matrix": [4, 6], "x": 12.75, "y": 2, "w": 2.25}, + + {"label": "K60 (F6,C7)", "matrix": [6, 0], "x": 0, "y": 3, "w": 1.25}, + {"label": "K70 (F7,C7)", "matrix": [7, 0], "x": 1.25, "y": 3}, + {"label": "K61 (F6,C6)", "matrix": [6, 1], "x": 2.25, "y": 3}, + {"label": "K71 (F7,C6)", "matrix": [7, 1], "x": 3.25, "y": 3}, + {"label": "K62 (F6,B6)", "matrix": [6, 2], "x": 4.25, "y": 3}, + {"label": "K72 (F7,B6)", "matrix": [7, 2], "x": 5.25, "y": 3}, + {"label": "K63 (F6,B5)", "matrix": [6, 3], "x": 6.25, "y": 3}, + {"label": "K73 (F7,B5)", "matrix": [7, 3], "x": 7.25, "y": 3}, + {"label": "K64 (F6,B4)", "matrix": [6, 4], "x": 8.25, "y": 3}, + {"label": "K74 (F7,B4)", "matrix": [7, 4], "x": 9.25, "y": 3}, + {"label": "K65 (F6,D7)", "matrix": [6, 5], "x": 10.25, "y": 3}, + {"label": "K75 (F7,D7)", "matrix": [7, 5], "x": 11.25, "y": 3, "w": 1.75}, + {"label": "K66 (F6,D6)", "matrix": [6, 6], "x": 13, "y": 3}, + {"label": "K76 (F7,D6)", "matrix": [7, 6], "x": 14, "y": 3}, + + {"label": "K80 (F4,C7)", "matrix": [8, 0], "x": 0, "y": 4, "w": 1.25}, + {"label": "K90 (F5,C7)", "matrix": [9, 0], "x": 1.25, "y": 4, "w": 1.25}, + {"label": "K81 (F4,C6)", "matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.25}, + {"label": "K83 (F4,B5)", "matrix": [8, 3], "x": 3.75, "y": 4, "w": 6.25}, + {"label": "K94 (F5,B4)", "matrix": [9, 4], "x": 10, "y": 4}, + {"label": "K85 (F4,D7)", "matrix": [8, 5], "x": 11, "y": 4}, + {"label": "K95 (F5,D7)", "matrix": [9, 5], "x": 12, "y": 4}, + {"label": "K86 (F4,D6)", "matrix": [8, 6], "x": 13, "y": 4}, + {"label": "K96 (F5,D6)", "matrix": [9, 6], "x": 14, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/sawnsprojects/eclipse/tinyneko/keymaps/default/keymap.c b/keyboards/sawnsprojects/eclipse/tinyneko/keymaps/default/keymap.c new file mode 100644 index 0000000000..f199d0ec99 --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/tinyneko/keymaps/default/keymap.c @@ -0,0 +1,111 @@ +/* + * 60 ANSI Arrow Split Backspace & 7U Space Keymap + * with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator. + * + * Copyright (C) 2020 Sendy YK + * + * 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 3 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 . + */ + +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * [_BASE] Base Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │+ │\ │Del│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │Tab │Q │W │E │R │T │Y │U │I │O │P │[ │] │Bspc │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │Caps │A │S │D │F │G │H │J │K │L │; │' │Return │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │Shft│No │Z │X │C │V │B │N │M │, │. │Shift │↑ │/ │ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │Ctrl│OS │Alt │Space │Fn │Alt│← │↓ │→ │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT( + QK_GESC, 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_BSLS, KC_DEL, + 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_BSPC, + 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_LSFT, KC_NO, 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_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_LALT, KC_LEFT, KC_DOWN, KC_RGHT + ), + /* + * [_FN] Fn Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │Ejc│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │End│RGB│ │ │ │Ins│ │PSc│ │ │Mute │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │SLc│ │ │ │Hm │ │ │ │ │ │Pause │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │Vol+│ │ │ │Cal│ │BLT│NLc│Ml │ │ │ │PgU│MSt│ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │Vol-│Rwd │FFd │Play │ │ │Prv│PgD│Nxt│ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [1] = LAYOUT( + KC_GRV, 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_EJCT, + _______, _______, _______, KC_END, RGB_TOG, _______, _______, _______, KC_INS, _______, KC_PSCR, _______, _______, KC_MUTE, + _______, _______, KC_SCRL, _______, _______, _______, KC_HOME, _______, _______, _______, _______, _______, KC_PAUS, + KC_VOLU, _______, _______, _______, KC_CALC, _______, BL_TOGG, KC_NUM, KC_MAIL, _______, _______, MO(2), KC_PGUP, KC_MSTP, + KC_VOLD, KC_MRWD, KC_MFFD, KC_MPLY, _______, _______, KC_MPRV, KC_PGDN, KC_MNXT + ), + /* + * [_RESET] Reset Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │ │Rst│ │ │ │ │ │ │ │ │ │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │ │ │ │ │ │ │ │ │ │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [2] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + /* + * [_BLANK] Blank Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴──┬───┼───┼───┤ + * │ │ │ │ │ │ │ │ │ + * └─────┴───┴─────┴───────────────────────────┴───┴───┴───┴───┘ + */ + [3] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), +}; + + diff --git a/keyboards/sawnsprojects/eclipse/tinyneko/keymaps/via/keymap.c b/keyboards/sawnsprojects/eclipse/tinyneko/keymaps/via/keymap.c new file mode 100644 index 0000000000..f199d0ec99 --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/tinyneko/keymaps/via/keymap.c @@ -0,0 +1,111 @@ +/* + * 60 ANSI Arrow Split Backspace & 7U Space Keymap + * with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator. + * + * Copyright (C) 2020 Sendy YK + * + * 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 3 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 . + */ + +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * [_BASE] Base Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │+ │\ │Del│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │Tab │Q │W │E │R │T │Y │U │I │O │P │[ │] │Bspc │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │Caps │A │S │D │F │G │H │J │K │L │; │' │Return │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │Shft│No │Z │X │C │V │B │N │M │, │. │Shift │↑ │/ │ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │Ctrl│OS │Alt │Space │Fn │Alt│← │↓ │→ │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT( + QK_GESC, 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_BSLS, KC_DEL, + 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_BSPC, + 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_LSFT, KC_NO, 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_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_LALT, KC_LEFT, KC_DOWN, KC_RGHT + ), + /* + * [_FN] Fn Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │Ejc│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │End│RGB│ │ │ │Ins│ │PSc│ │ │Mute │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │SLc│ │ │ │Hm │ │ │ │ │ │Pause │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │Vol+│ │ │ │Cal│ │BLT│NLc│Ml │ │ │ │PgU│MSt│ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │Vol-│Rwd │FFd │Play │ │ │Prv│PgD│Nxt│ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [1] = LAYOUT( + KC_GRV, 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_EJCT, + _______, _______, _______, KC_END, RGB_TOG, _______, _______, _______, KC_INS, _______, KC_PSCR, _______, _______, KC_MUTE, + _______, _______, KC_SCRL, _______, _______, _______, KC_HOME, _______, _______, _______, _______, _______, KC_PAUS, + KC_VOLU, _______, _______, _______, KC_CALC, _______, BL_TOGG, KC_NUM, KC_MAIL, _______, _______, MO(2), KC_PGUP, KC_MSTP, + KC_VOLD, KC_MRWD, KC_MFFD, KC_MPLY, _______, _______, KC_MPRV, KC_PGDN, KC_MNXT + ), + /* + * [_RESET] Reset Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │ │Rst│ │ │ │ │ │ │ │ │ │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬───┼───┼───┤ + * │ │ │ │ │ │ │ │ │ │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┘ + */ + [2] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + /* + * [_BLANK] Blank Layer + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴──┬───┼───┼───┤ + * │ │ │ │ │ │ │ │ │ + * └─────┴───┴─────┴───────────────────────────┴───┴───┴───┴───┘ + */ + [3] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), +}; + + diff --git a/keyboards/sawnsprojects/eclipse/tinyneko/keymaps/via/rules.mk b/keyboards/sawnsprojects/eclipse/tinyneko/keymaps/via/rules.mk new file mode 100644 index 0000000000..43061db1dd --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/tinyneko/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/sawnsprojects/eclipse/tinyneko/readme.md b/keyboards/sawnsprojects/eclipse/tinyneko/readme.md new file mode 100644 index 0000000000..322403f589 --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/tinyneko/readme.md @@ -0,0 +1,27 @@ +# tinyneko + +![tinyneko](https://i.imgur.com/hs8RWzLh.png) + + A 60% PCB Modified for Tinyneko, can fit with all board Eclipse60 fit. + +* Keyboard Maintainer: [Mai The San](https://github.com/MaiTheSan) +* Hardware Supported: TinyNeko +* Hardware Availability: [tinyneko GB](https://tinyneko.com/products/group-buy-tinyneko) [Opensource](https://github.com/MaiTheSan/EclipsePhrase160) + +Make example for this keyboard (after setting up your build environment): + + make tinyneko/eclipse60:default + +Flashing example for this keyboard: + + make tinyneko/eclipse60:default:flash + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/sawnsprojects/eclipse/tinyneko/rules.mk b/keyboards/sawnsprojects/eclipse/tinyneko/rules.mk new file mode 100644 index 0000000000..7ff128fa69 --- /dev/null +++ b/keyboards/sawnsprojects/eclipse/tinyneko/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file