diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-10-26 14:49:46 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-10-26 14:49:46 -0400 |
commit | 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 (patch) | |
tree | f0b00f664ecdaf83e30f27baf20780eb5d91c39a /quantum/keymap_extras/keymap_uk.h | |
parent | ff8d8a50dfbb8502003a5181878c54a71b8c57d5 (diff) |
quantum separated
Diffstat (limited to 'quantum/keymap_extras/keymap_uk.h')
-rw-r--r-- | quantum/keymap_extras/keymap_uk.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/quantum/keymap_extras/keymap_uk.h b/quantum/keymap_extras/keymap_uk.h new file mode 100644 index 0000000000..5b4bd3c0d4 --- /dev/null +++ b/quantum/keymap_extras/keymap_uk.h @@ -0,0 +1,36 @@ +#ifndef KEYMAP_UK_H +#define KEYMAP_UK_H + +#include "keymap_common.h" + +// Alt gr +#define ALGR(kc) kc | 0x1400 +#define NO_ALGR KC_RALT + +// Normal characters +#define UK_HASH KC_NUHS + +#define UK_BSLS KC_NUBS + +// Shifted characters +#define UK_NOT LSFT(KC_GRV) +#define UK_QUOT LSFT(KC_2) +#define UK_PND LSFT(KC_3) + +#define UK_AT LSFT(KC_QUOT) +#define UK_TILD LSFT(KC_NUHS) + +#define UK_PIPE LSFT(KC_NUBS) + +// Alt Gr-ed characters +#define UK_BRKP ALGR(KC_GRV) +#define UK_EURO ALGR(KC_4) + +#define UK_EACT ALGR(KC_E) +#define UK_UACT ALGR(KC_U) +#define UK_IACT ALGR(KC_I) +#define UK_OACT ALGR(KC_O) + +#define UK_AACT ALGR(KC_A) + +#endif
\ No newline at end of file |