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.

77 lines
1.8 KiB

  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  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. #ifndef CONFIG_USER_H
  15. #define CONFIG_USER_H
  16. #include "config_common.h"
  17. /* key matrix size */
  18. #define MATRIX_ROWS 4
  19. #define MATRIX_COLS 12
  20. /* Planck PCB default pin-out */
  21. #ifndef LIGHT_CONFIG_H
  22. #define MATRIX_ROW_PINS { D0, D5, B5, B6 }
  23. #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 }
  24. #define UNUSED_PINS
  25. #endif
  26. /* enable basic MIDI features:
  27. - MIDI notes can be sent when in Music mode is on
  28. */
  29. #define MIDI_BASIC
  30. /* enable advanced MIDI features:
  31. - MIDI notes can be added to the keymap
  32. - Octave shift and transpose
  33. - Virtual sustain, portamento, and modulation wheel
  34. - etc.
  35. */
  36. //#define MIDI_ADVANCED
  37. /*
  38. * Feature disable options
  39. * These options are also useful to firmware size reduction.
  40. */
  41. /* disable debug print */
  42. #ifndef NO_DEBUG
  43. # define NO_DEBUG
  44. #endif
  45. /* disable print */
  46. // #ifndef NO_PRINT
  47. // # define NO_PRINT
  48. // #endif
  49. /* Only print user print statements */
  50. #define USER_PRINT
  51. #ifndef LIGHT_CONFIG_H
  52. #define BACKLIGHT_BREATHING
  53. #endif
  54. /* disable action features */
  55. //#define NO_ACTION_LAYER
  56. //#define NO_ACTION_TAPPING
  57. //#define NO_ACTION_ONESHOT
  58. //#define NO_ACTION_MACRO
  59. //#define NO_ACTION_FUNCTION
  60. #endif