Merge remote-tracking branch 'upstream/master' into develop
This commit is contained in:
		
						commit
						9602938e9e
					
				
					 20 changed files with 690 additions and 1339 deletions
				
			
		| 
						 | 
				
			
			@ -11,76 +11,72 @@
 | 
			
		|||
    "layouts": {
 | 
			
		||||
        "LAYOUT_all": {
 | 
			
		||||
            "layout": [
 | 
			
		||||
                {"x": 0, "y": 0},
 | 
			
		||||
                {"matrix": [0, 0], "x": 0, "y": 0},
 | 
			
		||||
                {"matrix": [0, 1], "x": 1, "y": 0},
 | 
			
		||||
                {"matrix": [0, 2], "x": 2, "y": 0},
 | 
			
		||||
                {"matrix": [0, 3], "x": 3, "y": 0},
 | 
			
		||||
                {"matrix": [0, 4], "x": 4, "y": 0},
 | 
			
		||||
                {"matrix": [0, 5], "x": 5, "y": 0},
 | 
			
		||||
                {"matrix": [0, 6], "x": 6, "y": 0},
 | 
			
		||||
                {"matrix": [0, 7], "x": 7, "y": 0},
 | 
			
		||||
                {"matrix": [0, 8], "x": 8, "y": 0},
 | 
			
		||||
                {"matrix": [0, 9], "x": 9, "y": 0},
 | 
			
		||||
                {"matrix": [0, 10], "x": 10, "y": 0},
 | 
			
		||||
                {"matrix": [0, 11], "x": 11, "y": 0},
 | 
			
		||||
                {"matrix": [0, 12], "x": 12, "y": 0},
 | 
			
		||||
 | 
			
		||||
                {"x": 12, "y": 0},
 | 
			
		||||
                {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
 | 
			
		||||
                {"matrix": [1, 1], "x": 1.5, "y": 1},
 | 
			
		||||
                {"matrix": [1, 2], "x": 2.5, "y": 1},
 | 
			
		||||
                {"matrix": [1, 3], "x": 3.5, "y": 1},
 | 
			
		||||
                {"matrix": [1, 4], "x": 4.5, "y": 1},
 | 
			
		||||
                {"matrix": [1, 5], "x": 5.5, "y": 1},
 | 
			
		||||
                {"matrix": [1, 6], "x": 6.5, "y": 1},
 | 
			
		||||
                {"matrix": [1, 7], "x": 7.5, "y": 1},
 | 
			
		||||
                {"matrix": [1, 8], "x": 8.5, "y": 1},
 | 
			
		||||
                {"matrix": [1, 9], "x": 9.5, "y": 1},
 | 
			
		||||
                {"matrix": [1, 10], "x": 10.5, "y": 1},
 | 
			
		||||
                {"matrix": [1, 11], "x": 11.5, "y": 1, "w": 1.5},
 | 
			
		||||
 | 
			
		||||
                {"x": 0, "y": 1.25},
 | 
			
		||||
                {"x": 1, "y": 1.25},
 | 
			
		||||
                {"x": 2, "y": 1.25},
 | 
			
		||||
                {"x": 3, "y": 1.25},
 | 
			
		||||
                {"x": 4, "y": 1.25},
 | 
			
		||||
                {"x": 5, "y": 1.25},
 | 
			
		||||
                {"x": 6, "y": 1.25},
 | 
			
		||||
                {"x": 7, "y": 1.25},
 | 
			
		||||
                {"x": 8, "y": 1.25},
 | 
			
		||||
                {"x": 9, "y": 1.25},
 | 
			
		||||
                {"x": 10, "y": 1.25},
 | 
			
		||||
                {"x": 11, "y": 1.25},
 | 
			
		||||
                {"x": 12, "y": 1.25},
 | 
			
		||||
                {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5},
 | 
			
		||||
                {"matrix": [2, 1], "x": 1.5, "y": 2},
 | 
			
		||||
                {"matrix": [2, 2], "x": 2.5, "y": 2},
 | 
			
		||||
                {"matrix": [2, 3], "x": 3.5, "y": 2},
 | 
			
		||||
                {"matrix": [2, 4], "x": 4.5, "y": 2},
 | 
			
		||||
                {"matrix": [2, 5], "x": 5.5, "y": 2},
 | 
			
		||||
                {"matrix": [2, 6], "x": 6.5, "y": 2},
 | 
			
		||||
                {"matrix": [2, 7], "x": 7.5, "y": 2},
 | 
			
		||||
                {"matrix": [2, 8], "x": 8.5, "y": 2},
 | 
			
		||||
                {"matrix": [2, 9], "x": 9.5, "y": 2},
 | 
			
		||||
                {"matrix": [2, 10], "x": 10.5, "y": 2},
 | 
			
		||||
                {"matrix": [2, 11], "x": 11.5, "y": 2, "w": 1.5},
 | 
			
		||||
 | 
			
		||||
                {"x": 0, "y": 2.25, "w": 1.5},
 | 
			
		||||
                {"x": 1.5, "y": 2.25},
 | 
			
		||||
                {"x": 2.5, "y": 2.25},
 | 
			
		||||
                {"x": 3.5, "y": 2.25},
 | 
			
		||||
                {"x": 4.5, "y": 2.25},
 | 
			
		||||
                {"x": 5.5, "y": 2.25},
 | 
			
		||||
                {"x": 6.5, "y": 2.25},
 | 
			
		||||
                {"x": 7.5, "y": 2.25},
 | 
			
		||||
                {"x": 8.5, "y": 2.25},
 | 
			
		||||
                {"x": 9.5, "y": 2.25},
 | 
			
		||||
                {"x": 10.5, "y": 2.25},
 | 
			
		||||
                {"x": 11.5, "y": 2.25, "w": 1.5},
 | 
			
		||||
                {"matrix": [3, 0], "x": 0, "y": 3},
 | 
			
		||||
                {"matrix": [3, 1], "x": 1, "y": 3},
 | 
			
		||||
                {"matrix": [3, 2], "x": 2, "y": 3},
 | 
			
		||||
                {"matrix": [3, 3], "x": 3, "y": 3},
 | 
			
		||||
                {"matrix": [3, 4], "x": 4, "y": 3},
 | 
			
		||||
                {"matrix": [3, 5], "x": 5, "y": 3},
 | 
			
		||||
                {"matrix": [3, 6], "x": 6, "y": 3},
 | 
			
		||||
                {"matrix": [3, 7], "x": 7, "y": 3},
 | 
			
		||||
                {"matrix": [3, 8], "x": 8, "y": 3},
 | 
			
		||||
                {"matrix": [3, 9], "x": 9, "y": 3},
 | 
			
		||||
                {"matrix": [3, 10], "x": 10, "y": 3},
 | 
			
		||||
                {"matrix": [3, 11], "x": 11, "y": 3},
 | 
			
		||||
                {"matrix": [3, 12], "x": 12, "y": 3},
 | 
			
		||||
 | 
			
		||||
                {"x": 0, "y": 3.25, "w": 1.5},
 | 
			
		||||
                {"x": 1.5, "y": 3.25},
 | 
			
		||||
                {"x": 2.5, "y": 3.25},
 | 
			
		||||
                {"x": 3.5, "y": 3.25},
 | 
			
		||||
                {"x": 4.5, "y": 3.25},
 | 
			
		||||
                {"x": 5.5, "y": 3.25},
 | 
			
		||||
                {"x": 6.5, "y": 3.25},
 | 
			
		||||
                {"x": 7.5, "y": 3.25},
 | 
			
		||||
                {"x": 8.5, "y": 3.25},
 | 
			
		||||
                {"x": 9.5, "y": 3.25},
 | 
			
		||||
                {"x": 10.5, "y": 3.25},
 | 
			
		||||
                {"x": 11.5, "y": 3.25, "w": 1.5},
 | 
			
		||||
 | 
			
		||||
                {"x": 0, "y": 4.25},
 | 
			
		||||
                {"x": 1, "y": 4.25},
 | 
			
		||||
                {"x": 2, "y": 4.25},
 | 
			
		||||
                {"x": 3, "y": 4.25},
 | 
			
		||||
                {"x": 4, "y": 4.25},
 | 
			
		||||
                {"x": 5, "y": 4.25},
 | 
			
		||||
                {"x": 6, "y": 4.25},
 | 
			
		||||
                {"x": 7, "y": 4.25},
 | 
			
		||||
                {"x": 8, "y": 4.25},
 | 
			
		||||
                {"x": 9, "y": 4.25},
 | 
			
		||||
                {"x": 10, "y": 4.25},
 | 
			
		||||
                {"x": 11, "y": 4.25},
 | 
			
		||||
                {"x": 12, "y": 4.25},
 | 
			
		||||
 | 
			
		||||
                {"x": 0, "y": 5.25, "w": 1.5},
 | 
			
		||||
                {"x": 1.5, "y": 5.25},
 | 
			
		||||
                {"x": 2.5, "y": 5.25},
 | 
			
		||||
                {"x": 3.5, "y": 5.25},
 | 
			
		||||
                {"x": 4.5, "y": 5.25},
 | 
			
		||||
                {"x": 5.5, "y": 5.25},
 | 
			
		||||
                {"x": 6.5, "y": 5.25},
 | 
			
		||||
                {"x": 7.5, "y": 5.25},
 | 
			
		||||
                {"x": 8.5, "y": 5.25},
 | 
			
		||||
                {"x": 9.5, "y": 5.25},
 | 
			
		||||
                {"x": 10.5, "y": 5.25},
 | 
			
		||||
                {"x": 11.5, "y": 5.25, "w": 1.5}
 | 
			
		||||
                {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5},
 | 
			
		||||
                {"matrix": [4, 1], "x": 1.5, "y": 4},
 | 
			
		||||
                {"matrix": [4, 2], "x": 2.5, "y": 4},
 | 
			
		||||
                {"matrix": [4, 3], "x": 3.5, "y": 4},
 | 
			
		||||
                {"matrix": [4, 4], "x": 4.5, "y": 4},
 | 
			
		||||
                {"matrix": [4, 5], "x": 5.5, "y": 4},
 | 
			
		||||
                {"matrix": [4, 6], "x": 6.5, "y": 4},
 | 
			
		||||
                {"matrix": [4, 7], "x": 7.5, "y": 4},
 | 
			
		||||
                {"matrix": [4, 8], "x": 8.5, "y": 4},
 | 
			
		||||
                {"matrix": [4, 9], "x": 9.5, "y": 4},
 | 
			
		||||
                {"matrix": [4, 10], "x": 10.5, "y": 4},
 | 
			
		||||
                {"matrix": [4, 12], "x": 11.5, "y": 4, "w": 1.5}
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,7 +34,6 @@ enum layer_number {
 | 
			
		|||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
    [_QWERTY] = LAYOUT_all(
 | 
			
		||||
        KC_NO,                                                                                                      KC_NO,
 | 
			
		||||
        QK_GESC,   KC_1,    KC_2,    KC_3,    KC_4,    KC_5,   KC_6,   KC_7,    KC_8,    KC_9,    KC_0,    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_BSLS,
 | 
			
		||||
        FN_CAPS,   KC_A,    KC_S,    KC_D,    KC_F,    KC_G,   KC_H,   KC_J,    KC_K,    KC_L,    KC_SCLN, KC_ENT,
 | 
			
		||||
| 
						 | 
				
			
			@ -43,7 +42,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		|||
    ),
 | 
			
		||||
 | 
			
		||||
    [_COLEMAK] = LAYOUT_all(
 | 
			
		||||
        KC_NO,                                                                                                      KC_NO,
 | 
			
		||||
        QK_GESC,   KC_1,    KC_2,    KC_3,    KC_4,    KC_5,   KC_6,   KC_7,    KC_8,    KC_9,    KC_0,    KC_BSPC, KC_DEL,
 | 
			
		||||
        KC_TAB,    KC_Q,    KC_W,    KC_F,    KC_P,    KC_G,   KC_J,   KC_L,    KC_U,    KC_Y,    KC_SCLN, KC_BSLS,
 | 
			
		||||
        FN_CAPS,   KC_A,    KC_R,    KC_S,    KC_T,    KC_D,   KC_H,   KC_N,    KC_E,    KC_I,    KC_O,    KC_ENT,
 | 
			
		||||
| 
						 | 
				
			
			@ -52,7 +50,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		|||
    ),
 | 
			
		||||
 | 
			
		||||
    [_FN] = LAYOUT_all(
 | 
			
		||||
        KC_NO,                                                                                                      KC_NO,
 | 
			
		||||
        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_PSCR,
 | 
			
		||||
        _______, KC_PGDN, KC_UP,   KC_PGUP, _______, _______, _______, KC_PGDN, KC_UP,   KC_PGUP, KC_PSCR, KC_HOME,
 | 
			
		||||
        _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_INS,  KC_END,
 | 
			
		||||
| 
						 | 
				
			
			@ -61,7 +58,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		|||
    ),
 | 
			
		||||
 | 
			
		||||
    [_ADJ] = LAYOUT_all(
 | 
			
		||||
        KC_NO,                                                                                                      KC_NO,
 | 
			
		||||
        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_PSCR,
 | 
			
		||||
        _______, RGB_SAD, RGB_VAI, RGB_SAI, QK_BOOT,   _______, _______, KC_P7,   KC_P8,   KC_P9,   _______, _______,
 | 
			
		||||
        _______, RGB_HUD, RGB_VAD, RGB_HUI, _______, _______, _______, KC_P4,   KC_P5,   KC_P6,   _______, _______,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,7 +13,7 @@
 | 
			
		|||
 * 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 "pan.h"
 | 
			
		||||
 | 
			
		||||
#include "quantum.h"
 | 
			
		||||
#include "rgb_matrix_types.h"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,37 +0,0 @@
 | 
			
		|||
/* Copyright 2020 RGBKB
 | 
			
		||||
 *
 | 
			
		||||
 * 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
 | 
			
		||||
 | 
			
		||||
#define _x_ KC_NO
 | 
			
		||||
 | 
			
		||||
#include "quantum.h"
 | 
			
		||||
 | 
			
		||||
#define LAYOUT_all( \
 | 
			
		||||
         E01,                                                          E02, \
 | 
			
		||||
/*       0    1    2    3    4    5    6    7    8    9    10   11     12 */\
 | 
			
		||||
/* 0 */  K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11,   K12, \
 | 
			
		||||
/* 1 */  K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, K24,        \
 | 
			
		||||
/* 2 */  K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, K36, K37,        \
 | 
			
		||||
/* 3 */  K38, K39, K40, K41, K42, K43, K44, K45, K46, K47, K48, K49,   K50, \
 | 
			
		||||
/* 4 */  K51, K52, K53, K54, K55, K56, K57, K58, K59, K60, K61, K62         \
 | 
			
		||||
  ) { \
 | 
			
		||||
/* 0 */{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11,   K12   }, \
 | 
			
		||||
/* 1 */{ K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, K24,   KC_NO }, \
 | 
			
		||||
/* 2 */{ K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, K36, K37,   KC_NO }, \
 | 
			
		||||
/* 3 */{ K38, K39, K40, K41, K42, K43, K44, K45, K46, K47, K48, K49,   K50   }, \
 | 
			
		||||
/* 4 */{ K51, K52, K53, K54, K55, K56, K57, K58, K59, K60, K61, KC_NO, K62   }  \
 | 
			
		||||
  }
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue