Skip to content

Commit

Permalink
[Keyboard] Add Kay65 PCB by Team Mechlovin' (qmk#15565)
Browse files Browse the repository at this point in the history
* add kay65 PCB

* update

* update

* Update readme.md

* Update keyboards/mechlovin/kay65/rev1/rules.mk

* Update keyboards/mechlovin/olly/jf/rules.mk

* Update keyboards/mechlovin/kay65/rev1/rules.mk

* Update keyboards/mechlovin/kay65/rev1/info.json

* Update keymap.c

* update

* Update keyboards/mechlovin/kay65/rev1/rev1.h

* Update keyboards/mechlovin/kay65/rev1/info.json

* Update keyboards/mechlovin/kay65/rev1/info.json

* Update keyboards/mechlovin/kay65/rev1/rules.mk

* Update keymap.c

* Update readme.md

* Update keyboards/mechlovin/olly/jf/readme.md

* Update keyboards/mechlovin/kay65/rev1/config.h
  • Loading branch information
mechlovin authored and zykrah committed Jul 2, 2022
1 parent 0722d0d commit 97fb87d
Show file tree
Hide file tree
Showing 15 changed files with 642 additions and 11 deletions.
147 changes: 147 additions & 0 deletions keyboards/mechlovin/kay65/rev1/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
/*
Copyright 2021 Mechlovin'
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

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0x4D4C
#define PRODUCT_ID 0x6502
#define DEVICE_VER 0x0001
#define MANUFACTURER Team Mechlovin
#define PRODUCTION Kay65 Rev. 1

#define MATRIX_ROWS 5
#define MATRIX_COLS 15

/*
* Keyboard Matrix Assignments
*
* Change this to how you wired your keyboard
* COLS: AVR pins used for columns, left to right
* ROWS: AVR pins used for rows, top to bottom
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
#define MATRIX_ROW_PINS { B7, D3, D5, D4, C6 }
#define MATRIX_COL_PINS { F7, F6, F5, F4, F1, F0, C7, E6, B0, D2, D1, D0, B3, B2, B1 }

/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW

/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/
//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6

//#define LED_NUM_LOCK_PIN B0
#define LED_CAPS_LOCK_PIN D6
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4

//#define BACKLIGHT_PIN B7
//#define BACKLIGHT_LEVELS 3
//#define BACKLIGHT_BREATHING

#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
# define RGBLED_NUM 24
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8
# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== all animations enable ==*/
//# define RGBLIGHT_ANIMATIONS
/*== or choose animations ==*/
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
# define RGBLIGHT_EFFECT_SNAKE
# define RGBLIGHT_EFFECT_KNIGHT
# define RGBLIGHT_EFFECT_CHRISTMAS
# define RGBLIGHT_EFFECT_STATIC_GRADIENT
# define RGBLIGHT_EFFECT_RGB_TEST
# define RGBLIGHT_EFFECT_ALTERNATING
# define RGBLIGHT_EFFECT_TWINKLE
/*== customize breathing effect ==*/
/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
/*==== use exp() and sin() ====*/
//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
#endif

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
//#define DEBOUNCE 5

/* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
//#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
//#define LOCKING_RESYNC_ENABLE

/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
* This is useful for the Windows task manager shortcut (ctrl+shift+esc).
*/
//#define GRAVE_ESC_CTRL_OVERRIDE

/*
* Force NKRO
*
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
* makefile for this to work.)
*
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
* until the next keyboard reset.
*
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
* fully operational during normal computer usage.
*
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
* power-up.
*
*/
//#define FORCE_NKRO

/*
* 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

/* Bootmagic Lite key configuration */
//#define BOOTMAGIC_LITE_ROW 0
//#define BOOTMAGIC_LITE_COLUMN 0
223 changes: 223 additions & 0 deletions keyboards/mechlovin/kay65/rev1/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
{
"keyboard_name": "Kay65",
"url": "",
"maintainer": "Mechlovin' Studio",
"layouts": {
"LAYOUT_all": {
"layout": [
{"label":"K00 (B0,B5)", "x":0, "y":0},
{"label":"K01 (B0,B6)", "x":1, "y":0},
{"label":"K02 (B0,B7)", "x":2, "y":0},
{"label":"K03 (B0,C0)", "x":3, "y":0},
{"label":"K04 (B0,C1)", "x":4, "y":0},
{"label":"K05 (B0,C2)", "x":5, "y":0},
{"label":"K06 (B0,C3)", "x":6, "y":0},
{"label":"K07 (B0,C4)", "x":7, "y":0},
{"label":"K08 (B0,C5)", "x":8, "y":0},
{"label":"K09 (B0,C6)", "x":9, "y":0},
{"label":"K0A (B0,C7)", "x":10, "y":0},
{"label":"K0B (B0,D0)", "x":11, "y":0},
{"label":"K0C (B0,D1)", "x":12, "y":0},
{"label":"K0D (B0,D2)", "x":13, "y":0},
{"label":"K1D (B1,D2)", "x":14, "y":0},
{"label":"K0E (B0,D3)", "x":15, "y":0},
{"label":"K10 (B1,B5)", "x":0, "y":1, "w":1.5},
{"label":"K11 (B1,B6)", "x":1.5, "y":1},
{"label":"K12 (B1,B7)", "x":2.5, "y":1},
{"label":"K13 (B1,C0)", "x":3.5, "y":1},
{"label":"K14 (B1,C1)", "x":4.5, "y":1},
{"label":"K15 (B1,C2)", "x":5.5, "y":1},
{"label":"K16 (B1,C3)", "x":6.5, "y":1},
{"label":"K17 (B1,C4)", "x":7.5, "y":1},
{"label":"K18 (B1,C5)", "x":8.5, "y":1},
{"label":"K19 (B1,C6)", "x":9.5, "y":1},
{"label":"K1A (B1,C7)", "x":10.5, "y":1},
{"label":"K1B (B1,D0)", "x":11.5, "y":1},
{"label":"K1C (B1,D1)", "x":12.5, "y":1},
{"label":"K2C (B2,D1)", "x":13.5, "y":1, "w":1.5},
{"label":"K1E (B1,D3)", "x":15, "y":1},
{"label":"K20 (B2,B5)", "x":0, "y":2, "w":1.75},
{"label":"K21 (B2,B6)", "x":1.75, "y":2},
{"label":"K22 (B2,B7)", "x":2.75, "y":2},
{"label":"K23 (B2,C0)", "x":3.75, "y":2},
{"label":"K24 (B2,C1)", "x":4.75, "y":2},
{"label":"K25 (B2,C2)", "x":5.75, "y":2},
{"label":"K26 (B2,C3)", "x":6.75, "y":2},
{"label":"K27 (B2,C4)", "x":7.75, "y":2},
{"label":"K28 (B2,C5)", "x":8.75, "y":2},
{"label":"K29 (B2,C6)", "x":9.75, "y":2},
{"label":"K2A (B2,C7)", "x":10.75, "y":2},
{"label":"K2B (B2,D0)", "x":11.75, "y":2},
{"label":"K2D (B2,D2)", "x":12.75, "y":2, "w":2.25},
{"label":"K2E (B2,D3)", "x":15, "y":2},
{"label":"K30 (B3,B5)", "x":0, "y":3, "w":1.25},
{"label":"K31 (B3,B6)", "x":1.25, "y":3},
{"label":"K32 (B3,B7)", "x":2.25, "y":3},
{"label":"K33 (B3,C0)", "x":3.25, "y":3},
{"label":"K34 (B3,C1)", "x":4.25, "y":3},
{"label":"K35 (B3,C2)", "x":5.25, "y":3},
{"label":"K36 (B3,C3)", "x":6.25, "y":3},
{"label":"K37 (B3,C4)", "x":7.25, "y":3},
{"label":"K38 (B3,C5)", "x":8.25, "y":3},
{"label":"K39 (B3,C6)", "x":9.25, "y":3},
{"label":"K3A (B3,C7)", "x":10.25, "y":3},
{"label":"K3B (B3,D0)", "x":11.25, "y":3},
{"label":"K3C (B3,D1)", "x":12.25, "y":3, "w":1.75},
{"label":"K3D (B3,D2)", "x":14, "y":3},
{"label":"K3E (B3,D3)", "x":15, "y":3},
{"label":"K40 (B4,B5)", "x":0, "y":4, "w":1.25},
{"label":"K41 (B4,B6)", "x":1.25, "y":4, "w":1.25},
{"label":"K42 (B4,B7)", "x":2.5, "y":4, "w":1.25},
{"label":"K46 (B4,C3)", "x":3.75, "y":4, "w":6.25},
{"label":"K4A (B4,C7)", "x":10, "y":4, "w":1.25},
{"label":"K4B (B4,D0)", "x":11.25, "y":4, "w":1.25},
{"label":"K4C (B4,D1)", "x":13, "y":4},
{"label":"K4D (B4,D2)", "x":14, "y":4},
{"label":"K4E (B4,D3)", "x":15, "y":4}
]
},
"LAYOUT_65_ansi_blocker": {
"layout": [
{"label":"K00 (B0,B5)", "x":0, "y":0},
{"label":"K01 (B0,B6)", "x":1, "y":0},
{"label":"K02 (B0,B7)", "x":2, "y":0},
{"label":"K03 (B0,C0)", "x":3, "y":0},
{"label":"K04 (B0,C1)", "x":4, "y":0},
{"label":"K05 (B0,C2)", "x":5, "y":0},
{"label":"K06 (B0,C3)", "x":6, "y":0},
{"label":"K07 (B0,C4)", "x":7, "y":0},
{"label":"K08 (B0,C5)", "x":8, "y":0},
{"label":"K09 (B0,C6)", "x":9, "y":0},
{"label":"K0A (B0,C7)", "x":10, "y":0},
{"label":"K0B (B0,D0)", "x":11, "y":0},
{"label":"K0C (B0,D1)", "x":12, "y":0},
{"label":"K0D (B0,D2)", "x":13, "y":0, "w":2},
{"label":"K0E (B0,D3)", "x":15, "y":0},
{"label":"K10 (B1,B5)", "x":0, "y":1, "w":1.5},
{"label":"K11 (B1,B6)", "x":1.5, "y":1},
{"label":"K12 (B1,B7)", "x":2.5, "y":1},
{"label":"K13 (B1,C0)", "x":3.5, "y":1},
{"label":"K14 (B1,C1)", "x":4.5, "y":1},
{"label":"K15 (B1,C2)", "x":5.5, "y":1},
{"label":"K16 (B1,C3)", "x":6.5, "y":1},
{"label":"K17 (B1,C4)", "x":7.5, "y":1},
{"label":"K18 (B1,C5)", "x":8.5, "y":1},
{"label":"K19 (B1,C6)", "x":9.5, "y":1},
{"label":"K1A (B1,C7)", "x":10.5, "y":1},
{"label":"K1B (B1,D0)", "x":11.5, "y":1},
{"label":"K1C (B1,D1)", "x":12.5, "y":1},
{"label":"K2C (B2,D1)", "x":13.5, "y":1, "w":1.5},
{"label":"K1E (B1,D3)", "x":15, "y":1},
{"label":"K20 (B2,B5)", "x":0, "y":2, "w":1.75},
{"label":"K21 (B2,B6)", "x":1.75, "y":2},
{"label":"K22 (B2,B7)", "x":2.75, "y":2},
{"label":"K23 (B2,C0)", "x":3.75, "y":2},
{"label":"K24 (B2,C1)", "x":4.75, "y":2},
{"label":"K25 (B2,C2)", "x":5.75, "y":2},
{"label":"K26 (B2,C3)", "x":6.75, "y":2},
{"label":"K27 (B2,C4)", "x":7.75, "y":2},
{"label":"K28 (B2,C5)", "x":8.75, "y":2},
{"label":"K29 (B2,C6)", "x":9.75, "y":2},
{"label":"K2A (B2,C7)", "x":10.75, "y":2},
{"label":"K2B (B2,D0)", "x":11.75, "y":2},
{"label":"K2D (B2,D2)", "x":12.75, "y":2, "w":2.25},
{"label":"K2E (B2,D3)", "x":15, "y":2},
{"label":"K30 (B3,B5)", "x":0, "y":3, "w":2.25},
{"label":"K32 (B3,B7)", "x":2.25, "y":3},
{"label":"K33 (B3,C0)", "x":3.25, "y":3},
{"label":"K34 (B3,C1)", "x":4.25, "y":3},
{"label":"K35 (B3,C2)", "x":5.25, "y":3},
{"label":"K36 (B3,C3)", "x":6.25, "y":3},
{"label":"K37 (B3,C4)", "x":7.25, "y":3},
{"label":"K38 (B3,C5)", "x":8.25, "y":3},
{"label":"K39 (B3,C6)", "x":9.25, "y":3},
{"label":"K3A (B3,C7)", "x":10.25, "y":3},
{"label":"K3B (B3,D0)", "x":11.25, "y":3},
{"label":"K3C (B3,D1)", "x":12.25, "y":3, "w":1.75},
{"label":"K3D (B3,D2)", "x":14, "y":3},
{"label":"K3E (B3,D3)", "x":15, "y":3},
{"label":"K40 (B4,B5)", "x":0, "y":4, "w":1.25},
{"label":"K41 (B4,B6)", "x":1.25, "y":4, "w":1.25},
{"label":"K42 (B4,B7)", "x":2.5, "y":4, "w":1.25},
{"label":"K46 (B4,C3)", "x":3.75, "y":4, "w":6.25},
{"label":"K4A (B4,C7)", "x":10, "y":4, "w":1.25},
{"label":"K4B (B4,D0)", "x":11.25, "y":4, "w":1.25},
{"label":"K4C (B4,D1)", "x":13, "y":4},
{"label":"K4D (B4,D2)", "x":14, "y":4},
{"label":"K4E (B4,D3)", "x":15, "y":4}
]
},
"LAYOUT_65_iso_blocker": {
"layout": [
{"label":"K00 (B0,B5)", "x":0, "y":0},
{"label":"K01 (B0,B6)", "x":1, "y":0},
{"label":"K02 (B0,B7)", "x":2, "y":0},
{"label":"K03 (B0,C0)", "x":3, "y":0},
{"label":"K04 (B0,C1)", "x":4, "y":0},
{"label":"K05 (B0,C2)", "x":5, "y":0},
{"label":"K06 (B0,C3)", "x":6, "y":0},
{"label":"K07 (B0,C4)", "x":7, "y":0},
{"label":"K08 (B0,C5)", "x":8, "y":0},
{"label":"K09 (B0,C6)", "x":9, "y":0},
{"label":"K0A (B0,C7)", "x":10, "y":0},
{"label":"K0B (B0,D0)", "x":11, "y":0},
{"label":"K0C (B0,D1)", "x":12, "y":0},
{"label":"K0D (B0,D2)", "x":13, "y":0, "w":2},
{"label":"K0E (B0,D3)", "x":15, "y":0},
{"label":"K10 (B1,B5)", "x":0, "y":1, "w":1.5},
{"label":"K11 (B1,B6)", "x":1.5, "y":1},
{"label":"K12 (B1,B7)", "x":2.5, "y":1},
{"label":"K13 (B1,C0)", "x":3.5, "y":1},
{"label":"K14 (B1,C1)", "x":4.5, "y":1},
{"label":"K15 (B1,C2)", "x":5.5, "y":1},
{"label":"K16 (B1,C3)", "x":6.5, "y":1},
{"label":"K17 (B1,C4)", "x":7.5, "y":1},
{"label":"K18 (B1,C5)", "x":8.5, "y":1},
{"label":"K19 (B1,C6)", "x":9.5, "y":1},
{"label":"K1A (B1,C7)", "x":10.5, "y":1},
{"label":"K1B (B1,D0)", "x":11.5, "y":1},
{"label":"K1C (B1,D1)", "x":12.5, "y":1},
{"label":"K1E (B1,D3)", "x":15, "y":1},
{"label":"K20 (B2,B5)", "x":0, "y":2, "w":1.75},
{"label":"K21 (B2,B6)", "x":1.75, "y":2},
{"label":"K22 (B2,B7)", "x":2.75, "y":2},
{"label":"K23 (B2,C0)", "x":3.75, "y":2},
{"label":"K24 (B2,C1)", "x":4.75, "y":2},
{"label":"K25 (B2,C2)", "x":5.75, "y":2},
{"label":"K26 (B2,C3)", "x":6.75, "y":2},
{"label":"K27 (B2,C4)", "x":7.75, "y":2},
{"label":"K28 (B2,C5)", "x":8.75, "y":2},
{"label":"K29 (B2,C6)", "x":9.75, "y":2},
{"label":"K2A (B2,C7)", "x":10.75, "y":2},
{"label":"K2B (B2,D0)", "x":11.75, "y":2},
{"label":"K2C (B2,D1)", "x":12.75, "y":2},
{"label":"K2D (B2,D2)", "x":13.75, "y":1, "w":1.25, "h":2},
{"label":"K2E (B2,D3)", "x":15, "y":2},
{"label":"K30 (B3,B5)", "x":0, "y":3, "w":1.25},
{"label":"K31 (B3,B6)", "x":1.25, "y":3},
{"label":"K32 (B3,B7)", "x":2.25, "y":3},
{"label":"K33 (B3,C0)", "x":3.25, "y":3},
{"label":"K34 (B3,C1)", "x":4.25, "y":3},
{"label":"K35 (B3,C2)", "x":5.25, "y":3},
{"label":"K36 (B3,C3)", "x":6.25, "y":3},
{"label":"K37 (B3,C4)", "x":7.25, "y":3},
{"label":"K38 (B3,C5)", "x":8.25, "y":3},
{"label":"K39 (B3,C6)", "x":9.25, "y":3},
{"label":"K3A (B3,C7)", "x":10.25, "y":3},
{"label":"K3B (B3,D0)", "x":11.25, "y":3},
{"label":"K3C (B3,D1)", "x":12.25, "y":3, "w":1.75},
{"label":"K3D (B3,D2)", "x":14, "y":3},
{"label":"K3E (B3,D3)", "x":15, "y":3},
{"label":"K40 (B4,B5)", "x":0, "y":4, "w":1.25},
{"label":"K41 (B4,B6)", "x":1.25, "y":4, "w":1.25},
{"label":"K42 (B4,B7)", "x":2.5, "y":4, "w":1.25},
{"label":"K46 (B4,C3)", "x":3.75, "y":4, "w":6.25},
{"label":"K4A (B4,C7)", "x":10, "y":4, "w":1.25},
{"label":"K4B (B4,D0)", "x":11.25, "y":4, "w":1.25},
{"label":"K4C (B4,D1)", "x":13, "y":4},
{"label":"K4D (B4,D2)", "x":14, "y":4},
{"label":"K4E (B4,D3)", "x":15, "y":4}
]
}
}
}
Loading

0 comments on commit 97fb87d

Please sign in to comment.