112 lines
		
	
	
	
		
			4.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			112 lines
		
	
	
	
		
			4.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
// Copyright 2025 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 "keycodes.h"
 | 
						||
// clang-format off
 | 
						||
 | 
						||
#define QMK_SPANISH_LATIN_AMERICA_KEYCODES_VERSION "0.0.1"
 | 
						||
#define QMK_SPANISH_LATIN_AMERICA_KEYCODES_VERSION_BCD 0x00000001
 | 
						||
#define QMK_SPANISH_LATIN_AMERICA_KEYCODES_VERSION_MAJOR 0
 | 
						||
#define QMK_SPANISH_LATIN_AMERICA_KEYCODES_VERSION_MINOR 0
 | 
						||
#define QMK_SPANISH_LATIN_AMERICA_KEYCODES_VERSION_PATCH 1
 | 
						||
 | 
						||
// Aliases
 | 
						||
#define ES_PIPE KC_GRV  // |
 | 
						||
#define ES_1    KC_1    // 1
 | 
						||
#define ES_2    KC_2    // 2
 | 
						||
#define ES_3    KC_3    // 3
 | 
						||
#define ES_4    KC_4    // 4
 | 
						||
#define ES_5    KC_5    // 5
 | 
						||
#define ES_6    KC_6    // 6
 | 
						||
#define ES_7    KC_7    // 7
 | 
						||
#define ES_8    KC_8    // 8
 | 
						||
#define ES_9    KC_9    // 9
 | 
						||
#define ES_0    KC_0    // 0
 | 
						||
#define ES_QUOT KC_MINS // '
 | 
						||
#define ES_IQUE KC_EQL  // ¿
 | 
						||
#define ES_Q    KC_Q    // Q
 | 
						||
#define ES_W    KC_W    // W
 | 
						||
#define ES_E    KC_E    // E
 | 
						||
#define ES_R    KC_R    // R
 | 
						||
#define ES_T    KC_T    // T
 | 
						||
#define ES_Y    KC_Y    // Y
 | 
						||
#define ES_U    KC_U    // U
 | 
						||
#define ES_I    KC_I    // I
 | 
						||
#define ES_O    KC_O    // O
 | 
						||
#define ES_P    KC_P    // P
 | 
						||
#define ES_ACUT KC_LBRC // ´ (dead)
 | 
						||
#define ES_PLUS KC_RBRC // +
 | 
						||
#define ES_A    KC_A    // A
 | 
						||
#define ES_S    KC_S    // S
 | 
						||
#define ES_D    KC_D    // D
 | 
						||
#define ES_F    KC_F    // F
 | 
						||
#define ES_G    KC_G    // G
 | 
						||
#define ES_H    KC_H    // H
 | 
						||
#define ES_J    KC_J    // J
 | 
						||
#define ES_K    KC_K    // K
 | 
						||
#define ES_L    KC_L    // L
 | 
						||
#define ES_NTIL KC_SCLN // Ñ
 | 
						||
#define ES_LCBR KC_QUOT // {
 | 
						||
#define ES_RCBR KC_NUHS // }
 | 
						||
#define ES_LABK KC_NUBS // <
 | 
						||
#define ES_Z    KC_Z    // Z
 | 
						||
#define ES_X    KC_X    // X
 | 
						||
#define ES_C    KC_C    // C
 | 
						||
#define ES_V    KC_V    // V
 | 
						||
#define ES_B    KC_B    // B
 | 
						||
#define ES_N    KC_N    // N
 | 
						||
#define ES_M    KC_M    // M
 | 
						||
#define ES_COMM KC_COMM // ,
 | 
						||
#define ES_DOT  KC_DOT  // .
 | 
						||
#define ES_MINS KC_SLSH // -
 | 
						||
#define ES_MORD S(ES_PIPE) // °
 | 
						||
#define ES_EXLM S(ES_1)    // !
 | 
						||
#define ES_DQUO S(ES_2)    // "
 | 
						||
#define ES_NUMB S(ES_3)    // #
 | 
						||
#define ES_DLR  S(ES_4)    // $
 | 
						||
#define ES_PERC S(ES_5)    // %
 | 
						||
#define ES_AMPR S(ES_6)    // &
 | 
						||
#define ES_SLSH S(ES_7)    // /
 | 
						||
#define ES_LPRN S(ES_8)    // (
 | 
						||
#define ES_RPRN S(ES_9)    // )
 | 
						||
#define ES_EQL  S(ES_0)    // =
 | 
						||
#define ES_QUES S(ES_QUOT) // ?
 | 
						||
#define ES_IEXL S(ES_IQUE) // ¡
 | 
						||
#define ES_DIAE S(ES_ACUT) // ¨ (dead)
 | 
						||
#define ES_ASTR S(ES_PLUS) // *
 | 
						||
#define ES_LBRC S(ES_LCBR) // [
 | 
						||
#define ES_RBRC S(ES_RCBR) // ]
 | 
						||
#define ES_RABK S(ES_LABK) // >
 | 
						||
#define ES_SCLN S(ES_COMM) // ;
 | 
						||
#define ES_COLN S(ES_DOT)  // :
 | 
						||
#define ES_UNDS S(ES_MINS) // _
 | 
						||
#define ES_NOT  ALGR(ES_PIPE) // ¬
 | 
						||
#define ES_BSLS ALGR(ES_QUOT) // (backslash)
 | 
						||
#define ES_AT   ALGR(ES_Q)    // @
 | 
						||
#define ES_TILD ALGR(ES_PLUS) // ~
 | 
						||
#define ES_CIRC ALGR(ES_LCBR) // ^
 | 
						||
#define ES_GRV  ALGR(KC_NUHS) // `
 | 
						||
 |