1
0
Fork 0
qmk_firmware/quantum/keymap_extras/keymap_spanish.h

74 lines
1.8 KiB
C
Raw Normal View History

/* Copyright 2015-2016 Jack Humbert
*
* 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/>.
*/
2015-10-25 18:02:26 +00:00
#ifndef KEYMAP_SPANISH_H
#define KEYMAP_SPANISH_H
#include "keymap.h"
2015-10-25 18:02:26 +00:00
// Normal characters
#define ES_OVRR KC_GRV
2019-08-30 18:19:03 +00:00
#define ES_APOS KC_MINS
#define ES_IEXL KC_EQL
2015-10-25 18:02:26 +00:00
2019-08-30 18:19:03 +00:00
#define ES_GRV KC_LBRC
#define ES_PLUS KC_RBRC
2015-10-25 18:02:26 +00:00
2019-08-30 18:19:03 +00:00
#define ES_NTIL KC_SCLN
#define ES_ACUT KC_QUOT
#define ES_CCED KC_NUHS
2015-10-25 18:02:26 +00:00
2019-08-30 18:19:03 +00:00
#define ES_LESS KC_NUBS
#define ES_MINS KC_SLSH
2015-10-25 18:02:26 +00:00
// Shifted characters
2019-08-30 18:19:03 +00:00
#define ES_ASML LSFT(ES_OVRR)
#define ES_QUOT LSFT(KC_2)
#define ES_OVDT LSFT(KC_3)
#define ES_AMPR LSFT(KC_6)
2015-10-25 18:02:26 +00:00
#define ES_SLSH LSFT(KC_7)
#define ES_LPRN LSFT(KC_8)
#define ES_RPRN LSFT(KC_9)
2019-08-30 18:19:03 +00:00
#define ES_EQL LSFT(KC_0)
#define ES_QUES LSFT(ES_APOS)
#define ES_IQUE LSFT(ES_IEXL)
2015-10-25 18:02:26 +00:00
2019-08-30 18:19:03 +00:00
#define ES_CIRC LSFT(ES_GRV)
#define ES_ASTR LSFT(ES_PLUS)
2015-10-25 18:02:26 +00:00
2019-08-30 18:19:03 +00:00
#define ES_UMLT LSFT(ES_GRV)
2015-10-25 18:02:26 +00:00
2019-08-30 18:19:03 +00:00
#define ES_GRTR LSFT(ES_LESS)
#define ES_SCLN LSFT(KC_COMM)
#define ES_COLN LSFT(KC_DOT)
#define ES_UNDS LSFT(ES_MINS)
2015-10-25 18:02:26 +00:00
// Alt Gr-ed characters
2019-08-30 18:19:03 +00:00
#define ES_BSLS ALGR(ES_OVRR)
#define ES_PIPE ALGR(KC_1)
#define ES_AT ALGR(KC_2)
#define ES_HASH ALGR(KC_3)
#define ES_TILD ALGR(ES_NTIL)
#define ES_EURO ALGR(KC_5)
#define ES_NOT ALGR(KC_6)
2015-10-25 18:02:26 +00:00
2019-08-30 18:19:03 +00:00
#define ES_LBRC ALGR(ES_GRV)
2015-10-25 18:02:26 +00:00
#define ES_RBRC ALGR(ES_PLUS)
2019-08-30 18:19:03 +00:00
#define ES_LCBR ALGR(ES_ACUT)
#define ES_RCBR ALGR(ES_CCED)
2015-10-25 18:02:26 +00:00
2016-07-02 08:26:04 +00:00
#endif