logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (1424B)


  1. /*
  2. Copyright (c) 2022 David Kuehling <dvdkhlng TA posteo TOD de>
  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. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #pragma once
  15. /* Matrix size */
  16. #define MATRIX_ROWS 7
  17. #define MATRIX_COLS 19
  18. /* Pin-out */
  19. #define MATRIX_ROW_PINS { D1, D0, D4, C6, D7, E6, B4 }
  20. /* The pin connecting to the SN74HC165 SH/~LD in */
  21. #define ROW_SHIFT_PIN B6
  22. /* Column read via SPI (shift register) */
  23. /* #define MATRIX_COL_PINS { } */
  24. #define LED_FUN_LOCK_PIN F6 /* A1 (handled in layer_state_set_user()) */
  25. /* audio config */
  26. #define AUDIO_PIN B5
  27. #define AUDIO_CLICKY
  28. #define AUDIO_INIT_DELAY
  29. #define AUDIO_CLICKY_FREQ_RANDOMNESS 0.0f
  30. #define NO_MUSIC_MODE
  31. /* diodes go row->col, though this is hard-coded in matrix.c and we drive the
  32. * matrix differently: we have pull-down on the columns and drive the selected
  33. * row high */
  34. /* #define DIODE_DIRECTION ROW2COL */