~ruther/qmk_firmware

58fd782ce05a5f13c05227c02f9b78f10cd4ecb5 — mechlovin 5 years ago 8e56d10
[Keyboard] Mechlovin hannah60rgb (#8951)

* add new keyboard hannah60rgb

* delete line

* Delete config.h

* Update hannah60rgb.c

* Update hannah60rgb.c

* update

* Update hannah60rgb.c

* update

Co-authored-by: vuhopkep <boy9x0@gmail.com>
A keyboards/mechlovin/hannah60rgb/config.h => keyboards/mechlovin/hannah60rgb/config.h +58 -0
@@ 0,0 1,58 @@
/*
Copyright 2020 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 // ML-Mechlovin
#define PRODUCT_ID   0x6001
#define DEVICE_VER   0x0001
#define MANUFACTURER Team.Mechlovin
#define PRODUCT      Hannah60 RGB
#define DESCRIPTION  Team.Mechlovin Hannah60 RGB

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14

/*
 * 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 { A4, A5, A3, A2, A1 }
#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14 }

#define DIODE_DIRECTION COL2ROW

#define RGB_DI_PIN A15
#define DRIVER_LED_TOTAL 72
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
#define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
#define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set
\ No newline at end of file

A keyboards/mechlovin/hannah60rgb/hannah60rgb.c => keyboards/mechlovin/hannah60rgb/hannah60rgb.c +54 -0
@@ 0,0 1,54 @@
/* Copyright 2020 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/>.
 */

#include "hannah60rgb.h"

void matrix_init_kb(void) {
	// put your keyboard start-up code here
	// runs once when the firmware starts up
	matrix_init_user();
	led_init_ports();
};

#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {
  //Key Matrix to LED Index
  {0,         1,         2,           3,          4,          5,          6,          7,          8,          9,          10,          11,          12,          13},
  {29,        28,        27,          26,         25,         24,         23,         22,         21,         20,         19,          18,          17,          15},
  {30,        31,        32,          33,         34,         35,         36,         37,         38,         39,         40,          41,          16,          43},
  {59,        57,        56,          55,         54,         53,         52,         51,         50,         49,         48,          47,          46,          44},
  {60,        61,        62,          NO_LED,     63,     NO_LED,         64,     NO_LED,         67,     NO_LED,         68,          69,          70,          71}
}, {
  //LED Index to Physical Positon
  {  0,  0},  { 16,  0},  { 32, 0 },  { 48, 0 },  { 64, 0},   { 80, 0},   { 96, 0},   { 112, 0},  { 128, 0},  { 144, 0},  { 160, 0},  { 176, 0},    {192,  0},   {208,  0},   {216, 0},
  {220, 0},   {211, 16},  {200,16 },  {176,16 },  {160,16},   {144,16},   {128,16},   { 112,16},  { 96,16},   { 80,16},   { 64,16},   { 48,16},     {32, 16},    {16, 16},    {0,16}, 
  {  0, 32},  { 16, 32},  { 32,32 },  { 48,32 },  { 64,32},   { 80,32},   { 96,32},   { 112,32},  { 128,32},  { 144,32},  { 160,32},  { 176,32},    {192, 32},   {208, 32},   {224,48}, 
  {208, 48},  {192, 48},  {160,48 },  {144,48 },  {128,48},   {112,48},   {96,48},    { 80,48},   { 64,48},   { 48,48},   { 32,48},   { 16,48},     {8, 48},     {0, 48},     {0,48}, 
  {  0, 64},  { 16, 64},  { 32,64 },  { 48,64 },  { 64,64},   { 80,64},   { 96,64},   { 112,64},  { 144,64},  { 160,64},  { 192,64},  { 224,64},                         
}, {
  1,          1,          1,          1,          1,          1,          1,          1,          1,          1,          1,          1,            1,           1,           1,
  1,          1,          1,          1,          1,          1,          1,          1,          1,          1,          1,          1,            1,           1,           1,  
  1,          1,          1,          1,          1,          1,          1,          1,          1,          1,          1,          1,            1,           1,           1,  
  1,          1,          1,          1,          1,          1,          1,          1,          1,          1,          1,          1,            1,           1,           1,  
  1,          1,          1,          1,          1,          1,          1,          1,          1,          1,          1,          1, 
} };

void rgb_matrix_indicators_user(void) {
        if (host_keyboard_led_state().caps_lock) {
            rgb_matrix_set_color(30, 255, 255, 255);
        }
}
#endif
\ No newline at end of file

A keyboards/mechlovin/hannah60rgb/hannah60rgb.h => keyboards/mechlovin/hannah60rgb/hannah60rgb.h +63 -0
@@ 0,0 1,63 @@
/*
Copyright 2020 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 "quantum.h"

#define LAYOUT_all( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K1D, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2C,      \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,      K2D,      \
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D,      \
K40, K41, K42,      K44,      K46,      K48,      K4A, K4B, K4C, K4D       \
) { \
    { K00,   K01,   K02,   K03,   K04,   K05,   K06,   K07,   K08,   K09,   K0A,   K0B,   K0C,   K0D   }, \
    { K10,   K11,   K12,   K13,   K14,   K15,   K16,   K17,   K18,   K19,   K1A,   K1B,   K1C,   K1D   }, \
    { K20,   K21,   K22,   K23,   K24,   K25,   K26,   K27,   K28,   K29,   K2A,   K2B,   K2C,   K2D   }, \
    { K30,   K31,   K32,   K33,   K34,   K35,   K36,   K37,   K38,   K39,   K3A,   K3B,   K3C,   K3D   }, \
    { K40,   K41,   K42,   KC_NO, K44,   KC_NO, K46,   KC_NO, K48,   KC_NO, K4A,   K4B,   K4C,   K4D   }, \
}
#define LAYOUT_60_ansi( \
                 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
                 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2C, \
                 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,      K2D, \
                 K30,      K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C,      \
                 K40, K41, K42,                K46,                K4A, K4B, K4C, K4D  \
) { \
    { K00,   K01,   K02,   K03,   K04,   K05,   K06,   K07,   K08,   K09,   K0A,   K0B,   K0C,   K0D   }, \
    { K10,   K11,   K12,   K13,   K14,   K15,   K16,   K17,   K18,   K19,   K1A,   K1B,   K1C, KC_NO   }, \
    { K20,   K21,   K22,   K23,   K24,   K25,   K26,   K27,   K28,   K29,   K2A,   K2B,   K2C,   K2D   }, \
    { K30, KC_NO,   K32,   K33,   K34,   K35,   K36,   K37,   K38,   K39,   K3A,   K3B,   K3C, KC_NO   }, \
    { K40,   K41,   K42, KC_NO, KC_NO,   KC_NO, K46,   KC_NO, KC_NO, KC_NO, K4A,   K4B,   K4C,   K4D   }, \
}
#define LAYOUT_60_iso( \
                 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
                 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C,      \
                 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \
                 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C,      \
                 K40, K41, K42,                K46,                K4A, K4B, K4C, K4D  \
) { \
    { K00,   K01,   K02,   K03,   K04,   K05,   K06,   K07,   K08,   K09,   K0A,   K0B,   K0C,   K0D   }, \
    { K10,   K11,   K12,   K13,   K14,   K15,   K16,   K17,   K18,   K19,   K1A,   K1B,   K1C, KC_NO   }, \
    { K20,   K21,   K22,   K23,   K24,   K25,   K26,   K27,   K28,   K29,   K2A,   K2B,   K2C,   K2D   }, \
    { K30,   K31,   K32,   K33,   K34,   K35,   K36,   K37,   K38,   K39,   K3A,   K3B,   K3C, KC_NO   }, \
    { K40,   K41,   K42, KC_NO, KC_NO,   KC_NO, K46,   KC_NO, KC_NO, KC_NO, K4A,   K4B,   K4C,   K4D   }, \
}


// generated by KBFirmware JSON to QMK Parser
// https://noroadsleft.github.io/kbf_qmk_converter/

A keyboards/mechlovin/hannah60rgb/info.json => keyboards/mechlovin/hannah60rgb/info.json +81 -0
@@ 0,0 1,81 @@
{
    "keyboard_name": "hannah60rgb",
    "url": "",
    "maintainer": "qmk",
    "width": 15,
    "height": 5,
    "layouts": {
        "LAYOUT_all": {
            "key_count": 66,
            "layout": [
                {"label":"K00 (B0,B5)", "x":2.75, "y":0},
                {"label":"K01 (B0,B6)", "x":3.75, "y":0},
                {"label":"K02 (B0,B7)", "x":4.75, "y":0},
                {"label":"K03 (B0,C0)", "x":5.75, "y":0},
                {"label":"K04 (B0,C1)", "x":6.75, "y":0},
                {"label":"K05 (B0,C2)", "x":7.75, "y":0},
                {"label":"K06 (B0,C3)", "x":8.75, "y":0},
                {"label":"K07 (B0,C4)", "x":9.75, "y":0},
                {"label":"K08 (B0,C5)", "x":10.75, "y":0},
                {"label":"K09 (B0,C6)", "x":11.75, "y":0},
                {"label":"K0A (B0,C7)", "x":12.75, "y":0},
                {"label":"K0B (B0,D0)", "x":13.75, "y":0},
                {"label":"K0C (B0,D1)", "x":14.75, "y":0},
                {"label":"K0D (B0,F5)", "x":15.75, "y":0},
                {"label":"K1D (B1,F5)", "x":16.75, "y":0},
                {"label":"K10 (B1,B5)", "x":2.75, "y":1, "w":1.5},
                {"label":"K11 (B1,B6)", "x":4.25, "y":1},
                {"label":"K12 (B1,B7)", "x":5.25, "y":1},
                {"label":"K13 (B1,C0)", "x":6.25, "y":1},
                {"label":"K14 (B1,C1)", "x":7.25, "y":1},
                {"label":"K15 (B1,C2)", "x":8.25, "y":1},
                {"label":"K16 (B1,C3)", "x":9.25, "y":1},
                {"label":"K17 (B1,C4)", "x":10.25, "y":1},
                {"label":"K18 (B1,C5)", "x":11.25, "y":1},
                {"label":"K19 (B1,C6)", "x":12.25, "y":1},
                {"label":"K1A (B1,C7)", "x":13.25, "y":1},
                {"label":"K1B (B1,D0)", "x":14.25, "y":1},
                {"label":"K1C (B1,D1)", "x":15.25, "y":1},
                {"label":"K2C (B2,D1)", "x":16.25, "y":1, "w":1.5},
                {"label":"K20 (B2,B5)", "x":2.75, "y":2, "w":1.75},
                {"label":"K21 (B2,B6)", "x":4.5, "y":2},
                {"label":"K22 (B2,B7)", "x":5.5, "y":2},
                {"label":"K23 (B2,C0)", "x":6.5, "y":2},
                {"label":"K24 (B2,C1)", "x":7.5, "y":2},
                {"label":"K25 (B2,C2)", "x":8.5, "y":2},
                {"label":"K26 (B2,C3)", "x":9.5, "y":2},
                {"label":"K27 (B2,C4)", "x":10.5, "y":2},
                {"label":"K28 (B2,C5)", "x":11.5, "y":2},
                {"label":"K29 (B2,C6)", "x":12.5, "y":2},
                {"label":"K2A (B2,C7)", "x":13.5, "y":2},
                {"label":"K2B (B2,D0)", "x":14.5, "y":2},
                {"label":"K2D (B2,F5)", "x":15.5, "y":2, "w":2.25},
                {"label":"K30 (B3,B5)", "x":2.75, "y":3, "w":1.25},
                {"label":"K31 (B3,B6)", "x":4, "y":3},
                {"label":"K32 (B3,B7)", "x":5, "y":3},
                {"label":"K33 (B3,C0)", "x":6, "y":3},
                {"label":"K34 (B3,C1)", "x":7, "y":3},
                {"label":"K35 (B3,C2)", "x":8, "y":3},
                {"label":"K36 (B3,C3)", "x":9, "y":3},
                {"label":"K37 (B3,C4)", "x":10, "y":3},
                {"label":"K38 (B3,C5)", "x":11, "y":3},
                {"label":"K39 (B3,C6)", "x":12, "y":3},
                {"label":"K3A (B3,C7)", "x":13, "y":3},
                {"label":"K3B (B3,D0)", "x":14, "y":3},
                {"label":"K3C (B3,D1)", "x":15, "y":3, "w":1.75},
                {"label":"K3D (B3,F5)", "x":16.75, "y":3},
                {"label":"K40 (B4,B5)", "x":2.75, "y":4, "w":1.25},
                {"label":"K41 (B4,B6)", "x":4, "y":4, "w":1.25},
                {"label":"K42 (B4,B7)", "x":5.25, "y":4, "w":1.25},
                {"label":"K44 (B4,C1)", "x":6.5, "y":4, "w":2.75},
                {"label":"K46 (B4,C3)", "x":9.25, "y":4, "w":1.25},
                {"label":"K48 (B4,C5)", "x":10.5, "y":4, "w":2.25},
                {"label":"K4A (B4,C7)", "x":12.75, "y":4, "w":1.25},
                {"label":"K4B (B4,D0)", "x":14, "y":4, "w":1.25},
                {"label":"K4C (B4,D1)", "x":15.25, "y":4, "w":1.25},
                {"label":"K4D (B4,F5)", "x":16.5, "y":4, "w":1.25}
            ]
        }
    }
    ,"meta": "https://noroadsleft.github.io/kbf_qmk_converter/"
}

A keyboards/mechlovin/hannah60rgb/keymaps/default/keymap.c => keyboards/mechlovin/hannah60rgb/keymaps/default/keymap.c +26 -0
@@ 0,0 1,26 @@
/* Copyright 2020 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/>.
 */
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
    [0] = LAYOUT_all(
        KC_ESC,  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_BSPC, 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_BSLS,      
        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_NUBS, KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,    KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, KC_LSFT, MO(1),    
        KC_LCTL, KC_LGUI, KC_LALT,          KC_SPC,           KC_SPC,           KC_SPC,           KC_RALT, KC_RGUI, KC_APP,  KC_RCTL     ),

};

A keyboards/mechlovin/hannah60rgb/keymaps/default/readme.md => keyboards/mechlovin/hannah60rgb/keymaps/default/readme.md +1 -0
@@ 0,0 1,1 @@
# The default keymap for hannah60rgb

A keyboards/mechlovin/hannah60rgb/keymaps/via/keymap.c => keyboards/mechlovin/hannah60rgb/keymaps/via/keymap.c +44 -0
@@ 0,0 1,44 @@
/* Copyright 2020 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/>.
 */
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
    [0] = LAYOUT_all(
        KC_ESC,  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_BSPC, 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_BSLS,      
        LT(2,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_NUBS, KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,    KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, KC_LSFT, MO(1),    
        KC_LCTL, KC_LGUI, KC_LALT,          KC_SPC,           KC_SPC,           KC_SPC,           KC_RALT, KC_RGUI, KC_APP,  KC_RCTL     ),
    [1] = LAYOUT_all(
        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, 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     ),
    [2] = LAYOUT_all(
        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, 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     ),
    [3] = LAYOUT_all(
        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, 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     ),

};

A keyboards/mechlovin/hannah60rgb/keymaps/via/readme.md => keyboards/mechlovin/hannah60rgb/keymaps/via/readme.md +1 -0
@@ 0,0 1,1 @@
# The VIA keymap for hannah60rgb

A keyboards/mechlovin/hannah60rgb/keymaps/via/rules.mk => keyboards/mechlovin/hannah60rgb/keymaps/via/rules.mk +1 -0
@@ 0,0 1,1 @@
VIA_ENABLE = yes
\ No newline at end of file

A keyboards/mechlovin/hannah60rgb/readme.md => keyboards/mechlovin/hannah60rgb/readme.md +15 -0
@@ 0,0 1,15 @@
# hannah60rgb

![hannah60rgb](https://i.imgur.com/ImXgsyXl.png)

A 60% PCB with per-key RGB, compatible with Poker and Unikorn cases.

* Keyboard Maintainer: [Mechlovin'](https://github.com/mechlovin)
* Hardware Supported: hannah60rgb PCB, STM32F303


Make example for this keyboard (after setting up your build environment):

    make mechlovin/hannah60rgb:default

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).

A keyboards/mechlovin/hannah60rgb/rules.mk => keyboards/mechlovin/hannah60rgb/rules.mk +27 -0
@@ 0,0 1,27 @@
# MCU name
MCU = STM32F303

# Build Options
#   change yes to no to disable
#
BOOTMAGIC_ENABLE = lite      # Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes        # Mouse keys
EXTRAKEY_ENABLE = yes        # Audio control and System control
CONSOLE_ENABLE = yes         # Console for debug
COMMAND_ENABLE = yes         # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no        # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = yes            # USB Nkey Rollover
BACKLIGHT_ENABLE = no        # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no         # Enable keyboard RGB underglow
MIDI_ENABLE = no             # MIDI support
UNICODE_ENABLE = no          # Unicode
BLUETOOTH_ENABLE = no        # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no            # Audio output on port C6
FAUXCLICKY_ENABLE = no       # Use buzzer to emulate clicky switches
HD44780_ENABLE = no          # Enable support for HD44780 based LCDs
RGB_MATRIX_ENABLE = WS2812

# generated by KBFirmware JSON to QMK Parser
# https://noroadsleft.github.io/kbf_qmk_converter/