keymap_dvorak.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. #ifndef KEYMAP_DVORAK_H
  17. #define KEYMAP_DVORAK_H
  18. #include "keymap.h"
  19. // Normal characters
  20. #define DV_GRV KC_GRV
  21. #define DV_1 KC_1
  22. #define DV_2 KC_2
  23. #define DV_3 KC_3
  24. #define DV_4 KC_4
  25. #define DV_5 KC_5
  26. #define DV_6 KC_6
  27. #define DV_7 KC_7
  28. #define DV_8 KC_8
  29. #define DV_9 KC_9
  30. #define DV_0 KC_0
  31. #define DV_LBRC KC_MINS
  32. #define DV_RBRC KC_EQL
  33. #define DV_QUOT KC_Q
  34. #define DV_COMM KC_W
  35. #define DV_DOT KC_E
  36. #define DV_P KC_R
  37. #define DV_Y KC_T
  38. #define DV_F KC_Y
  39. #define DV_G KC_U
  40. #define DV_C KC_I
  41. #define DV_R KC_O
  42. #define DV_L KC_P
  43. #define DV_SLSH KC_LBRC
  44. #define DV_EQL KC_RBRC
  45. #define DV_BSLS KC_BSLS
  46. #define DV_A KC_A
  47. #define DV_O KC_S
  48. #define DV_E KC_D
  49. #define DV_U KC_F
  50. #define DV_I KC_G
  51. #define DV_D KC_H
  52. #define DV_H KC_J
  53. #define DV_T KC_K
  54. #define DV_N KC_L
  55. #define DV_S KC_SCLN
  56. #define DV_MINS KC_QUOT
  57. #define DV_SCLN KC_Z
  58. #define DV_Q KC_X
  59. #define DV_J KC_C
  60. #define DV_K KC_V
  61. #define DV_X KC_B
  62. #define DV_B KC_N
  63. #define DV_M KC_M
  64. #define DV_W KC_COMM
  65. #define DV_V KC_DOT
  66. #define DV_Z KC_SLSH
  67. // Shifted characters
  68. #define DV_TILD LSFT(DV_GRV)
  69. #define DV_EXLM LSFT(DV_1)
  70. #define DV_AT LSFT(DV_2)
  71. #define DV_HASH LSFT(DV_3)
  72. #define DV_DLR LSFT(DV_4)
  73. #define DV_PERC LSFT(DV_5)
  74. #define DV_CIRC LSFT(DV_6)
  75. #define DV_AMPR LSFT(DV_7)
  76. #define DV_ASTR LSFT(DV_8)
  77. #define DV_LPRN LSFT(DV_9)
  78. #define DV_RPRN LSFT(DV_0)
  79. #define DV_LCBR LSFT(DV_LBRC)
  80. #define DV_RCBR LSFT(DV_RBRC)
  81. #define DV_DQUO LSFT(DV_QUOT)
  82. #define DV_LABK LSFT(DV_COMM)
  83. #define DV_RABK LSFT(DV_DOT)
  84. #define DV_QUES LSFT(DV_SLSH)
  85. #define DV_PLUS LSFT(DV_EQL)
  86. #define DV_PIPE LSFT(DV_BSLS)
  87. #define DV_UNDS LSFT(DV_MINS)
  88. #define DV_COLN LSFT(DV_SCLN)
  89. #endif