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.

70 lines
3.2 KiB

[Keyboard] Add Beatervan keyboard (#10939) * Added Beatervan Keyboard * added files for beatervan * Update keyboards/beatervan/beatervan.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/default/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/beatervan.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/info.json Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/default/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/oj/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/config.h Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/default/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/default/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/default/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/default/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/rules.mk Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/oj/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/oj/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/oj/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Update keyboards/beatervan/keymaps/oj/keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com> * Delete config.h * Delete config.h * Update keymap.c * Update beatervan.c * Update beatervan.h * Update config.h * Update keymap.c * Update keymap.c Co-authored-by: ridingqwerty <george.g.koenig@gmail.com>
3 years ago
  1. /* Copyright 2020 OJtheTiny
  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 "quantum.h"
  18. #define LAYOUT( \
  19. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
  20. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  21. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
  22. K30, K31, K32, K34, K36, K37, K38, K39 \
  23. ) \
  24. { \
  25. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
  26. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
  27. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
  28. { K30, K31, K32, KC_NO, K34, KC_NO, K36, K37, K38, K39, KC_NO, KC_NO } \
  29. }
  30. #define LAYOUT_arrow( \
  31. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
  32. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  33. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
  34. K30, K31, K32, K33, K37, K38, K39, K3A, K3B \
  35. ) \
  36. { \
  37. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
  38. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
  39. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
  40. { K30, K31, K32, K33, KC_NO, KC_NO, KC_NO, K37, K38, K39, K3A, K3B } \
  41. }
  42. #define LAYOUT_command( \
  43. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
  44. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  45. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
  46. K30, K31, K32, K34, K33, K37, K38, K39, K3B \
  47. ) \
  48. { \
  49. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
  50. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
  51. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
  52. { K30, K31, K32, K33, K34, KC_NO, KC_NO, K37, K38, K39, KC_NO, K3B } \
  53. }
  54. #define LAYOUT_arrow_command( \
  55. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
  56. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  57. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
  58. K30, K31, K32, K34, K33, K37, K38, K39, K3A, K3B \
  59. ) \
  60. { \
  61. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
  62. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
  63. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
  64. { K30, K31, K32, K33, K34, KC_NO, KC_NO, K37, K38, K39, K3A, K3B } \
  65. }