Skip to content

Commit

Permalink
[Keyboard] Add Kuro65 keyboard (qmk#20122)
Browse files Browse the repository at this point in the history
Co-authored-by: jack <[email protected]>
Co-authored-by: Less/Rikki <[email protected]>
  • Loading branch information
3 people authored and nicsuzor committed Mar 28, 2023
1 parent ad15831 commit 868beb2
Show file tree
Hide file tree
Showing 9 changed files with 602 additions and 0 deletions.
82 changes: 82 additions & 0 deletions keyboards/kuro/kuro65/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
/* Copyright 2023 Tobias Minn (0x544D)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once


/* RGB Matrix defines*/
#ifdef RGB_MATRIX_ENABLE
// The pin connected to the data pin of the LEDs
# define RGB_DI_PIN E6
// The number of LEDs connected
# define RGB_MATRIX_LED_COUNT 69

# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
# define USB_SUSPEND_WAKEUP_DELAY 5000
# define RGB_MATRIX_KEYPRESSES
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
// RGB Matrix Animation modes. Explicitly enabled
// For full list of effects, see:
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
# define ENABLE_RGB_MATRIX_ALPHAS_MODS
# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
# define ENABLE_RGB_MATRIX_BREATHING
# define ENABLE_RGB_MATRIX_BAND_SAT
# define ENABLE_RGB_MATRIX_BAND_VAL
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
# define ENABLE_RGB_MATRIX_CYCLE_ALL
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
# define ENABLE_RGB_MATRIX_DUAL_BEACON
# define ENABLE_RGB_MATRIX_RAINBOW_BEACON
# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
# define ENABLE_RGB_MATRIX_RAINDROPS
# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
# define ENABLE_RGB_MATRIX_HUE_BREATHING
# define ENABLE_RGB_MATRIX_HUE_PENDULUM
# define ENABLE_RGB_MATRIX_HUE_WAVE
# define ENABLE_RGB_MATRIX_PIXEL_RAIN
# define ENABLE_RGB_MATRIX_PIXEL_FLOW
# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
# define ENABLE_RGB_MATRIX_SPLASH
# define ENABLE_RGB_MATRIX_MULTISPLASH
# define ENABLE_RGB_MATRIX_SOLID_SPLASH
# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH

# define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL
#endif
188 changes: 188 additions & 0 deletions keyboards/kuro/kuro65/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
{
"keyboard_name": "Kuro65",
"manufacturer": "Kuro",
"maintainer" : "0x544D",
"url": "",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"diode_direction": "COL2ROW",
"matrix_pins": {
"rows": ["F6", "F5", "F4", "F1", "F0"],
"cols": ["B0", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"]
},
"usb": {
"vid": "0x544D",
"pid": "0xC000",
"device_version": "1.0.0"
},
"build": {
"lto": true
},
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"console": false,
"command": false,
"nkro": true,
"backlight": false,
"rgblight": false,
"audio": false,
"key_lock": false,
"rgb_matrix": true
},
"community_layouts": [ "65_iso" ],
"layouts": {
"LAYOUT_65_iso": {
"layout": [
{ "matrix": [0, 0], "label":"Esc", "x": 0, "y": 0},
{ "matrix": [0, 1], "label":"1", "x": 1, "y": 0},
{ "matrix": [0, 2], "label":"2", "x": 2, "y": 0},
{ "matrix": [0, 3], "label":"3", "x": 3, "y": 0},
{ "matrix": [0, 4], "label":"4", "x": 4, "y": 0},
{ "matrix": [0, 5], "label":"5", "x": 5, "y": 0},
{ "matrix": [0, 6], "label":"6", "x": 6, "y": 0},
{ "matrix": [0, 7], "label":"7", "x": 7, "y": 0},
{ "matrix": [0, 8], "label":"8", "x": 8, "y": 0},
{ "matrix": [0, 9], "label":"9", "x": 9, "y": 0},
{ "matrix": [0, 10], "label":"0", "x": 10, "y": 0},
{ "matrix": [0, 11], "label":"?", "x": 11, "y": 0},
{ "matrix": [0, 12], "label":"`", "x": 12, "y": 0},
{ "matrix": [0, 14], "label":"Backspace", "x": 13, "y": 0, "w":2},
{ "matrix": [0, 15], "label":"Del", "x": 15, "y": 0},

{ "matrix": [1, 0], "label":"Tab", "x": 0, "y": 1, "w":1.5},
{ "matrix": [1, 1], "label":"Q", "x": 1.5, "y": 1},
{ "matrix": [1, 2], "label":"W", "x": 2.5, "y": 1},
{ "matrix": [1, 3], "label":"E", "x": 3.5, "y": 1},
{ "matrix": [1, 4], "label":"R", "x": 4.5, "y": 1},
{ "matrix": [1, 5], "label":"T", "x": 5.5, "y": 1},
{ "matrix": [1, 6], "label":"Z", "x": 6.5, "y": 1},
{ "matrix": [1, 7], "label":"U", "x": 7.5, "y": 1},
{ "matrix": [1, 8], "label":"I", "x": 8.5, "y": 1},
{ "matrix": [1, 9], "label":"O", "x": 9.5, "y": 1},
{ "matrix": [1, 10], "label":"P", "x": 10.5, "y": 1},
{ "matrix": [1, 11], "label":"Ü", "x": 11.5, "y": 1},
{ "matrix": [1, 12], "label":"*", "x": 12.5, "y": 1},
{ "matrix": [1, 15], "label":"Page Up", "x": 15, "y": 1},

{ "matrix": [2, 0], "label":"Caps Lock", "x": 0, "y": 2, "w":1.75},
{ "matrix": [2, 1], "label":"A", "x": 1.75, "y": 2},
{ "matrix": [2, 2], "label":"S", "x": 2.75, "y": 2},
{ "matrix": [2, 3], "label":"D", "x": 3.75, "y": 2},
{ "matrix": [2, 4], "label":"F", "x": 4.75, "y": 2},
{ "matrix": [2, 5], "label":"G", "x": 5.75, "y": 2},
{ "matrix": [2, 6], "label":"H", "x": 6.75, "y": 2},
{ "matrix": [2, 7], "label":"J", "x": 7.75, "y": 2},
{ "matrix": [2, 8], "label":"K", "x": 8.75, "y": 2},
{ "matrix": [2, 9], "label":"L", "x": 9.75, "y": 2},
{ "matrix": [2, 10], "label":"Ö", "x": 10.75, "y": 2},
{ "matrix": [2, 11], "label":"Ä", "x": 11.75, "y": 2},
{ "matrix": [2, 12], "label":"'", "x": 12.75, "y": 2},
{ "matrix": [2, 14], "label":"Enter", "x": 13.75, "y": 1, "w":1.25, "h":2},
{ "matrix": [2, 15], "label":"Page Down", "x": 15, "y": 2},

{ "matrix": [3, 0], "label":"LShift", "x": 0, "y": 3, "w":1.25},
{ "matrix": [3, 1], "label":"<", "x": 1.25, "y": 3},
{ "matrix": [3, 2], "label":"Y", "x": 2.25, "y": 3},
{ "matrix": [3, 3], "label":"X", "x": 3.25, "y": 3},
{ "matrix": [3, 4], "label":"C", "x": 4.25, "y": 3},
{ "matrix": [3, 5], "label":"V", "x": 5.25, "y": 3},
{ "matrix": [3, 6], "label":"B", "x": 6.25, "y": 3},
{ "matrix": [3, 7], "label":"N", "x": 7.25, "y": 3},
{ "matrix": [3, 8], "label":"M", "x": 8.25, "y": 3},
{ "matrix": [3, 9], "label":",", "x": 9.25, "y": 3},
{ "matrix": [3, 10], "label":".", "x": 10.25, "y": 3},
{ "matrix": [3, 11], "label":"-", "x": 11.25, "y": 3},
{ "matrix": [3, 12], "label":"RShift", "x": 12.25, "y": 3, "w":1.75},
{ "matrix": [3, 14], "label":"\u2191", "x": 14, "y": 3},
{ "matrix": [3, 15], "label":"Fn2", "x": 15, "y": 3},

{ "matrix": [4, 0], "label":"LCtrl", "x": 0, "y": 4, "w":1.25},
{ "matrix": [4, 1], "label":"Win", "x": 1.25, "y": 4, "w":1.25},
{ "matrix": [4, 2], "label":"LAlt", "x": 2.5, "y": 4, "w":1.25},
{ "matrix": [4, 6], "label":"Space", "x": 3.75, "y": 4, "w":6.25},
{ "matrix": [4, 10], "label":"RAlt", "x": 10, "y": 4},
{ "matrix": [4, 11], "label":"Fn1", "x": 11, "y": 4},
{ "matrix": [4, 12], "label":"RCtrl", "x": 12, "y": 4},
{ "matrix": [4, 13], "label":"\u2190", "x": 13, "y": 4},
{ "matrix": [4, 14], "label":"\u2193", "x": 14, "y": 4},
{ "matrix": [4, 15], "label":"\u2192", "x": 15, "y": 4}
]
}
},
"rgb_matrix": {
"driver": "WS2812",
"layout": [
{ "flags": 4, "matrix": [4, 6], "x": 96, "y": 64},
{ "flags": 1, "matrix": [4, 10], "x":150, "y": 64},
{ "flags": 1, "matrix": [4, 11], "x":165, "y": 64},
{ "flags": 1, "matrix": [4, 12], "x":180, "y": 64},
{ "flags": 4, "matrix": [4, 13], "x":195, "y": 64},
{ "flags": 4, "matrix": [4, 14], "x":210, "y": 64},
{ "flags": 4, "matrix": [4, 15], "x":224, "y": 64},
{ "flags": 4, "matrix": [3, 15], "x":224, "y": 48},
{ "flags": 4, "matrix": [3, 14], "x":210, "y": 48},
{ "flags": 1, "matrix": [3, 12], "x":189, "y": 48},
{ "flags": 4, "matrix": [3, 11], "x":169, "y": 48},
{ "flags": 4, "matrix": [3, 10], "x":154, "y": 48},
{ "flags": 4, "matrix": [3, 9], "x":139, "y": 48},
{ "flags": 4, "matrix": [3, 8], "x":124, "y": 48},
{ "flags": 4, "matrix": [3, 7], "x":109, "y": 48},
{ "flags": 4, "matrix": [3, 6], "x": 94, "y": 48},
{ "flags": 4, "matrix": [3, 5], "x": 79, "y": 48},
{ "flags": 4, "matrix": [3, 4], "x": 64, "y": 48},
{ "flags": 4, "matrix": [3, 3], "x": 49, "y": 48},
{ "flags": 4, "matrix": [3, 2], "x": 34, "y": 48},
{ "flags": 4, "matrix": [3, 1], "x": 19, "y": 48},
{ "flags": 1, "matrix": [4, 2], "x": 39, "y": 64},
{ "flags": 1, "matrix": [4, 1], "x": 21, "y": 64},
{ "flags": 1, "matrix": [4, 0], "x": 2, "y": 64},
{ "flags": 1, "matrix": [3, 0], "x": 2, "y": 48},
{ "flags": 1, "matrix": [2, 0], "x": 6, "y": 32},
{ "flags": 4, "matrix": [2, 1], "x": 26, "y": 32},
{ "flags": 4, "matrix": [2, 2], "x": 41, "y": 32},
{ "flags": 4, "matrix": [2, 3], "x": 56, "y": 32},
{ "flags": 4, "matrix": [2, 4], "x": 71, "y": 32},
{ "flags": 4, "matrix": [2, 5], "x": 86, "y": 32},
{ "flags": 4, "matrix": [2, 6], "x":101, "y": 32},
{ "flags": 4, "matrix": [2, 7], "x":116, "y": 32},
{ "flags": 4, "matrix": [2, 8], "x":131, "y": 32},
{ "flags": 4, "matrix": [2, 9], "x":146, "y": 32},
{ "flags": 4, "matrix": [2, 10], "x":161, "y": 32},
{ "flags": 4, "matrix": [2, 11], "x":176, "y": 32},
{ "flags": 4, "matrix": [2, 12], "x":191, "y": 32},
{ "flags": 4, "matrix": [2, 14], "x":208, "y": 24},
{ "flags": 4, "matrix": [2, 15], "x":224, "y": 32},
{ "flags": 4, "matrix": [1, 15], "x":224, "y": 16},
{ "flags": 4, "matrix": [1, 12], "x":188, "y": 16},
{ "flags": 4, "matrix": [1, 11], "x":173, "y": 16},
{ "flags": 4, "matrix": [1, 10], "x":158, "y": 16},
{ "flags": 4, "matrix": [1, 9], "x":143, "y": 16},
{ "flags": 4, "matrix": [1, 8], "x":128, "y": 16},
{ "flags": 4, "matrix": [1, 7], "x":113, "y": 16},
{ "flags": 4, "matrix": [1, 6], "x": 98, "y": 16},
{ "flags": 4, "matrix": [1, 5], "x": 83, "y": 16},
{ "flags": 4, "matrix": [1, 4], "x": 68, "y": 16},
{ "flags": 4, "matrix": [1, 3], "x": 53, "y": 16},
{ "flags": 4, "matrix": [1, 2], "x": 38, "y": 16},
{ "flags": 4, "matrix": [1, 1], "x": 23, "y": 16},
{ "flags": 1, "matrix": [1, 0], "x": 4, "y": 16},
{ "flags": 1, "matrix": [0, 0], "x": 0, "y": 0},
{ "flags": 4, "matrix": [0, 1], "x": 15, "y": 0},
{ "flags": 4, "matrix": [0, 2], "x": 30, "y": 0},
{ "flags": 4, "matrix": [0, 3], "x": 45, "y": 0},
{ "flags": 4, "matrix": [0, 4], "x": 60, "y": 0},
{ "flags": 4, "matrix": [0, 5], "x": 75, "y": 0},
{ "flags": 4, "matrix": [0, 6], "x": 90, "y": 0},
{ "flags": 4, "matrix": [0, 7], "x":105, "y": 0},
{ "flags": 4, "matrix": [0, 8], "x":120, "y": 0},
{ "flags": 4, "matrix": [0, 9], "x":135, "y": 0},
{ "flags": 4, "matrix": [0, 10], "x":150, "y": 0},
{ "flags": 4, "matrix": [0, 11], "x":165, "y": 0},
{ "flags": 4, "matrix": [0, 12], "x":180, "y": 0},
{ "flags": 4, "matrix": [0, 14], "x":203, "y": 0},
{ "flags": 4, "matrix": [0, 15], "x":224, "y": 0}
]
}
}
Loading

0 comments on commit 868beb2

Please sign in to comment.