]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/keymap_extras/keymap_uk.h
Extended the hint of the programmer to link to the relevant README part instead of...
[qmk_firmware.git] / quantum / keymap_extras / keymap_uk.h
1 /* Copyright 2015-2016 Jack Humbert
2  *
3  * This program is free software: you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation, either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16 #ifndef KEYMAP_UK_H
17 #define KEYMAP_UK_H
18
19 #include "keymap.h"
20
21 // Alt gr
22 #define ALGR(kc) RALT(kc)
23 #define NO_ALGR KC_RALT
24
25 // Normal characters
26 #define UK_HASH KC_NUHS
27
28 #define UK_BSLS KC_NUBS
29
30 // Shifted characters
31 #define UK_NOT  LSFT(KC_GRV)
32 #define UK_QUOT LSFT(KC_2)
33 #define UK_PND  LSFT(KC_3)
34
35 #define UK_AT   LSFT(KC_QUOT)
36 #define UK_TILD LSFT(KC_NUHS)
37
38 #define UK_PIPE LSFT(KC_NUBS)
39
40 // Alt Gr-ed characters
41 #define UK_BRKP ALGR(KC_GRV)
42 #define UK_EURO ALGR(KC_4)
43
44 #define UK_EACT ALGR(KC_E)
45 #define UK_UACT ALGR(KC_U)
46 #define UK_IACT ALGR(KC_I)
47 #define UK_OACT ALGR(KC_O)
48
49 #define UK_AACT ALGR(KC_A)
50
51 #endif