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.

55 lines
1.9 KiB

  1. /* Copyright 2021 Alexis Jeandeau
  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 "config_common.h"
  18. /* USB Device descriptor parameter */
  19. #define PRODUCT Splitography
  20. /* Key matrix size */
  21. #define MATRIX_ROWS 4
  22. #define MATRIX_COLS 12
  23. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  24. #define DEBOUNCE 5
  25. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  26. #define LOCKING_SUPPORT_ENABLE
  27. /* Locking resynchronize hack */
  28. #define LOCKING_RESYNC_ENABLE
  29. /*
  30. * Force NKRO
  31. *
  32. * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
  33. * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
  34. * makefile for this to work.)
  35. *
  36. * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
  37. * until the next keyboard reset.
  38. *
  39. * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
  40. * fully operational during normal computer usage.
  41. *
  42. * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
  43. * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
  44. * bootmagic, NKRO mode will always be enabled until it is toggled again during a
  45. * power-up.
  46. *
  47. */
  48. //#define FORCE_NKRO