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_osx.h 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #ifndef KEYMAP_GERMAN_OSX
  2. #define KEYMAP_GERMAN_OSX
  3. #ifdef KEYMAP_GERMAN
  4. #warning redefining german keys
  5. #endif
  6. #include "keymap_common.h"
  7. // Alt gr
  8. // normal characters
  9. #define DE_OSX_Z KC_Y
  10. #define DE_OSX_Y KC_Z
  11. #define DE_OSX_A KC_A
  12. #define DE_OSX_B KC_B
  13. #define DE_OSX_C KC_C
  14. #define DE_OSX_D KC_D
  15. #define DE_OSX_E KC_E
  16. #define DE_OSX_F KC_F
  17. #define DE_OSX_G KC_G
  18. #define DE_OSX_H KC_H
  19. #define DE_OSX_I KC_I
  20. #define DE_OSX_J KC_J
  21. #define DE_OSX_K KC_K
  22. #define DE_OSX_L KC_L
  23. #define DE_OSX_M KC_M
  24. #define DE_OSX_N KC_N
  25. #define DE_OSX_O KC_O
  26. #define DE_OSX_P KC_P
  27. #define DE_OSX_Q KC_Q
  28. #define DE_OSX_R KC_R
  29. #define DE_OSX_S KC_S
  30. #define DE_OSX_T KC_T
  31. #define DE_OSX_U KC_U
  32. #define DE_OSX_V KC_V
  33. #define DE_OSX_W KC_W
  34. #define DE_OSX_X KC_X
  35. #define DE_OSX_0 KC_0
  36. #define DE_OSX_1 KC_1
  37. #define DE_OSX_2 KC_2
  38. #define DE_OSX_3 KC_3
  39. #define DE_OSX_4 KC_4
  40. #define DE_OSX_5 KC_5
  41. #define DE_OSX_6 KC_6
  42. #define DE_OSX_7 KC_7
  43. #define DE_OSX_8 KC_8
  44. #define DE_OSX_9 KC_9
  45. #define DE_OSX_DOT KC_DOT
  46. #define DE_OSX_COMM KC_COMM
  47. #define DE_OSX_SS KC_MINS
  48. #define DE_OSX_AE KC_QUOT
  49. #define DE_OSX_UE KC_LBRC
  50. #define DE_OSX_OE KC_SCLN
  51. #define DE_OSX_CIRC KC_NUBS // accent circumflex ^ and ring °
  52. #define DE_OSX_ACUT KC_EQL // accent acute ´ and grave `
  53. #define DE_OSX_PLUS KC_RBRC // + and * and ~
  54. #define DE_OSX_HASH KC_BSLS // # and '
  55. #define DE_OSX_LESS KC_GRV // < and > and |
  56. #define DE_OSX_MINS KC_SLSH // - and _
  57. // shifted characters
  58. #define DE_OSX_RING LSFT(DE_OSX_CIRC) // °
  59. #define DE_OSX_EXLM LSFT(KC_1) // !
  60. #define DE_OSX_DQOT LSFT(KC_2) // "
  61. #define DE_OSX_PARA LSFT(KC_3) // §
  62. #define DE_OSX_DLR LSFT(KC_4) // $
  63. #define DE_OSX_PERC LSFT(KC_5) // %
  64. #define DE_OSX_AMPR LSFT(KC_6) // &
  65. #define DE_OSX_SLSH LSFT(KC_7) // /
  66. #define DE_OSX_LPRN LSFT(KC_8) // (
  67. #define DE_OSX_RPRN LSFT(KC_9) // )
  68. #define DE_OSX_EQL LSFT(KC_0) // =
  69. #define DE_OSX_QST LSFT(DE_OSX_SS) // ?
  70. #define DE_OSX_GRV LSFT(DE_OSX_ACUT) // `
  71. #define DE_OSX_ASTR LSFT(DE_OSX_PLUS) // *
  72. #define DE_OSX_QUOT LSFT(DE_OSX_HASH) // '
  73. #define DE_OSX_MORE LSFT(DE_OSX_LESS) // >
  74. #define DE_OSX_COLN LSFT(KC_DOT) // :
  75. #define DE_OSX_SCLN LSFT(KC_COMM) // ;
  76. #define DE_OSX_UNDS LSFT(DE_OSX_MINS) // _
  77. // Alt-ed characters
  78. //#define DE_OSX_SQ2 LALT(KC_2) // ²
  79. //#define DE_OSX_SQ3 LALT(KC_3) // ³
  80. #define DE_OSX_LCBR LALT(KC_8) // {
  81. #define DE_OSX_LBRC LALT(KC_5) // [
  82. #define DE_OSX_RBRC LALT(KC_6) // ]
  83. #define DE_OSX_RCBR LALT(KC_9) // }
  84. #define DE_OSX_BSLS LALT(LSFT(KC_7)) // backslash
  85. #define DE_OSX_AT LALT(DE_OSX_L) // @
  86. #define DE_OSX_EURO LALT(KC_E) // €
  87. #define DE_OSX_TILD LALT(DE_OSX_N) // ~
  88. #define DE_OSX_PIPE LALT(DE_OSX_7) // |
  89. #endif