config.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* Copyright 2021 jurassic73
  2. This program is free software: you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation, either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. */
  13. #pragma once
  14. /* this will be tied to high (VCC with a 2k to 10k resistor) on the left keyboard half and tied to low (GND using a wire jumper only) on the right keyboard half. This allows a user to plug in a USB cable to either side and function correctly with or without a TRS/TRRS cable with a single hex file. */
  15. #define SPLIT_HAND_PIN D1
  16. /*
  17. * Feature disable options
  18. * These options are also useful to firmware size reduction.
  19. */
  20. /* disable debug print */
  21. //#define NO_DEBUG
  22. /* disable print */
  23. //#define NO_PRINT
  24. /* disable action features */
  25. //#define NO_ACTION_LAYER
  26. //#define NO_ACTION_TAPPING
  27. //#define NO_ACTION_ONESHOT