upload
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

keymap_german.h 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. #ifndef KEYMAP_GERMAN
  2. #define KEYMAP_GERMAN
  3. #include "keymap_common.h"
  4. // Alt gr
  5. #define ALGR(kc) kc | 0x1400
  6. #define DE_ALGR KC_RALT
  7. // normal characters
  8. #define DE_Z KC_Y
  9. #define DE_Y KC_Z
  10. #define DE_A KC_A
  11. #define DE_B KC_B
  12. #define DE_C KC_C
  13. #define DE_D KC_D
  14. #define DE_E KC_E
  15. #define DE_F KC_F
  16. #define DE_G KC_G
  17. #define DE_H KC_H
  18. #define DE_I KC_I
  19. #define DE_J KC_J
  20. #define DE_K KC_K
  21. #define DE_L KC_L
  22. #define DE_M KC_M
  23. #define DE_N KC_N
  24. #define DE_O KC_O
  25. #define DE_P KC_P
  26. #define DE_Q KC_Q
  27. #define DE_R KC_R
  28. #define DE_S KC_S
  29. #define DE_T KC_T
  30. #define DE_U KC_U
  31. #define DE_V KC_V
  32. #define DE_W KC_W
  33. #define DE_X KC_X
  34. #define DE_0 KC_0
  35. #define DE_1 KC_1
  36. #define DE_2 KC_2
  37. #define DE_3 KC_3
  38. #define DE_4 KC_4
  39. #define DE_5 KC_5
  40. #define DE_6 KC_6
  41. #define DE_7 KC_7
  42. #define DE_8 KC_8
  43. #define DE_9 KC_9
  44. #define DE_DOT KC_DOT
  45. #define DE_COMM KC_COMM
  46. #define DE_SS KC_MINS
  47. #define DE_AE KC_QUOT
  48. #define DE_UE KC_LBRC
  49. #define DE_OE KC_SCLN
  50. #define DE_CIRC KC_GRAVE // accent circumflex ^ and ring °
  51. #define DE_ACUT KC_EQL // accent acute ´ and grave `
  52. #define DE_PLUS KC_RBRC // + and * and ~
  53. #define DE_HASH KC_BSLS // # and '
  54. #define DE_LESS KC_NUBS // < and > and |
  55. #define DE_MINS KC_SLSH // - and _
  56. // shifted characters
  57. #define DE_RING LSFT(DE_CIRC) // °
  58. #define DE_EXLM LSFT(KC_1) // !
  59. #define DE_DQOT LSFT(KC_2) // "
  60. #define DE_PARA LSFT(KC_3) // §
  61. #define DE_DLR LSFT(KC_4) // $
  62. #define DE_PERC LSFT(KC_5) // %
  63. #define DE_AMPR LSFT(KC_6) // &
  64. #define DE_SLSH LSFT(KC_7) // /
  65. #define DE_LPRN LSFT(KC_8) // (
  66. #define DE_RPRN LSFT(KC_9) // )
  67. #define DE_EQL LSFT(KC_0) // =
  68. #define DE_QST LSFT(DE_SS) // ?
  69. #define DE_GRV LSFT(DE_ACUT) // `
  70. #define DE_ASTR LSFT(DE_PLUS) // *
  71. #define DE_QUOT LSFT(DE_HASH) // '
  72. #define DE_MORE LSFT(DE_LESS) // >
  73. #define DE_COLN LSFT(KC_DOT) // :
  74. #define DE_SCLN LSFT(KC_COMM) // ;
  75. #define DE_UNDS LSFT(DE_MINS) // _
  76. // Alt Gr-ed characters
  77. #define DE_SQ2 ALGR(KC_2) // ²
  78. #define DE_SQ3 ALGR(KC_3) // ³
  79. #define DE_LCBR ALGR(KC_7) // {
  80. #define DE_LBRC ALGR(KC_8) // [
  81. #define DE_RBRC ALGR(KC_9) // ]
  82. #define DE_RCBR ALGR(KC_0) // }
  83. #define DE_BSLS ALGR(DE_SS) // backslash
  84. #define DE_AT ALGR(KC_Q) // @
  85. #define DE_EURO ALGR(KC_E) // €
  86. #define DE_TILD ALGR(DE_PLUS) // ~
  87. #define DE_PIPE ALGR(DE_LESS) // |
  88. #endif