mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-21 16:06:35 +06:00
[Keyboard] Add SIRIND Tomak79H (#24505)
* Add Tomak79H Add Tomak79H * Update Update * Update keyboards/era/sirind/tomak79h/tomak79h.c Co-authored-by: Drashna Jaelre <drashna@live.com> --------- Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
parent
3b874ee434
commit
bf327f7a81
15
keyboards/era/sirind/tomak79h/config.h
Normal file
15
keyboards/era/sirind/tomak79h/config.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2024 Hyojin Bak (@eerraa)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
/* Split configuration */
|
||||
#define USB_VBUS_PIN GP19
|
||||
#define SERIAL_USART_FULL_DUPLEX
|
||||
#define SERIAL_USART_TX_PIN GP0
|
||||
#define SERIAL_USART_RX_PIN GP1
|
||||
#define SERIAL_USART_PIN_SWAP
|
||||
|
||||
/* Reset */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
393
keyboards/era/sirind/tomak79h/keyboard.json
Normal file
393
keyboards/era/sirind/tomak79h/keyboard.json
Normal file
|
@ -0,0 +1,393 @@
|
|||
{
|
||||
"manufacturer": "SIRIND",
|
||||
"keyboard_name": "Tomak79H",
|
||||
"maintainer": "eerraa",
|
||||
"bootloader": "rp2040",
|
||||
"build": {
|
||||
"debounce_type": "sym_defer_pk"
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP29", "GP9", "GP7", "GP6", "GP5", "GP4", "GP3", "GP2", null],
|
||||
"rows": ["GP24", "GP8", "GP26", "GP25", "GP27", "GP28"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"rgb_matrix": {
|
||||
"animations": {
|
||||
"alphas_mods": true,
|
||||
"band_pinwheel_sat": true,
|
||||
"band_pinwheel_val": true,
|
||||
"band_sat": true,
|
||||
"band_spiral_sat": true,
|
||||
"band_spiral_val": true,
|
||||
"band_val": true,
|
||||
"breathing": true,
|
||||
"cycle_all": true,
|
||||
"cycle_left_right": true,
|
||||
"cycle_out_in": true,
|
||||
"cycle_out_in_dual": true,
|
||||
"cycle_pinwheel": true,
|
||||
"cycle_spiral": true,
|
||||
"cycle_up_down": true,
|
||||
"digital_rain": true,
|
||||
"dual_beacon": true,
|
||||
"flower_blooming": true,
|
||||
"gradient_left_right": true,
|
||||
"gradient_up_down": true,
|
||||
"hue_breathing": true,
|
||||
"hue_pendulum": true,
|
||||
"hue_wave": true,
|
||||
"jellybean_raindrops": true,
|
||||
"multisplash": true,
|
||||
"pixel_flow": true,
|
||||
"pixel_fractal": true,
|
||||
"pixel_rain": true,
|
||||
"rainbow_beacon": true,
|
||||
"rainbow_moving_chevron": true,
|
||||
"rainbow_pinwheels": true,
|
||||
"raindrops": true,
|
||||
"riverflow": true,
|
||||
"solid_multisplash": true,
|
||||
"solid_reactive": true,
|
||||
"solid_reactive_cross": true,
|
||||
"solid_reactive_multicross": true,
|
||||
"solid_reactive_multinexus": true,
|
||||
"solid_reactive_multiwide": true,
|
||||
"solid_reactive_nexus": true,
|
||||
"solid_reactive_simple": true,
|
||||
"solid_reactive_wide": true,
|
||||
"solid_splash": true,
|
||||
"splash": true,
|
||||
"starlight": true,
|
||||
"starlight_dual_hue": true,
|
||||
"starlight_dual_sat": true,
|
||||
"typing_heatmap": true
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 2], "x": 20, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 3], "x": 33, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 4], "x": 47, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 60, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 6], "x": 80, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 7], "x": 93, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 95, "y": 15, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 81, "y": 15, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 68, "y": 15, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 54, "y": 15, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 41, "y": 15, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 27, "y": 15, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 14, "y": 15, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 0, "y": 15, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 3, "y": 26, "flags": 1},
|
||||
{"matrix": [2, 1], "x": 20, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 34, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 47, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 61, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 75, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 88, "y": 26, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 92, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 78, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 64, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 51, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 37, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 1], "x": 24, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 5, "y": 38, "flags": 1},
|
||||
{"matrix": [3, 0], "x": 2, "y": 38, "flags": 1},
|
||||
{"matrix": [4, 0], "x": 8, "y": 49, "flags": 1},
|
||||
{"matrix": [4, 2], "x": 31, "y": 49, "flags": 4},
|
||||
{"matrix": [4, 3], "x": 44, "y": 49, "flags": 4},
|
||||
{"matrix": [4, 4], "x": 58, "y": 49, "flags": 4},
|
||||
{"matrix": [4, 5], "x": 71, "y": 49, "flags": 4},
|
||||
{"matrix": [4, 6], "x": 85, "y": 49, "flags": 4},
|
||||
{"matrix": [5, 6], "x": 93, "y": 64, "flags": 1},
|
||||
{"matrix": [5, 5], "x": 71, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 2], "x": 37, "y": 61, "flags": 1},
|
||||
{"matrix": [5, 1], "x": 20, "y": 61, "flags": 1},
|
||||
{"matrix": [5, 0], "x": 3, "y": 61, "flags": 1},
|
||||
{"matrix": [6, 8], "x": 221, "y": 0, "flags": 4},
|
||||
{"matrix": [6, 7], "x": 205, "y": 0, "flags": 4},
|
||||
{"matrix": [6, 5], "x": 185, "y": 0, "flags": 4},
|
||||
{"matrix": [6, 4], "x": 171, "y": 0, "flags": 4},
|
||||
{"matrix": [6, 3], "x": 158, "y": 0, "flags": 4},
|
||||
{"matrix": [6, 2], "x": 144, "y": 0, "flags": 4},
|
||||
{"matrix": [6, 1], "x": 124, "y": 0, "flags": 4},
|
||||
{"matrix": [6, 0], "x": 111, "y": 0, "flags": 4},
|
||||
{"matrix": [7, 0], "x": 109, "y": 15, "flags": 4},
|
||||
{"matrix": [7, 1], "x": 123, "y": 15, "flags": 4},
|
||||
{"matrix": [7, 2], "x": 136, "y": 15, "flags": 4},
|
||||
{"matrix": [7, 3], "x": 150, "y": 15, "flags": 4},
|
||||
{"matrix": [7, 4], "x": 163, "y": 15, "flags": 4},
|
||||
{"matrix": [7, 5], "x": 177, "y": 15, "flags": 4},
|
||||
{"matrix": [7, 7], "x": 197, "y": 15, "flags": 1},
|
||||
{"matrix": [7, 8], "x": 221, "y": 15, "flags": 1},
|
||||
{"matrix": [8, 8], "x": 221, "y": 26, "flags": 4},
|
||||
{"matrix": [8, 7], "x": 200, "y": 26, "flags": 4},
|
||||
{"matrix": [8, 6], "x": 184, "y": 26, "flags": 4},
|
||||
{"matrix": [8, 5], "x": 170, "y": 26, "flags": 4},
|
||||
{"matrix": [8, 4], "x": 157, "y": 26, "flags": 4},
|
||||
{"matrix": [8, 3], "x": 143, "y": 26, "flags": 4},
|
||||
{"matrix": [8, 2], "x": 130, "y": 26, "flags": 4},
|
||||
{"matrix": [8, 1], "x": 116, "y": 26, "flags": 4},
|
||||
{"matrix": [8, 0], "x": 102, "y": 26, "flags": 4},
|
||||
{"matrix": [9, 0], "x": 106, "y": 38, "flags": 4},
|
||||
{"matrix": [9, 1], "x": 119, "y": 38, "flags": 4},
|
||||
{"matrix": [9, 2], "x": 133, "y": 38, "flags": 4},
|
||||
{"matrix": [9, 3], "x": 147, "y": 38, "flags": 4},
|
||||
{"matrix": [9, 4], "x": 160, "y": 38, "flags": 4},
|
||||
{"matrix": [9, 5], "x": 174, "y": 38, "flags": 4},
|
||||
{"matrix": [9, 7], "x": 200, "y": 38, "flags": 1},
|
||||
{"matrix": [10, 7], "x": 208, "y": 52, "flags": 4},
|
||||
{"matrix": [10, 6], "x": 186, "y": 49, "flags": 1},
|
||||
{"matrix": [10, 5], "x": 167, "y": 49, "flags": 4},
|
||||
{"matrix": [10, 4], "x": 153, "y": 49, "flags": 4},
|
||||
{"matrix": [10, 3], "x": 140, "y": 49, "flags": 4},
|
||||
{"matrix": [10, 2], "x": 126, "y": 49, "flags": 4},
|
||||
{"matrix": [10, 1], "x": 113, "y": 49, "flags": 4},
|
||||
{"matrix": [10, 0], "x": 99, "y": 49, "flags": 4},
|
||||
{"matrix": [11, 2], "x": 123, "y": 64, "flags": 4},
|
||||
{"matrix": [11, 4], "x": 160, "y": 61, "flags": 1},
|
||||
{"matrix": [11, 5], "x": 177, "y": 61, "flags": 1},
|
||||
{"matrix": [11, 6], "x": 194, "y": 64, "flags": 4},
|
||||
{"matrix": [11, 7], "x": 208, "y": 64, "flags": 4},
|
||||
{"matrix": [11, 8], "x": 221, "y": 64, "flags": 4},
|
||||
{"x": 224, "y": 53, "flags": 2},
|
||||
{"x": 224, "y": 51, "flags": 2},
|
||||
{"x": 224, "y": 49, "flags": 2},
|
||||
{"x": 224, "y": 48, "flags": 2},
|
||||
{"x": 224, "y": 46, "flags": 2},
|
||||
{"x": 224, "y": 44, "flags": 2},
|
||||
{"x": 224, "y": 43, "flags": 2},
|
||||
{"x": 224, "y": 41, "flags": 2},
|
||||
{"x": 224, "y": 39, "flags": 2}
|
||||
],
|
||||
"sleep": true,
|
||||
"split_count": [41, 55]
|
||||
},
|
||||
"split": {
|
||||
"bootmagic": {
|
||||
"matrix": [6, 0]
|
||||
},
|
||||
"enabled": true,
|
||||
"handedness": {
|
||||
"pin": "GP20"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"cols": ["GP25", "GP24", "GP23", "GP22", "GP7", "GP6", "GP5", "GP4", "GP2"],
|
||||
"rows": ["GP29", "GP28", "GP27", "GP26", "GP11", "GP3"]
|
||||
}
|
||||
},
|
||||
"serial": {
|
||||
"driver": "vendor"
|
||||
},
|
||||
"transport": {
|
||||
"sync": {
|
||||
"indicators": true,
|
||||
"layer_state": true,
|
||||
"matrix_state": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0014",
|
||||
"vid": "0x4552"
|
||||
},
|
||||
"ws2812": {
|
||||
"driver": "vendor",
|
||||
"pin": "GP17"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 2], "x": 1.5, "y": 0},
|
||||
{"matrix": [0, 3], "x": 2.5, "y": 0},
|
||||
{"matrix": [0, 4], "x": 3.5, "y": 0},
|
||||
{"matrix": [0, 5], "x": 4.5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [6, 0], "x": 9.5, "y": 0},
|
||||
{"matrix": [6, 1], "x": 10.5, "y": 0},
|
||||
{"matrix": [6, 2], "x": 12, "y": 0},
|
||||
{"matrix": [6, 3], "x": 13, "y": 0},
|
||||
{"matrix": [6, 4], "x": 14, "y": 0},
|
||||
{"matrix": [6, 5], "x": 15, "y": 0},
|
||||
{"matrix": [6, 7], "x": 16.5, "y": 0},
|
||||
{"matrix": [6, 8], "x": 17.75, "y": 0},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.25},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.25},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1.25},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.25},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1.25},
|
||||
{"matrix": [1, 6], "x": 6, "y": 1.25},
|
||||
{"matrix": [1, 7], "x": 7, "y": 1.25},
|
||||
{"matrix": [7, 0], "x": 9.5, "y": 1.25},
|
||||
{"matrix": [7, 1], "x": 10.5, "y": 1.25},
|
||||
{"matrix": [7, 2], "x": 11.5, "y": 1.25},
|
||||
{"matrix": [7, 3], "x": 12.5, "y": 1.25},
|
||||
{"matrix": [7, 4], "x": 13.5, "y": 1.25},
|
||||
{"matrix": [7, 5], "x": 14.5, "y": 1.25},
|
||||
{"matrix": [7, 6], "x": 15.5, "y": 1.25},
|
||||
{"matrix": [7, 7], "x": 16.5, "y": 1.25},
|
||||
{"matrix": [7, 8], "x": 17.75, "y": 1.25},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5},
|
||||
{"matrix": [2, 1], "x": 1.5, "y": 2.25},
|
||||
{"matrix": [2, 2], "x": 2.5, "y": 2.25},
|
||||
{"matrix": [2, 3], "x": 3.5, "y": 2.25},
|
||||
{"matrix": [2, 4], "x": 4.5, "y": 2.25},
|
||||
{"matrix": [2, 5], "x": 5.5, "y": 2.25},
|
||||
{"matrix": [2, 6], "x": 6.5, "y": 2.25},
|
||||
{"matrix": [8, 0], "x": 9, "y": 2.25},
|
||||
{"matrix": [8, 1], "x": 10, "y": 2.25},
|
||||
{"matrix": [8, 2], "x": 11, "y": 2.25},
|
||||
{"matrix": [8, 3], "x": 12, "y": 2.25},
|
||||
{"matrix": [8, 4], "x": 13, "y": 2.25},
|
||||
{"matrix": [8, 5], "x": 14, "y": 2.25},
|
||||
{"matrix": [8, 6], "x": 15, "y": 2.25},
|
||||
{"matrix": [8, 7], "x": 16, "y": 2.25, "w": 1.5},
|
||||
{"matrix": [8, 8], "x": 17.75, "y": 2.25},
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75},
|
||||
{"matrix": [3, 1], "x": 1.75, "y": 3.25},
|
||||
{"matrix": [3, 2], "x": 2.75, "y": 3.25},
|
||||
{"matrix": [3, 3], "x": 3.75, "y": 3.25},
|
||||
{"matrix": [3, 4], "x": 4.75, "y": 3.25},
|
||||
{"matrix": [3, 5], "x": 5.75, "y": 3.25},
|
||||
{"matrix": [3, 6], "x": 6.75, "y": 3.25},
|
||||
{"matrix": [9, 0], "x": 9.25, "y": 3.25},
|
||||
{"matrix": [9, 1], "x": 10.25, "y": 3.25},
|
||||
{"matrix": [9, 2], "x": 11.25, "y": 3.25},
|
||||
{"matrix": [9, 3], "x": 12.25, "y": 3.25},
|
||||
{"matrix": [9, 4], "x": 13.25, "y": 3.25},
|
||||
{"matrix": [9, 5], "x": 14.25, "y": 3.25},
|
||||
{"matrix": [9, 7], "x": 15.25, "y": 3.25, "w": 2.25},
|
||||
{"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25},
|
||||
{"matrix": [4, 2], "x": 2.25, "y": 4.25},
|
||||
{"matrix": [4, 3], "x": 3.25, "y": 4.25},
|
||||
{"matrix": [4, 4], "x": 4.25, "y": 4.25},
|
||||
{"matrix": [4, 5], "x": 5.25, "y": 4.25},
|
||||
{"matrix": [4, 6], "x": 6.25, "y": 4.25},
|
||||
{"matrix": [10, 0], "x": 8.75, "y": 4.25},
|
||||
{"matrix": [10, 1], "x": 9.75, "y": 4.25},
|
||||
{"matrix": [10, 2], "x": 10.75, "y": 4.25},
|
||||
{"matrix": [10, 3], "x": 11.75, "y": 4.25},
|
||||
{"matrix": [10, 4], "x": 12.75, "y": 4.25},
|
||||
{"matrix": [10, 5], "x": 13.75, "y": 4.25},
|
||||
{"matrix": [10, 6], "x": 14.75, "y": 4.25, "w": 1.75},
|
||||
{"matrix": [10, 7], "x": 16.75, "y": 4.5},
|
||||
{"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.5},
|
||||
{"matrix": [5, 1], "x": 1.5, "y": 5.25},
|
||||
{"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.5},
|
||||
{"matrix": [5, 5], "x": 4.75, "y": 5.5, "w": 2.25},
|
||||
{"matrix": [5, 6], "x": 7, "y": 5.5},
|
||||
{"matrix": [11, 2], "x": 9.5, "y": 5.5, "w": 2.75},
|
||||
{"matrix": [11, 4], "x": 13, "y": 5.25, "w": 1.5},
|
||||
{"matrix": [11, 5], "x": 14.5, "y": 5.25},
|
||||
{"matrix": [11, 6], "x": 15.75, "y": 5.5},
|
||||
{"matrix": [11, 7], "x": 16.75, "y": 5.5},
|
||||
{"matrix": [11, 8], "x": 17.75, "y": 5.5}
|
||||
]
|
||||
},
|
||||
"LAYOUT_ansi": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 2], "x": 1.5, "y": 0},
|
||||
{"matrix": [0, 3], "x": 2.5, "y": 0},
|
||||
{"matrix": [0, 4], "x": 3.5, "y": 0},
|
||||
{"matrix": [0, 5], "x": 4.5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [6, 0], "x": 9.5, "y": 0},
|
||||
{"matrix": [6, 1], "x": 10.5, "y": 0},
|
||||
{"matrix": [6, 2], "x": 12, "y": 0},
|
||||
{"matrix": [6, 3], "x": 13, "y": 0},
|
||||
{"matrix": [6, 4], "x": 14, "y": 0},
|
||||
{"matrix": [6, 5], "x": 15, "y": 0},
|
||||
{"matrix": [6, 7], "x": 16.5, "y": 0},
|
||||
{"matrix": [6, 8], "x": 17.75, "y": 0},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.25},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.25},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1.25},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.25},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1.25},
|
||||
{"matrix": [1, 6], "x": 6, "y": 1.25},
|
||||
{"matrix": [1, 7], "x": 7, "y": 1.25},
|
||||
{"matrix": [7, 0], "x": 9.5, "y": 1.25},
|
||||
{"matrix": [7, 1], "x": 10.5, "y": 1.25},
|
||||
{"matrix": [7, 2], "x": 11.5, "y": 1.25},
|
||||
{"matrix": [7, 3], "x": 12.5, "y": 1.25},
|
||||
{"matrix": [7, 4], "x": 13.5, "y": 1.25},
|
||||
{"matrix": [7, 5], "x": 14.5, "y": 1.25},
|
||||
{"matrix": [7, 7], "x": 15.5, "y": 1.25},
|
||||
{"matrix": [7, 8], "x": 17.75, "y": 1.25, "w": 2},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5},
|
||||
{"matrix": [2, 1], "x": 1.5, "y": 2.25},
|
||||
{"matrix": [2, 2], "x": 2.5, "y": 2.25},
|
||||
{"matrix": [2, 3], "x": 3.5, "y": 2.25},
|
||||
{"matrix": [2, 4], "x": 4.5, "y": 2.25},
|
||||
{"matrix": [2, 5], "x": 5.5, "y": 2.25},
|
||||
{"matrix": [2, 6], "x": 6.5, "y": 2.25},
|
||||
{"matrix": [8, 0], "x": 9, "y": 2.25},
|
||||
{"matrix": [8, 1], "x": 10, "y": 2.25},
|
||||
{"matrix": [8, 2], "x": 11, "y": 2.25},
|
||||
{"matrix": [8, 3], "x": 12, "y": 2.25},
|
||||
{"matrix": [8, 4], "x": 13, "y": 2.25},
|
||||
{"matrix": [8, 5], "x": 14, "y": 2.25},
|
||||
{"matrix": [8, 6], "x": 15, "y": 2.25},
|
||||
{"matrix": [8, 7], "x": 16, "y": 2.25, "w": 1.5},
|
||||
{"matrix": [8, 8], "x": 17.75, "y": 2.25},
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75},
|
||||
{"matrix": [3, 1], "x": 1.75, "y": 3.25},
|
||||
{"matrix": [3, 2], "x": 2.75, "y": 3.25},
|
||||
{"matrix": [3, 3], "x": 3.75, "y": 3.25},
|
||||
{"matrix": [3, 4], "x": 4.75, "y": 3.25},
|
||||
{"matrix": [3, 5], "x": 5.75, "y": 3.25},
|
||||
{"matrix": [3, 6], "x": 6.75, "y": 3.25},
|
||||
{"matrix": [9, 0], "x": 9.25, "y": 3.25},
|
||||
{"matrix": [9, 1], "x": 10.25, "y": 3.25},
|
||||
{"matrix": [9, 2], "x": 11.25, "y": 3.25},
|
||||
{"matrix": [9, 3], "x": 12.25, "y": 3.25},
|
||||
{"matrix": [9, 4], "x": 13.25, "y": 3.25},
|
||||
{"matrix": [9, 5], "x": 14.25, "y": 3.25},
|
||||
{"matrix": [9, 7], "x": 15.25, "y": 3.25, "w": 2.25},
|
||||
{"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25},
|
||||
{"matrix": [4, 2], "x": 2.25, "y": 4.25},
|
||||
{"matrix": [4, 3], "x": 3.25, "y": 4.25},
|
||||
{"matrix": [4, 4], "x": 4.25, "y": 4.25},
|
||||
{"matrix": [4, 5], "x": 5.25, "y": 4.25},
|
||||
{"matrix": [4, 6], "x": 6.25, "y": 4.25},
|
||||
{"matrix": [10, 0], "x": 8.75, "y": 4.25},
|
||||
{"matrix": [10, 1], "x": 9.75, "y": 4.25},
|
||||
{"matrix": [10, 2], "x": 10.75, "y": 4.25},
|
||||
{"matrix": [10, 3], "x": 11.75, "y": 4.25},
|
||||
{"matrix": [10, 4], "x": 12.75, "y": 4.25},
|
||||
{"matrix": [10, 5], "x": 13.75, "y": 4.25},
|
||||
{"matrix": [10, 6], "x": 14.75, "y": 4.25, "w": 1.75},
|
||||
{"matrix": [10, 7], "x": 16.75, "y": 4.5},
|
||||
{"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.5},
|
||||
{"matrix": [5, 1], "x": 1.5, "y": 5.25},
|
||||
{"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.5},
|
||||
{"matrix": [5, 5], "x": 4.75, "y": 5.5, "w": 2.25},
|
||||
{"matrix": [5, 6], "x": 7, "y": 5.5},
|
||||
{"matrix": [11, 2], "x": 9.5, "y": 5.5, "w": 2.75},
|
||||
{"matrix": [11, 4], "x": 13, "y": 5.25, "w": 1.5},
|
||||
{"matrix": [11, 5], "x": 14.5, "y": 5.25},
|
||||
{"matrix": [11, 6], "x": 15.75, "y": 5.5},
|
||||
{"matrix": [11, 7], "x": 16.75, "y": 5.5},
|
||||
{"matrix": [11, 8], "x": 17.75, "y": 5.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
24
keyboards/era/sirind/tomak79h/keymaps/default/keymap.c
Normal file
24
keyboards/era/sirind/tomak79h/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,24 @@
|
|||
// Copyright 2024 Hyojin Bak (@eerraa)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT_all(
|
||||
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_F13, KC_PSCR,
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_INS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
[1] = LAYOUT_all(
|
||||
QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, RGB_TOG, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, RGB_MOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
27
keyboards/era/sirind/tomak79h/readme.md
Normal file
27
keyboards/era/sirind/tomak79h/readme.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Tomak79H, Hotswap ver
|
||||
|
||||
![Tomak79H](https://i.imgur.com/yJ5n7ll.jpeg)
|
||||
|
||||
Ergonomics Split Keyboard powered by RP2040.
|
||||
|
||||
* Keyboard Maintainer: [ERA](https://github.com/eerraa)
|
||||
* Hardware supported: SIRIND Tomak79
|
||||
* Hardware availability: [Syryan](https://srind.mysoho.com/)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make era/sirind/tomak79h:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make era/sirind/tomak79h: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 'top-left(ESC, F7)' key and plug in the keyboard.
|
||||
* **Physical reset**: Short the 'RESET' and 'GND' holes twice within one second, or plug in the keyboard with the 'BOOT' and 'GND' holes shorted.
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available.
|
16
keyboards/era/sirind/tomak79h/tomak79h.c
Normal file
16
keyboards/era/sirind/tomak79h/tomak79h.c
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2024 Hyojin Bak (@eerraa)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
bool rgb_matrix_indicators_kb(void) {
|
||||
if (!rgb_matrix_indicators_user()) {
|
||||
return false;
|
||||
}
|
||||
if (host_keyboard_led_state().caps_lock) {
|
||||
for (uint8_t i = 87; i <= 95; i++) {
|
||||
rgb_matrix_set_color(i, 0, 128, 128);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
Loading…
Reference in New Issue
Block a user