keymap_dvp.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /* Copyright 2016 Artyom Mironov
  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_DVP_H
  17. #define KEYMAP_DVP_H
  18. #include "keymap.h"
  19. // Normal characters
  20. #define DP_DLR KC_GRV
  21. #define DP_AMPR KC_1
  22. #define DP_LBRC KC_2
  23. #define DP_LCBR KC_3
  24. #define DP_RCBR KC_4
  25. #define DP_LPRN KC_5
  26. #define DP_EQL KC_6
  27. #define DP_ASTR KC_7
  28. #define DP_RPRN KC_8
  29. #define DP_PLUS KC_9
  30. #define DP_RBRC KC_0
  31. #define DP_EXLM KC_MINS
  32. #define DP_HASH KC_EQL
  33. #define DP_SCLN KC_Q
  34. #define DP_COMM KC_W
  35. #define DP_DOT KC_E
  36. #define DP_P KC_R
  37. #define DP_Y KC_T
  38. #define DP_F KC_Y
  39. #define DP_G KC_U
  40. #define DP_C KC_I
  41. #define DP_R KC_O
  42. #define DP_L KC_P
  43. #define DP_SLSH KC_LBRC
  44. #define DP_AT KC_RBRC
  45. #define DP_BSLS KC_BSLS
  46. #define DP_A KC_A
  47. #define DP_O KC_S
  48. #define DP_E KC_D
  49. #define DP_U KC_F
  50. #define DP_I KC_G
  51. #define DP_D KC_H
  52. #define DP_H KC_J
  53. #define DP_T KC_K
  54. #define DP_N KC_L
  55. #define DP_S KC_SCLN
  56. #define DP_MINS KC_QUOT
  57. #define DP_QUOT KC_Z
  58. #define DP_Q KC_X
  59. #define DP_J KC_C
  60. #define DP_K KC_V
  61. #define DP_X KC_B
  62. #define DP_B KC_N
  63. #define DP_M KC_M
  64. #define DP_W KC_COMM
  65. #define DP_V KC_DOT
  66. #define DP_Z KC_SLSH
  67. // Shifted characters
  68. #define DP_TILD LSFT(DP_DLR)
  69. #define DP_PERC LSFT(DP_AMPR)
  70. #define DP_7 LSFT(DP_LBRC)
  71. #define DP_5 LSFT(DP_LCBR)
  72. #define DP_3 LSFT(DP_RCBR)
  73. #define DP_1 LSFT(DP_LPRN)
  74. #define DP_9 LSFT(DP_EQL)
  75. #define DP_0 LSFT(DP_ASTR)
  76. #define DP_2 LSFT(DP_RPRN)
  77. #define DP_4 LSFT(DP_PLUS)
  78. #define DP_6 LSFT(DP_RBRC)
  79. #define DP_8 LSFT(DP_EXLM)
  80. #define DP_GRV LSFT(DP_HASH)
  81. #define DP_COLN LSFT(DP_SCLN)
  82. #define DP_LABK LSFT(DP_COMM)
  83. #define DP_RABK LSFT(DP_DOT)
  84. #define DP_QUES LSFT(DP_SLSH)
  85. #define DP_CIRC LSFT(DP_AT)
  86. #define DP_PIPE LSFT(DP_BSLS)
  87. #define DP_UNDS LSFT(DP_MINS)
  88. #define DP_DQUO LSFT(DP_QUOT)
  89. #endif