rev1.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* Copyright 2020 cmdremily
  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 POWER_LED_PIN F1
  19. #define RGB_DISABLE_N_PIN D2
  20. #define RGB_IRQ_N_PIN D3
  21. // If you want something similar to what Taran from LMG does in https://github.com/TaranVH/2nd-keyboard
  22. // you can create a "wrapper key" by uncommenting the row below and chosing your wrapper keycode.
  23. // You can then change the keymap in ../keymaps/default/keymap.c to adjust what key is sent inside the
  24. // wrapper.
  25. // Note: The default is to not wrap and to send F13-F24 with combinations of shift/control/alt as these
  26. // are immediately usable in most software (e.g. OBS and DCSB for streaming) without using AHK.
  27. //#define KC_WRAPPER_KEY KC_F24
  28. // clang-format off
  29. #define LAYOUT_ortho_4x8( \
  30. Q00, Q01, Q02, Q03, Q04, Q05, Q06, Q07, \
  31. Q10, Q11, Q12, Q13, Q14, Q15, Q16, Q17, \
  32. Q20, Q21, Q22, Q23, Q24, Q25, Q26, Q27, \
  33. Q30, Q31, Q32, Q33, Q34, Q35, Q36, Q37 \
  34. ) { \
  35. {Q00, Q01, Q02, Q03, Q04, Q05, Q06, Q07}, \
  36. {Q10, Q11, Q12, Q13, Q14, Q15, Q16, Q17}, \
  37. {Q20, Q21, Q22, Q23, Q24, Q25, Q26, Q27}, \
  38. {Q30, Q31, Q32, Q33, Q34, Q35, Q36, Q37} \
  39. }
  40. // clang-format on