Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
		
						commit
						9ebd6eacd5
					
				
					 8 changed files with 386 additions and 0 deletions
				
			
		
							
								
								
									
										86
									
								
								keyboards/meow48/config.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										86
									
								
								keyboards/meow48/config.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,86 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2022 tsubuan145
 | 
			
		||||
 | 
			
		||||
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"
 | 
			
		||||
 | 
			
		||||
/* key matrix size */
 | 
			
		||||
#define MATRIX_ROWS 8
 | 
			
		||||
#define MATRIX_COLS 6
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * 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 { D4, C6, D7, E6, B4, B5, F4, F5 }
 | 
			
		||||
#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
 | 
			
		||||
 | 
			
		||||
/* COL2ROW, ROW2COL */
 | 
			
		||||
#define DIODE_DIRECTION COL2ROW
 | 
			
		||||
 | 
			
		||||
#define OLED_BRIGHTNESS 100
 | 
			
		||||
 | 
			
		||||
#define RGB_DI_PIN D3
 | 
			
		||||
#ifdef RGB_DI_PIN
 | 
			
		||||
    #define RGBLED_NUM 48
 | 
			
		||||
    #define RGBLIGHT_HUE_STEP 8
 | 
			
		||||
    #define RGBLIGHT_SAT_STEP 8
 | 
			
		||||
    #define RGBLIGHT_VAL_STEP 8
 | 
			
		||||
    #define RGBLIGHT_LIMIT_VAL 100 /* 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_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
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * 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
 | 
			
		||||
							
								
								
									
										68
									
								
								keyboards/meow48/info.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										68
									
								
								keyboards/meow48/info.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,68 @@
 | 
			
		|||
{
 | 
			
		||||
    "manufacturer": "tsubuan145",
 | 
			
		||||
    "keyboard_name": "meow48",
 | 
			
		||||
    "maintainer": "tsubuan145",
 | 
			
		||||
    "url": "https://github.com/tsubuan145",
 | 
			
		||||
    "usb": {
 | 
			
		||||
        "device_version": "1.0.0",
 | 
			
		||||
        "pid": "0xF048",
 | 
			
		||||
        "vid": "0xF048"
 | 
			
		||||
           },
 | 
			
		||||
    "layouts": {
 | 
			
		||||
        "LAYOUT": {
 | 
			
		||||
            "layout": [
 | 
			
		||||
                { "label":"ESC", "matrix": [0, 0], "x": 0, "y": 0 },
 | 
			
		||||
                { "label":"Q", "matrix": [1, 0], "x": 1, "y": 0 },
 | 
			
		||||
                { "label":"W", "matrix": [0, 1], "x": 2, "y": 0 },
 | 
			
		||||
                { "label":"E", "matrix": [1, 1], "x": 3, "y": 0 },
 | 
			
		||||
                { "label":"R", "matrix": [0, 2], "x": 4, "y": 0 },
 | 
			
		||||
                { "label":"T", "matrix": [1, 2], "x": 5, "y": 0 },
 | 
			
		||||
                { "label":"Y", "matrix": [2, 2], "x": 6, "y": 0 },
 | 
			
		||||
                { "label":"U", "matrix": [0, 3], "x": 7, "y": 0 },
 | 
			
		||||
                { "label":"I", "matrix": [1, 3], "x": 8, "y": 0 },
 | 
			
		||||
                { "label":"O", "matrix": [0, 4], "x": 9, "y": 0 },
 | 
			
		||||
                { "label":"P", "matrix": [1, 4], "x": 10, "y": 0 },
 | 
			
		||||
                { "label":"MINS", "matrix": [0, 5], "x": 11, "y": 0 },
 | 
			
		||||
                { "label":"BSPC", "matrix": [1, 5], "w": 1.25, "x": 12, "y": 0 },
 | 
			
		||||
 | 
			
		||||
                { "label":"TAB", "matrix": [2, 0], "w": 1.25, "x": 0, "y": 1 },
 | 
			
		||||
                { "label":"A", "matrix": [3, 0], "x": 1.25, "y": 1 },
 | 
			
		||||
                { "label":"S", "matrix": [2, 1], "x": 2.25, "y": 1 },
 | 
			
		||||
                { "label":"D", "matrix": [3, 1], "x": 3.25, "y": 1 },
 | 
			
		||||
                { "label":"F", "matrix": [3, 2], "x": 4.25, "y": 1 },
 | 
			
		||||
                { "label":"G", "matrix": [4, 2], "x": 5.25, "y": 1 },
 | 
			
		||||
                { "label":"H", "matrix": [2, 3], "x": 6.25, "y": 1 },
 | 
			
		||||
                { "label":"J", "matrix": [3, 3], "x": 7.25, "y": 1 },
 | 
			
		||||
                { "label":"K", "matrix": [2, 4], "x": 8.25, "y": 1 },
 | 
			
		||||
                { "label":"L", "matrix": [3, 4], "x": 9.25, "y": 1 },
 | 
			
		||||
                { "label":"SCLN", "matrix": [2, 5], "x": 10.25, "y": 1 },
 | 
			
		||||
                { "label":"ENT", "matrix": [3, 5], "w": 2, "x": 11.25, "y": 1 },
 | 
			
		||||
 | 
			
		||||
                { "label":"LSFT", "matrix": [4, 0], "w": 1.5, "x": 0, "y": 2 },
 | 
			
		||||
                { "label":"Z", "matrix": [5, 0], "x": 1.5, "y": 2 },
 | 
			
		||||
                { "label":"X", "matrix": [4, 1], "x": 2.5, "y": 2 },
 | 
			
		||||
                { "label":"C", "matrix": [5, 1], "x": 3.5, "y": 2 },
 | 
			
		||||
                { "label":"V", "matrix": [5, 2], "x": 4.5, "y": 2 },
 | 
			
		||||
                { "label":"B", "matrix": [6, 2], "x": 5.5, "y": 2 },
 | 
			
		||||
                { "label":"N", "matrix": [4, 3], "x": 6.5, "y": 2 },
 | 
			
		||||
                { "label":"M", "matrix": [5, 3], "x": 7.5, "y": 2 },
 | 
			
		||||
                { "label":"COMM", "matrix": [4, 4], "x": 8.5, "y": 2 },
 | 
			
		||||
                { "label":"DOT", "matrix": [5, 4], "x": 9.5, "y": 2 },
 | 
			
		||||
                { "label":"SLSH", "matrix": [4, 5], "x": 10.5, "y": 2 },
 | 
			
		||||
                { "label":"RSFT", "matrix": [5, 5], "w": 1.75, "x": 11.5, "y": 2 },
 | 
			
		||||
 | 
			
		||||
                { "label":"CAPS", "matrix": [6, 0], "w": 1.25, "x": 0, "y": 3 },
 | 
			
		||||
                { "label":"LCTL", "matrix": [7, 0], "x": 1.25, "y": 3 },
 | 
			
		||||
                { "label":"LGUI", "matrix": [6, 1], "x": 2.25, "y": 3 },
 | 
			
		||||
                { "label":"LALT", "matrix": [7, 1], "x": 3.25, "y": 3 },
 | 
			
		||||
                { "label":"SPC", "matrix": [7, 2], "w": 2, "x": 4.25, "y": 3 },
 | 
			
		||||
                { "label":"SPC", "matrix": [6, 3], "w": 2, "x": 6.25, "y": 3 },
 | 
			
		||||
                { "label":"DEL", "matrix": [7, 3], "x": 8.25, "y": 3 },
 | 
			
		||||
                { "label":"LEFT", "matrix": [6, 4], "x": 9.25, "y": 3 },
 | 
			
		||||
                { "label":"UP", "matrix": [7, 4], "x": 10.25, "y": 3 },
 | 
			
		||||
                { "label":"DOWN", "matrix": [6, 5], "x": 11.25, "y": 3 },
 | 
			
		||||
                { "label":"RGHT", "matrix": [7, 5], "x": 12.25, "y": 3 }
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										60
									
								
								keyboards/meow48/keymaps/default/keymap.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								keyboards/meow48/keymaps/default/keymap.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,60 @@
 | 
			
		|||
/* Copyright 2022 tsubuan145
 | 
			
		||||
 * 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] = {
 | 
			
		||||
    /*
 | 
			
		||||
     * ┌────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────────┐
 | 
			
		||||
     * │Esc │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ - │  BSPACE│
 | 
			
		||||
     * ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
 | 
			
		||||
     * │Tab   │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │     Enter│
 | 
			
		||||
     * ├──────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬─────────┤
 | 
			
		||||
     * │Shift  │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │    Shift│
 | 
			
		||||
     * ├─────┬─┴─┬─┴─┬─┴─┬─┴───┴─┬─┴───┴─┬─┴─┬─┴──┬┴───┼────┬────┤
 | 
			
		||||
     * │Caps │CTL│GUI│Alt│       │       │Del│LEFT│ UP │DOWN│RGHT│
 | 
			
		||||
     * └─────┴───┴───┴───┴───────┴───────┴───┴────┴────┴────┴────┘
 | 
			
		||||
     * 
 | 
			
		||||
     */
 | 
			
		||||
     
 | 
			
		||||
     [0] = LAYOUT(
 | 
			
		||||
        KC_ESCAPE,  LT(3,KC_Q),    KC_W,    KC_E,    KC_R,    KC_T,    KC_Y,    KC_U,    KC_I,    KC_O,    KC_P,    KC_MINS, KC_BSPC,
 | 
			
		||||
        KC_TAB,     KC_A,    KC_S,    KC_D,    KC_F,    KC_G,    KC_H,    KC_J,    KC_K,    KC_L,    KC_QUOT,          KC_ENT,
 | 
			
		||||
        KC_LSFT,    KC_Z,    LT(2,KC_X),    KC_C,    KC_V,    KC_B,    KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH,    KC_RSFT,
 | 
			
		||||
        KC_CAPS,    KC_LCTL, KC_LGUI, KC_LALT,    KC_SPACE,               LT(1, KC_SPACE),   KC_DEL,  KC_LEFT, KC_UP,  KC_DOWN, KC_RGHT
 | 
			
		||||
    ),
 | 
			
		||||
    
 | 
			
		||||
     [1] = LAYOUT(
 | 
			
		||||
        KC_NO,  LSFT(KC_1),    LSFT(KC_2),    LSFT(KC_3),    LSFT(KC_4),    LSFT(KC_5),    LSFT(KC_6),    LSFT(KC_7),    LSFT(KC_8),    LSFT(KC_9),  KC_LBRC, KC_CIRC, KC_BSPC,
 | 
			
		||||
        KC_NO,     KC_1,    KC_2,    KC_3,    KC_4,    KC_5,    KC_6,    KC_7,    KC_8,    KC_9,    KC_0,          KC_ENT,
 | 
			
		||||
        KC_LSFT,   KC_NO,   KC_NO,   KC_NO,   KC_NO,   KC_NO,   KC_NO,   KC_NO,   KC_PLUS, KC_INT3, KC_INT1,       KC_RSFT,
 | 
			
		||||
        KC_NO,     KC_NO,   KC_NO,   KC_NO,   KC_NO,                     KC_NO,  KC_DEL,  KC_LEFT, KC_UP, KC_DOWN, KC_RGHT
 | 
			
		||||
    ),
 | 
			
		||||
    
 | 
			
		||||
     [2] = LAYOUT(
 | 
			
		||||
        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_NO,
 | 
			
		||||
        KC_NO,    KC_NO,   KC_NO,   KC_NO,   KC_NO,    KC_NO,   KC_NO,   KC_NO,   KC_NO,    KC_NO,   KC_NO,         KC_NO,
 | 
			
		||||
        KC_NO,    KC_NO,   KC_NO,   KC_NO,   KC_NO,    KC_NO,   KC_NO,   KC_NO,   KC_NO,    KC_NO,   KC_NO,         KC_NO,
 | 
			
		||||
        KC_NO,    KC_NO,   KC_NO,   KC_NO,   KC_NO,             KC_NO,   RGB_TOG,   RGB_HUD,  RGB_HUI,  RGB_RMOD, RGB_MOD
 | 
			
		||||
    ),
 | 
			
		||||
    
 | 
			
		||||
     [3] = LAYOUT(
 | 
			
		||||
        KC_NO,  KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,   KC_NO,  KC_NO,
 | 
			
		||||
        KC_NO,  KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,           KC_NO,
 | 
			
		||||
        KC_NO,  KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,           KC_NO,
 | 
			
		||||
        KC_NO,  KC_NO,    KC_NO,    KC_NO,    KC_NO,              KC_NO,              KC_NO,    KC_NO,    KC_NO,   KC_NO,  KC_NO
 | 
			
		||||
    )
 | 
			
		||||
    
 | 
			
		||||
        };
 | 
			
		||||
							
								
								
									
										59
									
								
								keyboards/meow48/keymaps/via/keymap.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								keyboards/meow48/keymaps/via/keymap.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,59 @@
 | 
			
		|||
/* Copyright 2022 tsubuan145
 | 
			
		||||
 * 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] = {
 | 
			
		||||
    /*
 | 
			
		||||
     * ┌────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────────┐
 | 
			
		||||
     * │Esc │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ - │  BSPACE│
 | 
			
		||||
     * ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
 | 
			
		||||
     * │Tab   │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │     Enter│
 | 
			
		||||
     * ├──────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬─────────┤
 | 
			
		||||
     * │Shift  │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │    Shift│
 | 
			
		||||
     * ├─────┬─┴─┬─┴─┬─┴─┬─┴───┴─┬─┴───┴─┬─┴─┬─┴──┬┴───┼────┬────┤
 | 
			
		||||
     * │Caps │CTL│GUI│Alt│       │       │Del│LEFT│ UP │DOWN│RGHT│
 | 
			
		||||
     * └─────┴───┴───┴───┴───────┴───────┴───┴────┴────┴────┴────┘
 | 
			
		||||
     * 
 | 
			
		||||
     */
 | 
			
		||||
     
 | 
			
		||||
     [0] = LAYOUT(
 | 
			
		||||
        KC_ESCAPE,  LT(3,KC_Q),    KC_W,    KC_E,    KC_R,    KC_T,    KC_Y,    KC_U,    KC_I,    KC_O,    KC_P,    KC_MINS, KC_BSPC,
 | 
			
		||||
        KC_TAB,     KC_A,    KC_S,    KC_D,    KC_F,    KC_G,    KC_H,    KC_J,    KC_K,    KC_L,    KC_SCLN,          KC_ENT,
 | 
			
		||||
        KC_LSFT,    KC_Z,    LT(2,KC_X),    KC_C,    KC_V,    KC_B,    KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH,    KC_RSFT,
 | 
			
		||||
        KC_CAPS,    KC_LCTL, KC_LGUI, KC_LALT,    KC_SPACE,               LT(1, KC_SPACE),   KC_DEL,  KC_LEFT, KC_UP,  KC_DOWN, KC_RGHT
 | 
			
		||||
    ),
 | 
			
		||||
    
 | 
			
		||||
     [1] = LAYOUT(
 | 
			
		||||
        KC_NO,  LSFT(KC_1),    LSFT(KC_2),    LSFT(KC_3),    LSFT(KC_4),    LSFT(KC_5),    LSFT(KC_6),    LSFT(KC_7),    LSFT(KC_8),    LSFT(KC_9),  KC_LBRC, KC_CIRC, KC_BSPC,
 | 
			
		||||
        KC_NO,     KC_1,    KC_2,    KC_3,    KC_4,    KC_5,    KC_6,    KC_7,    KC_8,    KC_9,    KC_0,          KC_ENT,
 | 
			
		||||
        KC_LSFT,   KC_NO,   KC_NO,   KC_NO,   KC_NO,   KC_NO,   KC_NO,   KC_NO,   KC_PLUS, KC_INT3, KC_INT1,       KC_RSFT,
 | 
			
		||||
        KC_NO,     KC_NO,   KC_NO,   KC_NO,   KC_NO,                     KC_NO,  KC_DEL,  KC_LEFT, KC_UP, KC_DOWN, KC_RGHT
 | 
			
		||||
    ),
 | 
			
		||||
    
 | 
			
		||||
     [2] = LAYOUT(
 | 
			
		||||
        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_NO,
 | 
			
		||||
        KC_NO,    KC_NO,   KC_NO,   KC_NO,   KC_NO,    KC_NO,   KC_NO,   KC_NO,   KC_NO,    KC_NO,   KC_NO,         KC_NO,
 | 
			
		||||
        KC_NO,    KC_NO,   KC_NO,   KC_NO,   KC_NO,    KC_NO,   KC_NO,   KC_NO,   KC_NO,    KC_NO,   KC_NO,         KC_NO,
 | 
			
		||||
        KC_NO,    KC_NO,   KC_NO,   KC_NO,   KC_NO,             KC_NO,   RGB_TOG,   RGB_HUD,  RGB_HUI,  RGB_RMOD, RGB_MOD
 | 
			
		||||
    ),
 | 
			
		||||
    
 | 
			
		||||
     [3] = LAYOUT(
 | 
			
		||||
        KC_NO,  KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,   KC_NO,  KC_NO,
 | 
			
		||||
        KC_NO,  KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,           KC_NO,
 | 
			
		||||
        KC_NO,  KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,    KC_NO,           KC_NO,
 | 
			
		||||
        KC_NO,  KC_NO,    KC_NO,    KC_NO,    KC_NO,              KC_NO,              KC_NO,    KC_NO,    KC_NO,   KC_NO,  KC_NO
 | 
			
		||||
    )
 | 
			
		||||
        };
 | 
			
		||||
							
								
								
									
										2
									
								
								keyboards/meow48/keymaps/via/rules.mk
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								keyboards/meow48/keymaps/via/rules.mk
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
VIA_ENABLE = yes
 | 
			
		||||
LTO_ENABLE = yes
 | 
			
		||||
							
								
								
									
										66
									
								
								keyboards/meow48/meow48.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								keyboards/meow48/meow48.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,66 @@
 | 
			
		|||
/* Copyright 2022 tsubuan145
 | 
			
		||||
 *
 | 
			
		||||
 * 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 "quantum.h"
 | 
			
		||||
 | 
			
		||||
#ifdef OLED_ENABLE
 | 
			
		||||
 | 
			
		||||
oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
 | 
			
		||||
    return OLED_ROTATION_180;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool oled_task_kb(void) {
 | 
			
		||||
 | 
			
		||||
    if (!oled_task_user()) { return false; }
 | 
			
		||||
 | 
			
		||||
    oled_write_P(PSTR("Layer:"), false);
 | 
			
		||||
    oled_write_ln(get_u8_str(get_highest_layer(layer_state), ' '), false);
 | 
			
		||||
 | 
			
		||||
    static const char PROGMEM my_logo[] = {
 | 
			
		||||
 | 
			
		||||
     
 | 
			
		||||
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
 | 
			
		||||
    0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 
 | 
			
		||||
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x00, 0x00, 
 | 
			
		||||
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 
 | 
			
		||||
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x00, 
 | 
			
		||||
    0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 
 | 
			
		||||
    0xe0, 0xf0, 0xf8, 0xfc, 0xfc, 0xfc, 0xf8, 0xf0, 0x00, 0x00, 0x00, 0x80, 0xc0, 0xf8, 0xfe, 0xff, 
 | 
			
		||||
    0xff, 0xfe, 0x7c, 0x7c, 0xfe, 0xff, 0xff, 0xfe, 0xf8, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
 | 
			
		||||
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
 | 
			
		||||
    0x00, 0xfc, 0xfe, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x3f, 0xff, 0xfe, 0xfe, 0xff, 0x3f, 0x3f, 0xff, 
 | 
			
		||||
    0xff, 0xfe, 0xfc, 0xf8, 0x00, 0xe0, 0xf0, 0xfc, 0xfe, 0xff, 0xff, 0xcf, 0xcf, 0xcf, 0xcf, 0xff, 
 | 
			
		||||
    0xfe, 0xfc, 0xf8, 0x00, 0xf0, 0xf8, 0xfc, 0xfe, 0xfe, 0xff, 0x7f, 0x3f, 0x7f, 0xff, 0xfe, 0xfe, 
 | 
			
		||||
    0xfc, 0xf8, 0xf0, 0x00, 0x3c, 0xfe, 0xff, 0xff, 0xfe, 0xfc, 0xf8, 0xfc, 0xff, 0xff, 0xff, 0xff, 
 | 
			
		||||
    0xfe, 0xfc, 0xf8, 0xfe, 0xff, 0xff, 0xff, 0xff, 0x00, 0x80, 0xe0, 0xf8, 0xfc, 0xfe, 0xff, 0xff, 
 | 
			
		||||
    0xff, 0x9f, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x80, 0xcf, 0xff, 0xff, 0xff, 0xff, 
 | 
			
		||||
    0xff, 0xfc, 0x78, 0x78, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xcf, 0x00, 0x00, 0x00, 0x00, 0x00, 
 | 
			
		||||
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
 | 
			
		||||
    0x00, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff, 
 | 
			
		||||
    0xff, 0xff, 0xff, 0x7f, 0x00, 0x0f, 0x1f, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0xf9, 0xf9, 0xf9, 0xf9, 
 | 
			
		||||
    0xf9, 0x71, 0x00, 0x00, 0x1f, 0x3f, 0x7f, 0xff, 0xff, 0xfe, 0xfc, 0xf8, 0xfc, 0xfe, 0xff, 0xff, 
 | 
			
		||||
    0x7f, 0x3f, 0x1f, 0x00, 0x00, 0x0f, 0x3f, 0x7f, 0xff, 0xff, 0xff, 0x7f, 0x3f, 0x0f, 0x0f, 0x3f, 
 | 
			
		||||
    0x7f, 0xff, 0xff, 0xff, 0x7f, 0x3f, 0x0f, 0x01, 0x06, 0x07, 0x0f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 
 | 
			
		||||
    0x1f, 0x3f, 0x7f, 0xff, 0xff, 0xff, 0x7f, 0x3f, 0x1f, 0x0f, 0x07, 0x1f, 0x3f, 0x7f, 0x7f, 0xff, 
 | 
			
		||||
    0xff, 0xfc, 0xf8, 0xf8, 0xfc, 0xff, 0xff, 0x7f, 0x7f, 0x7f, 0x7f, 0x78, 0x38, 0x3e, 0x1f, 0x00
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    oled_write_raw_P(my_logo, sizeof(my_logo));
 | 
			
		||||
 | 
			
		||||
    return false;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
							
								
								
									
										25
									
								
								keyboards/meow48/readme.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								keyboards/meow48/readme.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
# Meow48
 | 
			
		||||
 | 
			
		||||
*"Meow48" is a keyboard with a narrow pitch of 40%(48keys) exclusively for Kailh Choc.
 | 
			
		||||
 | 
			
		||||
* Keyboard Maintainer: [tsubuan145](https://github.com/tsubuan145)
 | 
			
		||||
* Hardware Supported: It is created with KiCAD 6.0.9.
 | 
			
		||||
* Hardware Availability: (https://tsubuan-145.booth.pm/items/4231893)
 | 
			
		||||
 | 
			
		||||
Make example for this keyboard (after setting up your build environment):
 | 
			
		||||
 | 
			
		||||
    make meow48:default
 | 
			
		||||
    
 | 
			
		||||
Flashing example for this keyboard:
 | 
			
		||||
 | 
			
		||||
    make meow48: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
 | 
			
		||||
							
								
								
									
										20
									
								
								keyboards/meow48/rules.mk
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								keyboards/meow48/rules.mk
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
# MCU name
 | 
			
		||||
MCU = atmega32u4
 | 
			
		||||
 | 
			
		||||
# Bootloader selection
 | 
			
		||||
BOOTLOADER = caterina
 | 
			
		||||
 | 
			
		||||
# Build Options
 | 
			
		||||
#   change yes to no to disable
 | 
			
		||||
#
 | 
			
		||||
BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
 | 
			
		||||
MOUSEKEY_ENABLE = no        # Mouse keys
 | 
			
		||||
EXTRAKEY_ENABLE = no        # Audio control and System control
 | 
			
		||||
CONSOLE_ENABLE = no         # Console for debug
 | 
			
		||||
COMMAND_ENABLE = no         # Commands for debug and configuration
 | 
			
		||||
NKRO_ENABLE = no            # Enable N-Key Rollover
 | 
			
		||||
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 | 
			
		||||
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
 | 
			
		||||
AUDIO_ENABLE = no           # Audio output
 | 
			
		||||
OLED_ENABLE = yes
 | 
			
		||||
OLED_DRIVER = SSD1306
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue