diff --git a/keyboards/rominronin/katana60/rev3_pro/config.h b/keyboards/rominronin/katana60/rev3_pro/config.h new file mode 100644 index 00000000000..c359f097356 --- /dev/null +++ b/keyboards/rominronin/katana60/rev3_pro/config.h @@ -0,0 +1,20 @@ +// Copyright 2024 Baris Tosun (@Baris Tosun) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/rominronin/katana60/rev3_pro/info.json b/keyboards/rominronin/katana60/rev3_pro/info.json new file mode 100644 index 00000000000..9b9bc214ac2 --- /dev/null +++ b/keyboards/rominronin/katana60/rev3_pro/info.json @@ -0,0 +1,107 @@ +{ + "manufacturer": "Baris Tosun", + "keyboard_name": "rominronin/katana60/rev3_pro", + "maintainer": "rominronin", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["E6", "B3", "F6", "D5", "D3", "D2", "F7", "C7", "C6", "D1", "B6", "B5", "B4", "D7", "D6"], + "rows": ["B0", "B1", "B7", "D4", "F5"] + }, + "processor": "atmega32u4", + "url": "", + "usb": { + "device_version": "1.0.0", + "vid": "0x7272", + "pid": "0xF03B", + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 8], "x": 7.5, "y": 1}, + {"matrix": [1, 9], "x": 8.5, "y": 1}, + {"matrix": [1, 10], "x": 9.5, "y": 1}, + {"matrix": [1, 11], "x": 10.5, "y": 1}, + {"matrix": [1, 12], "x": 11.5, "y": 1}, + {"matrix": [1, 13], "x": 12.5, "y": 1}, + {"matrix": [1, 14], "x": 13.5, "y": 1, "w": 1.5}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.25}, + {"matrix": [2, 1], "x": 1.25, "y": 2}, + {"matrix": [2, 2], "x": 2.25, "y": 2}, + {"matrix": [2, 3], "x": 3.25, "y": 2}, + {"matrix": [2, 4], "x": 4.25, "y": 2}, + {"matrix": [2, 5], "x": 5.25, "y": 2}, + {"matrix": [2, 6], "x": 6.25, "y": 2}, + {"matrix": [2, 8], "x": 7.75, "y": 2}, + {"matrix": [2, 9], "x": 8.75, "y": 2}, + {"matrix": [2, 10], "x": 9.75, "y": 2}, + {"matrix": [2, 11], "x": 10.75, "y": 2}, + {"matrix": [2, 12], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2}, + {"matrix": [2, 14], "x": 13.75, "y": 2, "w": 1.25}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3}, + {"matrix": [3, 5], "x": 5, "y": 3}, + {"matrix": [3, 6], "x": 6, "y": 3}, + {"matrix": [3, 7], "x": 7, "y": 3}, + {"matrix": [3, 8], "x": 8, "y": 3}, + {"matrix": [3, 9], "x": 9, "y": 3}, + {"matrix": [3, 10], "x": 10, "y": 3}, + {"matrix": [3, 11], "x": 11, "y": 3}, + {"matrix": [3, 12], "x": 12, "y": 3}, + {"matrix": [3, 13], "x": 13, "y": 3}, + {"matrix": [3, 14], "x": 14, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4}, + {"matrix": [4, 1], "x": 1, "y": 4}, + {"matrix": [4, 2], "x": 2, "y": 4}, + {"matrix": [4, 3], "x": 3, "y": 4}, + {"matrix": [4, 4], "x": 4, "y": 4}, + {"matrix": [4, 6], "x": 5, "y": 4, "w": 2}, + {"matrix": [4, 7], "x": 7, "y": 4}, + {"matrix": [4, 8], "x": 8, "y": 4, "w": 2}, + {"matrix": [4, 10], "x": 10, "y": 4}, + {"matrix": [4, 11], "x": 11, "y": 4}, + {"matrix": [4, 12], "x": 12, "y": 4}, + {"matrix": [4, 13], "x": 12, "y": 4}, + {"matrix": [4, 14], "x": 12, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/rominronin/katana60/rev3_pro/keymaps/default/keymap.c b/keyboards/rominronin/katana60/rev3_pro/keymaps/default/keymap.c new file mode 100644 index 00000000000..52b30aee080 --- /dev/null +++ b/keyboards/rominronin/katana60/rev3_pro/keymaps/default/keymap.c @@ -0,0 +1,27 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ / │ 6 │ 7 │ 8 │ 9 │ 0 │ ' │BSp│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ Tab │ Q │ W │ E │ R │ T │ - │ + │ Y │ U │ I │ O │ P │ \ │ + * ├────┬┴──┬┴──┬┴──┬┴──┬┴──┬┴───┼───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬────┤ + * │Ctl │ A │ S │ D │ F │ G │ [ │ ] │ H │ J │ K │ L │ ; │ Ent│ + * ├───┬┴──┬┴──┬┴──┬┴──┬┴──┬┴──┬─┴─┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬───┤ + * │Sft│ Z │ X │ C │ V │ B │ ← │ ↑ │ → │ N │ M │ , │ . │ ↑ │Sft│ + * ├───┼───┼───┼───┼───┼───┴───┼───┼───┴───┼───┼───┼───┼───┼───┤ + * │CAP│Ctl│Ctl│Alt│Win│ Space │ ↓ │ Space │Win│Alt│ ← │ ↓ │ → │ + * └───┴───┴───┴───┴───┴───────┴───┴───────┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT( + KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_SLSH, KC_6, KC_7, KC_8, KC_9, KC_0, KC_QUOT, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_MINS, KC_EQL, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, + KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_LBRC, KC_RBRC, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LEFT, KC_UP, KC_RIGHT,KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, + KC_CAPS, KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, KC_SPACE, KC_DOWN, KC_SPACE, KC_RGUI, KC_RALT, KC_LEFT, KC_DOWN, KC_RIGHT + ) +}; diff --git a/keyboards/rominronin/katana60/rev3_pro/keymaps/rominronin/keymap.c b/keyboards/rominronin/katana60/rev3_pro/keymaps/rominronin/keymap.c new file mode 100644 index 00000000000..6775f1ce7bd --- /dev/null +++ b/keyboards/rominronin/katana60/rev3_pro/keymaps/rominronin/keymap.c @@ -0,0 +1,59 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +// MacOS based definitions. +#define K_SPCFN LT(2, KC_SPACE) // Tap for space, hold for symbols layer +#define K_PRVWD LALT(KC_LEFT) // Previous word +#define K_NXTWD LALT(KC_RIGHT) // Next word +#define K_LSTRT LGUI(KC_LEFT) // Start of line +#define K_LEND LGUI(KC_RIGHT) // End of line +#define UNDO LGUI(KC_Z) // UNDO +#define CUT LGUI(KC_X) // CUT +#define COPY LGUI(KC_C) // COPY +#define PASTE LGUI(KC_V) // PASTE + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │D1 │ 6 │ 7 │ 8 │ 9 │ 0 │ ; │BSp│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ Tab │ Q │ W │ F │ P │ B │ [ │ ] │ J │ L │ U │ Y │ ' │ \ │ + * ├────┬┴──┬┴──┬┴──┬┴──┬┴──┬┴───┼───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬────┤ + * │ M3 │ A │ R │ S │ T │ G │Home│PgUp│ M │ N │ E │ I │ O │ Ent│ + * ├───┬┴──┬┴──┬┴──┬┴──┬┴──┬┴──┬─┴─┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬───┤ + * │Sft│ Z │ X │ C │ D │ V │End│Del│PDn│ K │ H │ , │ . │ / │Sft│ + * ├───┼───┼───┼───┼───┼───┴───┼───┼───┴───┼───┼───┼───┼───┼───┤ + * │M2 │Ctl│Ctl│Opt│Cmd│ Space │Ent│ Space │M2 │ ← │ ↓ │ ↑ │ → │ + * └───┴───┴───┴───┴───┴───────┴───┴───────┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT( + KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, DF(1), KC_6, KC_7, KC_8, KC_9, KC_0, KC_SCLN, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_LBRC, KC_RBRC, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, KC_BSLS, + MO(3), KC_A, KC_R, KC_S, KC_T, KC_G, KC_HOME, KC_PGUP, KC_M, KC_N, KC_E, KC_I, KC_O, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_END, KC_DEL, KC_PGDN, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + MO(2), KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, KC_SPACE, KC_ENT, KC_SPACE, MO(2), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT + ), + [1] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, DF(0), _______, _______, KC_PEQL, KC_PSLS, KC_PAST, _______, _______, + _______, _______, _______, KC_MS_U, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, _______, + _______, KC_BTN2, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, _______, + _______, _______, KC_ACL0, KC_ACL1, KC_ACL2, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, + _______, _______, _______, _______, _______, KC_BTN1, _______, KC_P0, _______, KC_PDOT, KC_PENT, _______, _______ + ), + [2] = LAYOUT( + QK_BOOT, _______, 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_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, _______, _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, + _______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_VOLD, KC_VOLU, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, + _______, KC_PLUS, KC_MINS, KC_EQL, KC_LCBR, KC_RCBR, KC_MPRV, KC_MPLY, KC_MNXT, KC_LBRC, KC_RBRC, KC_SCLN, KC_COLN, KC_BSLS, _______, + _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______, _______, _______, _______, _______ + ), + [3] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, K_PRVWD, KC_UP, K_NXTWD, _______, _______, + _______, KC_LGUI, KC_LCTL, KC_LALT, KC_LSFT, _______, _______, _______, KC_BSPC, KC_LEFT, KC_DOWN, KC_RIGHT,KC_DEL, _______, + _______, UNDO, CUT, COPY, PASTE, _______, _______, _______, _______, _______, K_LSTRT, _______, K_LEND, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/rominronin/katana60/rev3_pro/readme.md b/keyboards/rominronin/katana60/rev3_pro/readme.md new file mode 100644 index 00000000000..484ea1c0797 --- /dev/null +++ b/keyboards/rominronin/katana60/rev3_pro/readme.md @@ -0,0 +1,27 @@ +# rominronin/katana60/rev3_pro + +![rominronin/katana60/rev3_pro](imgur.com image replace me!) + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [Baris Tosun](https://github.com/Baris Tosun) +* Hardware Supported: *The PCBs, controllers supported* +* Hardware Availability: *Links to where you can find this hardware* + +Make example for this keyboard (after setting up your build environment): + + make rominronin/katana60/rev3_pro:default + +Flashing example for this keyboard: + + make rominronin/katana60/rev3_pro: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/rominronin/katana60/rev3_pro/rules.mk b/keyboards/rominronin/katana60/rev3_pro/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/rominronin/katana60/rev3_pro/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/rominronin/tsuka60/rev1_pro/config.h b/keyboards/rominronin/tsuka60/rev1_pro/config.h new file mode 100644 index 00000000000..c359f097356 --- /dev/null +++ b/keyboards/rominronin/tsuka60/rev1_pro/config.h @@ -0,0 +1,20 @@ +// Copyright 2024 Baris Tosun (@Baris Tosun) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/rominronin/tsuka60/rev1_pro/info.json b/keyboards/rominronin/tsuka60/rev1_pro/info.json new file mode 100644 index 00000000000..0259600f8dd --- /dev/null +++ b/keyboards/rominronin/tsuka60/rev1_pro/info.json @@ -0,0 +1,107 @@ +{ + "manufacturer": "Baris Tosun", + "keyboard_name": "rominronin/tsuka60/rev1_pro", + "maintainer": "Baris Tosun", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["F1", "F4", "F7", "D5", "D2", "D1", "D0", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], + "rows": ["B7", "F0", "D3", "F6", "F5"] + }, + "processor": "atmega32u4", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0000", + "vid": "0xFEED" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1}, + {"matrix": [1, 5], "x": 5, "y": 1}, + {"matrix": [1, 6], "x": 6, "y": 1}, + {"matrix": [1, 7], "x": 7, "y": 1}, + {"matrix": [1, 8], "x": 8, "y": 1}, + {"matrix": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1}, + {"matrix": [1, 12], "x": 12, "y": 1}, + {"matrix": [1, 13], "x": 13, "y": 1}, + {"matrix": [1, 14], "x": 14, "y": 1}, + + {"matrix": [2, 1], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 2], "x": 1.75, "y": 2}, + {"matrix": [2, 3], "x": 2.75, "y": 2}, + {"matrix": [2, 4], "x": 3.75, "y": 2}, + {"matrix": [2, 5], "x": 4.75, "y": 2}, + {"matrix": [2, 6], "x": 5.75, "y": 2}, + {"matrix": [2, 7], "x": 6.75, "y": 2, "w": 1.5}, + {"matrix": [2, 8], "x": 8.25, "y": 2}, + {"matrix": [2, 9], "x": 9.25, "y": 2}, + {"matrix": [2, 10], "x": 10.25, "y": 2}, + {"matrix": [2, 11], "x": 11.25, "y": 2}, + {"matrix": [2, 12], "x": 12.25, "y": 2}, + {"matrix": [2, 13], "x": 13.25, "y": 2, "w": 1.75}, + + {"matrix": [3, 1], "x": 0, "y": 3, "w": 1.5}, + {"matrix": [3, 2], "x": 1.5, "y": 3}, + {"matrix": [3, 3], "x": 2.5, "y": 3}, + {"matrix": [3, 4], "x": 3.5, "y": 3}, + {"matrix": [3, 5], "x": 4.5, "y": 3}, + {"matrix": [3, 6], "x": 5.5, "y": 3}, + {"matrix": [3, 7], "x": 6.5, "y": 3}, + {"matrix": [4, 7], "x": 7.5, "y": 3}, + {"matrix": [3, 8], "x": 8.5, "y": 3}, + {"matrix": [3, 9], "x": 9.5, "y": 3}, + {"matrix": [3, 10], "x": 10.5, "y": 3}, + {"matrix": [3, 11], "x": 11.5, "y": 3}, + {"matrix": [3, 12], "x": 12.5, "y": 3}, + {"matrix": [3, 13], "x": 13.5, "y": 3, "w": 1.5}, + + {"matrix": [4, 0], "x": 0, "y": 4}, + {"matrix": [4, 1], "x": 1, "y": 4}, + {"matrix": [4, 2], "x": 2, "y": 4}, + {"matrix": [4, 3], "x": 3, "y": 4}, + {"matrix": [4, 4], "x": 4, "y": 4, "w": 1.25}, + {"matrix": [4, 5], "x": 5.25, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 6.5, "y": 4}, + {"matrix": [4, 8], "x": 7.5, "y": 4}, + {"matrix": [4, 9], "x": 8.5, "y": 4, "w": 1.25}, + {"matrix": [4, 10], "x": 9.75, "y": 4, "w": 1.25}, + {"matrix": [4, 11], "x": 11, "y": 4}, + {"matrix": [4, 12], "x": 12, "y": 4}, + {"matrix": [4, 13], "x": 13, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/rominronin/tsuka60/rev1_pro/keymaps/default/keymap.c b/keyboards/rominronin/tsuka60/rev1_pro/keymaps/default/keymap.c new file mode 100644 index 00000000000..d6b974c6b5e --- /dev/null +++ b/keyboards/rominronin/tsuka60/rev1_pro/keymaps/default/keymap.c @@ -0,0 +1,27 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │PgU│ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ + * │Tab│Cap│ Q │ W │ E │ R │ T │PgD│ Y │ U │ I │ O │ P │ [ │ ] │ + * ├───┴──┬┴──┬┴──┬┴──┬┴──┬┴──┬┴───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ + * │ Ctrl │ A │ S │ D │ F │ G │BkSpc│ H │ J │ K │ L │ ; │ Enter│ + * ├─────┬┴──┬┴──┬┴──┬┴──┬┴──┬┴──┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬─────┤ + * │Shift│ Z │ X │ C │ V │ B │Hom│End│ N │ M │ , │ . │ / │Shift│ + * ├───┬─┴─┬─┴─┬─┴─┬─┴──┬┴───┼───┼───┼───┴┬──┴─┬─┴─┬─┴─┬─┴─┬───┤ + * │Ctl│Ctl│Ctl│Win│Alt │ Sp │Ent│Ent│ Sp │Ctrl│ ← │ ↓ │ ↑ │ → │ + * └───┴───┴───┴───┴────┴────┴───┴───┴────┴────┴───┴───┴───┴───┘ + */ + [0] = LAYOUT( + KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_PGUP, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, + KC_TAB, KC_CAPS, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_PGDN, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, + KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_BSPC, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_HOME, KC_END, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_LCTL, KC_LCTL, KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE,KC_ENT, KC_ENT, KC_SPACE,KC_RCTL, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT + ) +}; diff --git a/keyboards/rominronin/tsuka60/rev1_pro/keymaps/rominronin/keymap.c b/keyboards/rominronin/tsuka60/rev1_pro/keymaps/rominronin/keymap.c new file mode 100644 index 00000000000..a8115bc0743 --- /dev/null +++ b/keyboards/rominronin/tsuka60/rev1_pro/keymaps/rominronin/keymap.c @@ -0,0 +1,59 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +// MacOS based definitions. +#define K_SPCFN LT(2, KC_SPACE) // Tap for space, hold for symbols layer +#define K_PRVWD LALT(KC_LEFT) // Previous word +#define K_NXTWD LALT(KC_RIGHT) // Next word +#define K_LSTRT LGUI(KC_LEFT) // Start of line +#define K_LEND LGUI(KC_RIGHT) // End of line +#define UNDO LGUI(KC_Z) // UNDO +#define CUT LGUI(KC_X) // CUT +#define COPY LGUI(KC_C) // COPY +#define PASTE LGUI(KC_V) // PASTE + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │D1 │ 6 │ 7 │ 8 │ 9 │ 0 │ ; │BSp│ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ + * │Tab│Cap│ Q │ W │ F │ P │ B │Del│ J │ L │ U │ Y │ ' │ [ │ ] │ + * ├───┴──┬┴──┬┴──┬┴──┬┴──┬┴──┬┴───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ + * │ M3 │ A │ R │ S │ T │ G │ \ │ M │ N │ E │ I │ O │ Enter│ + * ├─────┬┴──┬┴──┬┴──┬┴──┬┴──┬┴──┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬─────┤ + * │Shift│ Z │ X │ C │ D │ V │ - │ = │ K │ H │ , │ . │ / │Shift│ + * ├───┬─┴─┬─┴─┬─┴─┬─┴──┬┴───┼───┼───┼───┴┬──┴─┬─┴─┬─┴─┬─┴─┬───┤ + * │CAP│ │Ctl│Opt│Cmd │ Sp │Ent│Cmd│ Sp │ M2 │ ← │ ↓ │ ↑ │ → │ + * └───┴───┴───┴───┴────┴────┴───┴───┴────┴────┴───┴───┴───┴───┘ + */ + [0] = LAYOUT( + KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, DF(1), KC_6, KC_7, KC_8, KC_9, KC_0, KC_SCLN, KC_BSPC, + KC_TAB, KC_CAPS, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_DEL, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, KC_LBRC, KC_RBRC, + MO(3), KC_A, KC_R, KC_S, KC_T, KC_G, KC_BSLS, KC_M, KC_N, KC_E, KC_I, KC_O, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_MINS, KC_EQL, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_CAPS, KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, KC_SPACE,KC_ENT, KC_LGUI, K_SPCFN, MO(2), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT + ), + [1] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, DF(0), _______, _______, KC_PEQL, KC_PSLS, KC_PAST, _______, _______, + _______, _______, _______, _______, KC_MS_U, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, _______, _______, + _______, KC_BTN2, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, _______, + _______, _______, KC_ACL0, KC_ACL1, KC_ACL2, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, + _______, _______, _______, _______, _______, KC_BTN1, _______, _______, KC_P0, _______, KC_PDOT, KC_PENT, _______, _______ + ), + [2] = LAYOUT( + QK_BOOT, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_VOLU, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + _______, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_VOLD, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, _______, + _______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_MPLY, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, + _______, KC_PLUS, KC_MINS, KC_EQL, KC_LCBR, KC_RCBR, KC_MPRV, KC_MNXT, KC_LBRC, KC_RBRC, KC_SCLN, KC_COLN, KC_BSLS, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + [3] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, K_PRVWD, KC_UP, K_NXTWD, _______, _______, _______, + _______, KC_LGUI, KC_LCTL, KC_LALT, KC_LSFT, _______, _______, KC_BSPC, KC_LEFT, KC_DOWN, KC_RIGHT,KC_DEL, _______, + _______, UNDO, CUT, COPY, PASTE, _______, _______, _______, _______, K_LSTRT, _______, K_LEND, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/rominronin/tsuka60/rev1_pro/readme.md b/keyboards/rominronin/tsuka60/rev1_pro/readme.md new file mode 100644 index 00000000000..028264b508a --- /dev/null +++ b/keyboards/rominronin/tsuka60/rev1_pro/readme.md @@ -0,0 +1,27 @@ +# rominronin/tsuka60/rev1_pro + +![rominronin/tsuka60/rev1_pro](imgur.com image replace me!) + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [Baris Tosun](https://github.com/Baris Tosun) +* Hardware Supported: *The PCBs, controllers supported* +* Hardware Availability: *Links to where you can find this hardware* + +Make example for this keyboard (after setting up your build environment): + + make rominronin/tsuka60/rev1_pro:default + +Flashing example for this keyboard: + + make rominronin/tsuka60/rev1_pro: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/rominronin/tsuka60/rev1_pro/rules.mk b/keyboards/rominronin/tsuka60/rev1_pro/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/rominronin/tsuka60/rev1_pro/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank