1 /* Copyright 2015-2016 Jack Humbert
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.
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.
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/>.
22 #define ALGR(kc) RALT(kc)
23 #define NO_ALGR KC_RALT
26 #define UK_HASH KC_NUHS
28 #define UK_BSLS KC_NUBS
31 #define UK_NOT LSFT(KC_GRV)
32 #define UK_QUOT LSFT(KC_2)
33 #define UK_PND LSFT(KC_3)
35 #define UK_AT LSFT(KC_QUOT)
36 #define UK_TILD LSFT(KC_NUHS)
38 #define UK_PIPE LSFT(KC_NUBS)
40 // Alt Gr-ed characters
41 #define UK_BRKP ALGR(KC_GRV)
42 #define UK_EURO ALGR(KC_4)
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)
49 #define UK_AACT ALGR(KC_A)