config.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2015 Jack Humbert
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  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. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #pragma once
  16. #include "config_common.h"
  17. /* Use I2C or Serial, not both */
  18. #define USE_I2C
  19. #define SCL_CLOCK 400000UL
  20. // #define USE_SERIAL
  21. /* serial.c configuration for split keyboard */
  22. // #define SOFT_SERIAL_PIN D0
  23. /* Select hand configuration */
  24. #define MASTER_LEFT
  25. // #define MASTER_RIGHT
  26. // #define EE_HANDS
  27. //#define DEBUG_MATRIX_SCAN_RATE //Use this to determine scan-rate.
  28. #define FORCE_NKRO
  29. #define QMK_KEYS_PER_SCAN 4 //if we press four keys simultaneously, lets process them simultaneously...
  30. #define DIODE_DIRECTION COL2ROW
  31. #ifdef AUDIO_ENABLE
  32. #define C6_AUDIO
  33. #define STARTUP_SONG SONG(STARTUP_SOUND)
  34. #define NO_MUSIC_MODE
  35. #define TONE_QWERTY SONG(Q__NOTE(_E4));
  36. #define TONE_NUMPAD SONG(Q__NOTE(_D4));
  37. #endif