Remaining DD keymap_extras migration (#19110)
* Parse headers to data * Regen headers from data
This commit is contained in:
		
							parent
							
								
									89b72017a0
								
							
						
					
					
						commit
						e5721bbd37
					
				
					 133 changed files with 27668 additions and 4679 deletions
				
			
		| 
						 | 
				
			
			@ -1,39 +1,33 @@
 | 
			
		|||
/* Copyright 2020
 | 
			
		||||
 *
 | 
			
		||||
 * 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/>.
 | 
			
		||||
 */
 | 
			
		||||
// Copyright 2022 QMK
 | 
			
		||||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
  88888888888 888      d8b                .d888 d8b 888               d8b
 | 
			
		||||
      888     888      Y8P               d88P"  Y8P 888               Y8P
 | 
			
		||||
      888     888                        888        888
 | 
			
		||||
      888     88888b.  888 .d8888b       888888 888 888  .d88b.       888 .d8888b
 | 
			
		||||
      888     888 "88b 888 88K           888    888 888 d8P  Y8b      888 88K
 | 
			
		||||
      888     888  888 888 "Y8888b.      888    888 888 88888888      888 "Y8888b.
 | 
			
		||||
      888     888  888 888      X88      888    888 888 Y8b.          888      X88
 | 
			
		||||
      888     888  888 888  88888P'      888    888 888  "Y8888       888  88888P'
 | 
			
		||||
                                                        888                 888
 | 
			
		||||
                                                        888                 888
 | 
			
		||||
                                                        888                 888
 | 
			
		||||
     .d88b.   .d88b.  88888b.   .d88b.  888d888 8888b.  888888 .d88b.   .d88888
 | 
			
		||||
    d88P"88b d8P  Y8b 888 "88b d8P  Y8b 888P"      "88b 888   d8P  Y8b d88" 888
 | 
			
		||||
    888  888 88888888 888  888 88888888 888    .d888888 888   88888888 888  888
 | 
			
		||||
    Y88b 888 Y8b.     888  888 Y8b.     888    888  888 Y88b. Y8b.     Y88b 888
 | 
			
		||||
     "Y88888  "Y8888  888  888  "Y8888  888    "Y888888  "Y888 "Y8888   "Y88888
 | 
			
		||||
         888
 | 
			
		||||
    Y8b d88P
 | 
			
		||||
     "Y88P"
 | 
			
		||||
*******************************************************************************/
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "keymap.h"
 | 
			
		||||
 | 
			
		||||
// clang-format off
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
 | 
			
		||||
 * │ $ │ " │ « │ » │ ( │ ) │ @ │ + │ - │ / │ * │ = │ % │       │
 | 
			
		||||
 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
 | 
			
		||||
 * │     │ B │ É │ P │ O │ È │ ^ │ V │ D │ L │ J │ Z │ W │     │
 | 
			
		||||
 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
 | 
			
		||||
 * │      │ A │ U │ I │ E │ , │ C │ T │ S │ R │ N │ M │ Ç │    │
 | 
			
		||||
 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
 | 
			
		||||
 * │    │ Ê │ À │ Y │ X │ . │ K │ ' │ Q │ G │ H │ F │          │
 | 
			
		||||
 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
 | 
			
		||||
 * │    │    │    │                        │    │    │    │    │
 | 
			
		||||
 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
 | 
			
		||||
 */
 | 
			
		||||
// Row 1
 | 
			
		||||
// Aliases
 | 
			
		||||
#define BP_DLR  KC_GRV  // $
 | 
			
		||||
#define BP_DQUO KC_1    // "
 | 
			
		||||
#define BP_LDAQ KC_2    // «
 | 
			
		||||
| 
						 | 
				
			
			@ -47,7 +41,6 @@
 | 
			
		|||
#define BP_ASTR KC_0    // *
 | 
			
		||||
#define BP_EQL  KC_MINS // =
 | 
			
		||||
#define BP_PERC KC_EQL  // %
 | 
			
		||||
// Row 2
 | 
			
		||||
#define BP_B    KC_Q    // B
 | 
			
		||||
#define BP_EACU KC_W    // É
 | 
			
		||||
#define BP_P    KC_E    // P
 | 
			
		||||
| 
						 | 
				
			
			@ -60,7 +53,6 @@
 | 
			
		|||
#define BP_J    KC_P    // J
 | 
			
		||||
#define BP_Z    KC_LBRC // Z
 | 
			
		||||
#define BP_W    KC_RBRC // W
 | 
			
		||||
// Row 3
 | 
			
		||||
#define BP_A    KC_A    // A
 | 
			
		||||
#define BP_U    KC_S    // U
 | 
			
		||||
#define BP_I    KC_D    // I
 | 
			
		||||
| 
						 | 
				
			
			@ -73,7 +65,6 @@
 | 
			
		|||
#define BP_N    KC_SCLN // N
 | 
			
		||||
#define BP_M    KC_QUOT // M
 | 
			
		||||
#define BP_CCED KC_BSLS // Ç
 | 
			
		||||
// Row 4
 | 
			
		||||
#define BP_ECIR KC_NUBS // Ê
 | 
			
		||||
#define BP_AGRV KC_Z    // À
 | 
			
		||||
#define BP_Y    KC_X    // Y
 | 
			
		||||
| 
						 | 
				
			
			@ -85,21 +76,6 @@
 | 
			
		|||
#define BP_G    KC_COMM // G
 | 
			
		||||
#define BP_H    KC_DOT  // H
 | 
			
		||||
#define BP_F    KC_SLSH // F
 | 
			
		||||
 | 
			
		||||
/* Shifted symbols
 | 
			
		||||
 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
 | 
			
		||||
 * │ # │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ ° │ ` │       │
 | 
			
		||||
 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
 | 
			
		||||
 * │     │   │   │   │   │   │ ! │   │   │   │   │   │   │     │
 | 
			
		||||
 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
 | 
			
		||||
 * │      │   │   │   │   │ ; │   │   │   │   │   │   │   │    │
 | 
			
		||||
 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
 | 
			
		||||
 * │    │   │   │   │   │ : │   │ ? │   │   │   │   │          │
 | 
			
		||||
 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
 | 
			
		||||
 * │    │    │    │                        │    │    │    │    │
 | 
			
		||||
 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
 | 
			
		||||
 */
 | 
			
		||||
// Row 1
 | 
			
		||||
#define BP_HASH S(BP_DLR)  // #
 | 
			
		||||
#define BP_1    S(BP_DQUO) // 1
 | 
			
		||||
#define BP_2    S(BP_LDAQ) // 2
 | 
			
		||||
| 
						 | 
				
			
			@ -113,30 +89,11 @@
 | 
			
		|||
#define BP_0    S(BP_ASTR) // 0
 | 
			
		||||
#define BP_DEG  S(BP_EQL)  // °
 | 
			
		||||
#define BP_GRV  S(BP_PERC) // `
 | 
			
		||||
// Row 2
 | 
			
		||||
#define BP_EXLM S(BP_DCIR) // !
 | 
			
		||||
// Row 3
 | 
			
		||||
#define BP_SCLN S(BP_COMM) // ;
 | 
			
		||||
// Row 4
 | 
			
		||||
#define BP_COLN S(BP_DOT)  // :
 | 
			
		||||
#define BP_QUES S(BP_QUOT) // ?
 | 
			
		||||
// Row 5
 | 
			
		||||
#define BP_NBSP S(KC_SPC)  //   (non-breaking space)
 | 
			
		||||
 | 
			
		||||
/* AltGr symbols
 | 
			
		||||
 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
 | 
			
		||||
 * │ – │ — │ < │ > │ [ │ ] │ ^ │ ± │ − │ ÷ │ × │ ≠ │ ‰ │       │
 | 
			
		||||
 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
 | 
			
		||||
 * │     │ | │ ´ │ & │ Œ │ ` │ ¡ │ ˇ │ Ð │ / │ IJ │ Ə │ ˘ │     │
 | 
			
		||||
 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
 | 
			
		||||
 * │      │ Æ │ Ù │ ¨ │ € │   │ © │ Þ │ ẞ │ ® │ ~ │ ¯ │ ¸ │    │
 | 
			
		||||
 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
 | 
			
		||||
 * │    │   │ \ │ { │ } │ … │ ~ │ ¿ │ ° │   │ † │ ˛ │          │
 | 
			
		||||
 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
 | 
			
		||||
 * │    │    │    │           _            │    │    │    │    │
 | 
			
		||||
 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
 | 
			
		||||
 */
 | 
			
		||||
// Row 1
 | 
			
		||||
#define BP_NBSP S(KC_SPC)  // (non-breaking space)
 | 
			
		||||
#define BP_NDSH ALGR(BP_DLR)  // –
 | 
			
		||||
#define BP_MDSH ALGR(BP_DQUO) // —
 | 
			
		||||
#define BP_LABK ALGR(BP_LDAQ) // <
 | 
			
		||||
| 
						 | 
				
			
			@ -150,7 +107,6 @@
 | 
			
		|||
#define BP_MUL  ALGR(BP_ASTR) // ×
 | 
			
		||||
#define BP_NEQL ALGR(BP_EQL)  // ≠
 | 
			
		||||
#define BP_PERM ALGR(BP_PERC) // ‰
 | 
			
		||||
// Row 2
 | 
			
		||||
#define BP_PIPE ALGR(BP_B)    // |
 | 
			
		||||
#define BP_ACUT ALGR(BP_EACU) // ´ (dead)
 | 
			
		||||
#define BP_AMPR ALGR(BP_P)    // &
 | 
			
		||||
| 
						 | 
				
			
			@ -163,7 +119,6 @@
 | 
			
		|||
#define BP_IJ   ALGR(BP_J)    // IJ
 | 
			
		||||
#define BP_SCHW ALGR(BP_Z)    // Ə
 | 
			
		||||
#define BP_BREV ALGR(BP_W)    // ˘ (dead)
 | 
			
		||||
// Row 3
 | 
			
		||||
#define BP_AE   ALGR(BP_A)    // Æ
 | 
			
		||||
#define BP_UGRV ALGR(BP_U)    // Ù
 | 
			
		||||
#define BP_DIAE ALGR(BP_I)    // ¨ (dead)
 | 
			
		||||
| 
						 | 
				
			
			@ -175,7 +130,6 @@
 | 
			
		|||
#define BP_DTIL ALGR(BP_N)    // ~ (dead)
 | 
			
		||||
#define BP_MACR ALGR(BP_M)    // ¯ (dead)
 | 
			
		||||
#define BP_CEDL ALGR(BP_CCED) // ¸ (dead)
 | 
			
		||||
// Row 4
 | 
			
		||||
#define BP_BSLS ALGR(BP_AGRV) // (backslash)
 | 
			
		||||
#define BP_LCBR ALGR(BP_Y)    // {
 | 
			
		||||
#define BP_RCBR ALGR(BP_X)    // }
 | 
			
		||||
| 
						 | 
				
			
			@ -186,23 +140,7 @@
 | 
			
		|||
#define BP_DGRK ALGR(BP_G)    // µ (dead Greek key)
 | 
			
		||||
#define BP_DAGG ALGR(BP_H)    // †
 | 
			
		||||
#define BP_OGON ALGR(BP_F)    // ˛ (dead)
 | 
			
		||||
// Row 5
 | 
			
		||||
#define BP_UNDS ALGR(KC_SPC)  // _
 | 
			
		||||
 | 
			
		||||
/* Shift+AltGr symbols
 | 
			
		||||
 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
 | 
			
		||||
 * │ ¶ │ „ │ “ │ ” │ ≤ │ ≥ │   │ ¬ │ ¼ │ ½ │ ¾ │ ′ │ ″ │       │
 | 
			
		||||
 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
 | 
			
		||||
 * │     │ ¦ │ ˝ │ § │   │   │   │   │   │   │   │   │   │     │
 | 
			
		||||
 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
 | 
			
		||||
 * │      │   │   │ ˙ │ ¤ │ ̛  │ ſ │   │   │ ™ │   │ º │ , │    │
 | 
			
		||||
 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
 | 
			
		||||
 * │    │   │   │ ‘ │ ’ │ · │ ⌨ │ ̉  │ ̣  │   │ ‡ │ ª │          │
 | 
			
		||||
 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
 | 
			
		||||
 * │    │    │    │                        │    │    │    │    │
 | 
			
		||||
 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
 | 
			
		||||
 */
 | 
			
		||||
// Row 1
 | 
			
		||||
#define BP_PARA S(ALGR(BP_DLR))  // ¶
 | 
			
		||||
#define BP_DLQU S(ALGR(BP_DQUO)) // „
 | 
			
		||||
#define BP_LDQU S(ALGR(BP_LDAQ)) // “
 | 
			
		||||
| 
						 | 
				
			
			@ -215,26 +153,22 @@
 | 
			
		|||
#define BP_TQTR S(ALGR(BP_ASTR)) // ¾
 | 
			
		||||
#define BP_PRIM S(ALGR(BP_EQL))  // ′
 | 
			
		||||
#define BP_DPRM S(ALGR(BP_PERC)) // ″
 | 
			
		||||
// Row 2
 | 
			
		||||
#define BP_BRKP S(ALGR(BP_B))    // ¦
 | 
			
		||||
#define BP_DACU S(ALGR(BP_EACU)) // ˝ (dead)
 | 
			
		||||
#define BP_SECT S(ALGR(BP_P))    // §
 | 
			
		||||
// Row 3
 | 
			
		||||
#define BP_DOTA S(ALGR(BP_I))    // ˙ (dead)
 | 
			
		||||
#define BP_CURR S(ALGR(BP_E))    // ¤ (dead)
 | 
			
		||||
#define BP_HORN S(ALGR(BP_COMM)) // ̛  (dead)
 | 
			
		||||
#define BP_HORN S(ALGR(BP_COMM)) // ̛ (dead)
 | 
			
		||||
#define BP_LNGS S(ALGR(BP_C))    // ſ
 | 
			
		||||
#define BP_TM   S(ALGR(BP_R))    // ™
 | 
			
		||||
#define BP_MORD S(ALGR(BP_M))    // º
 | 
			
		||||
#define BP_DCMM S(ALGR(BP_CCED)) // , (dead)
 | 
			
		||||
// Row 4
 | 
			
		||||
#define BP_LSQU S(ALGR(BP_Y))    // ‘
 | 
			
		||||
#define BP_RSQU S(ALGR(BP_X))    // ’
 | 
			
		||||
#define BP_MDDT S(ALGR(BP_DOT))  // ·
 | 
			
		||||
#define BP_KEYB S(ALGR(BP_K))    // ⌨
 | 
			
		||||
#define BP_HOKA S(ALGR(BP_QUOT)) // ̉  (dead)
 | 
			
		||||
#define BP_DOTB S(ALGR(BP_Q))    // ̣  (dead)
 | 
			
		||||
#define BP_HOKA S(ALGR(BP_QUOT)) // ̉ (dead)
 | 
			
		||||
#define BP_DOTB S(ALGR(BP_Q))    // ̣ (dead)
 | 
			
		||||
#define BP_DDAG S(ALGR(BP_H))    // ‡
 | 
			
		||||
#define BP_FORD S(ALGR(BP_F))    // ª
 | 
			
		||||
// Row 5
 | 
			
		||||
#define BP_NNBS S(ALGR(KC_SPC))  //   (narrow non-breaking space)
 | 
			
		||||
#define BP_NNBS S(ALGR(KC_SPC))  // (narrow non-breaking space)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue