You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.8 KiB

8 years ago
8 years ago
8 years ago
  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. #pragma once
  17. #include "keymap.h"
  18. // Normal characters
  19. #define NO_HALF KC_GRV
  20. #define NO_PLUS KC_MINS
  21. #define NO_ACUT KC_EQL
  22. #define NO_AM KC_LBRC
  23. #define NO_QUOT KC_RBRC // this is the "umlaut" char on Nordic keyboards, Apple layout
  24. #define NO_AE KC_SCLN
  25. #define NO_OSLH KC_QUOT
  26. #define NO_APOS KC_NUHS
  27. #define NO_LESS KC_NUBS
  28. #define NO_MINS KC_SLSH
  29. // Shifted characters
  30. #define NO_SECT LSFT(NO_HALF)
  31. #define NO_QUO2 LSFT(KC_2)
  32. #define NO_BULT LSFT(KC_4)
  33. #define NO_AMPR LSFT(KC_6)
  34. #define NO_SLSH LSFT(KC_7)
  35. #define NO_LPRN LSFT(KC_8)
  36. #define NO_RPRN LSFT(KC_9)
  37. #define NO_EQL LSFT(KC_0)
  38. #define NO_QUES LSFT(NO_PLUS)
  39. #define NO_GRV LSFT(NO_ACUT)
  40. #define NO_CIRC LSFT(NO_QUOT)
  41. #define NO_GRTR LSFT(NO_LESS)
  42. #define NO_SCLN LSFT(KC_COMM)
  43. #define NO_COLN LSFT(KC_DOT)
  44. #define NO_UNDS LSFT(NO_MINS)
  45. // Alt Gr-ed characters
  46. #define NO_AT ALGR(KC_2)
  47. #define NO_PND ALGR(KC_3)
  48. #define NO_DLR ALGR(KC_4)
  49. #define NO_LCBR ALGR(KC_7)
  50. #define NO_LBRC ALGR(KC_8)
  51. #define NO_RBRC ALGR(KC_9)
  52. #define NO_RCBR ALGR(KC_0)
  53. #define NO_PIPE ALGR(KC_NUBS)
  54. #define NO_EURO ALGR(KC_E)
  55. #define NO_TILD ALGR(NO_QUOT)
  56. #define NO_BSLS ALGR(KC_MINS)
  57. #define NO_MU ALGR(KC_M)